REST request fails with "The server encountered a temporary error and could not complete your request. Please try again in 30 seconds" #141
Labels
lifecycle/rotten
Denotes an issue or PR that has aged beyond stale and will be auto-closed.
I am deploying application at google kubernetes engine. Applicaion has 2 services. There is also
Ingress
wich i am trying to use to expose one service andingress
also used for https support. I have 1NodePort
service "gateway" andClusterIp
service "internal". "Internal" should be accessed from gateway. Here is services config:Gateway serve static content and REST resources. Static content is served ok, so i see html and images and scripts. But when i try to call REST endpoint i got 502 error with text:
The server encountered a temporary error and could not complete your request. Please try again in 30 seconds.
Gateway forward REST request to "internal" service and return response from internal. Gateway access internal service with urlhttp://internal:8082/some/rest
. I got errors when i call any request wich should be forwarded to "internal".Actualy i have same scheme without
Ingress
and it works. "Gateway" isLoadBalancer
service and "internal" isNodePort
. I needIngress
for https.What i have tried(without success):
I noticed i don't have any forwading rules related to
8082
port, only80
and443
( i have usedgcloud compute forwarding-rules list
andgcloud compute forwarding-rules describe
commands). I have added them with console cloud:I have also found information about health check - so i have added "/" endpoints in each service with 200 response.
Here is output of
kubectl describe svc
The text was updated successfully, but these errors were encountered: