You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Curl example of the request made by the frontend to the API
curl 'https://api.example.com/graphql/public/batch' -H 'accept: */*' -H 'Referer: https://www.example.com/' -H 'Origin: https://www.example.com' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36' -H 'Accept-Language: en' -H 'Authorization: ' -H 'content-type: application/json' --data-binary $'[{"example_json_data"}]' --compressed
Expected behavior
In any case that Skipper have a problem connecting with its backend, it should be reported as 499 instead of 500
Observed behavior
kube-system/skipper-ingress-z2plm[skipper-ingress]: [APP]time="2019-08-22T08:46:10Z" level=error msg="Unexpected error from Go stdlib net/http package during roundtrip: unexpected EOF"
kube-system/skipper-ingress-z2plm[skipper-ingress]: [APP]time="2019-08-22T08:46:10Z" level=error msg="error while proxying, route kube_frontend__api__api_example_com____website_api with backend , status code 500: dialing failed false: unexpected EOF"
Rate of the error
The rate of the error is super low, but it can be related with how the backend services behave, so if they are sturdy, we won't see much this error
From 170912 requests it happened only 80 times.
The text was updated successfully, but these errors were encountered:
499 status code should as far as I understand (nginx like), only be used if the client closed the connection (client->skipper), which seems not to be the case or do I miss understand the issue?
I also had an internal case with 500 EOFs for a low traffic service and I tested to have a skipper proxy sidecar for that service, and all these errors are gone since >4 weeks.
I guess it's the backend server handler which somehow creates these problems.
Describe the bug
There are some cases where Skipper reports a 500 error after reporting this error:
As I was hoping from this bug report, the backend connection error should be reported as 499
#863
refs:
To Reproduce
Skipper config (Used KOPS example):
Ingress definition (One of the ingresses but the issues happens in all of the ingresses configured in the cluster)
Curl example of the request made by the frontend to the API
Expected behavior
In any case that Skipper have a problem connecting with its backend, it should be reported as
499
instead of500
Observed behavior
Rate of the error
The rate of the error is super low, but it can be related with how the backend services behave, so if they are sturdy, we won't see much this error
From 170912 requests it happened only 80 times.
The text was updated successfully, but these errors were encountered: