Google cloud platform GKE上的Kubernetes入口导致http/SSL上的502响应\u错误\u https系统调用
我已经在minikube上测试了我的配置,它工作得很好,但是在GKE上我遇到了一个错误,HTTP用502响应,而HTTPS终止了连接 我不知道如何诊断此问题,我可以查看哪些日志 以下是通过https访问时的详细日志://Google cloud platform GKE上的Kubernetes入口导致http/SSL上的502响应\u错误\u https系统调用,google-cloud-platform,google-kubernetes-engine,Google Cloud Platform,Google Kubernetes Engine,我已经在minikube上测试了我的配置,它工作得很好,但是在GKE上我遇到了一个错误,HTTP用502响应,而HTTPS终止了连接 我不知道如何诊断此问题,我可以查看哪些日志 以下是通过https访问时的详细日志:// * Expire in 0 ms for 1 (transfer 0x1deb470) * Expire in 0 ms for 1 (transfer 0x1deb470) * Expire in 0 ms for 1 (transfer 0x1deb470) * Try
* Expire in 0 ms for 1 (transfer 0x1deb470)
* Expire in 0 ms for 1 (transfer 0x1deb470)
* Expire in 0 ms for 1 (transfer 0x1deb470)
* Trying 35.244.154.110...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x1deb470)
* Connected to chrischrisexample.de (35.244.154.110) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* TLSv1.2 (OUT), TLS header, Certificate Status (22):
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to chrischrisexample.de:443
* Closing connection 0
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to chrischrisexample.de:443
为了解决这个问题,我必须:
- 在运行状况检查中使用HTTP
(来自Google负载平衡器!)200
- 在入口中设置SSL证书机密(即使是自签名的)
这些错误显示在
kubectl description ingress
上。。。仍然无法解释为什么SSL握手/连接会出错。要解决这个问题,我必须:
- 在运行状况检查中使用HTTP
(来自Google负载平衡器!)200
- 在入口中设置SSL证书机密(即使是自签名的)
这些错误显示在
kubectl description ingress
上。。。仍然无法解释为什么SSL握手/连接会出错。请将此作为编辑添加到原始帖子中,而不是作为asnwerIt发布。这是一个答案吗,我还没有看到这是一个为什么会导致SSL错误的回答问题。请您将此作为编辑添加到原始帖子中,而不是将其作为asnwerIt发布。不过,这是一个答案?好的,我还没有看到这是一个为什么会导致SSL错误的回答问题。
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning Sync 14m (x20 over 157m) loadbalancer-controller Could not find TLS certificates. Continuing setup for the load balancer to serve HTTP. Note: this behavior is deprecated and will be removed in a future version of ingress-gce
Warning Translate 3m56s (x18 over 9m24s) loadbalancer-controller error while evaluating the ingress spec: could not find port "80" in service "default/app"; could not find port "80" in service "default/app"; could not find port "80" in service "default/app"; could not find port "80" in service "default/app"