Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Client(Chrome)->Load Balancer(F5)->Kubernetes 1.5-Kong Gateway(Upstream Targets)->Biz(HttpREST) ??? #3287

Closed
taotao2014 opened this issue Mar 12, 2018 · 2 comments

Comments

@taotao2014
Copy link

taotao2014 commented Mar 12, 2018

BUG: Client->Load Balancer(F5)->Kubernetes 1.5-Kong Gateway(Upstream Targets)->Biz(HttpREST) ???

Client error, request sometimes ok, sometimes bad
1.ERR_CONNECTION_RESET
2.ERR_CONNECTION_ABORTED
3.HTTP 504
4.HTTP 404

Clinet->Kong Gateway(Upstream Targets)->Biz(HttpREST),Do not pass F5 without any errors.

WHY??? help....

-Kubernetes: 1.5

  • Kong version :0.12.1
  • OS: Linux version 3.10.0-693.11.1.el7.x86_64 ([email protected]) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-16) (GCC) ) Finish Cassandra DAO #1 SMP Mon Dec 4 23:52:40 UTC 2017
  • Kong error logs :

error list:
2018/03/12 19:26:38 [error] 29#0: *14715969 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 10.129.5.51, server: kong, request: "GET /TenantBaseDimissionMRest/100000/User HTTP/1.1", upstream: "http://10.129.8.15:6046/TenantBaseDimissionMRest/100000/User", host: "cloud.abc.link", referrer: "http://cloud.abc.link/TenantBaseDimissionMRest/api-docs/index.html"
2018/03/12 19:26:38 [error] 29#0: *14715969 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 10.129.5.51, server: kong, request: "GET /TenantBaseDimissionMRest/100000/User HTTP/1.1", upstream: "http://10.129.8.15:6046/TenantBaseDimissionMRest/100000/User", host: "cloud.abc.link", referrer: "http://cloud.abc.link/TenantBaseDimissionMRest/api-docs/index.html"
2018/03/12 19:26:38 [error] 29#0: *14715969 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 10.129.5.51, server: kong, request: "GET /TenantBaseDimissionMRest/100000/User HTTP/1.1", upstream: "http://10.129.8.15:6046/TenantBaseDimissionMRest/100000/User", host: "cloud.abc.link", referrer: "http://cloud.abc.link/TenantBaseDimissionMRest/api-docs/index.html"
2018/03/12 19:26:38 [error] 29#0: *14715969 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 10.129.5.51, server: kong, request: "GET /TenantBaseDimissionMRest/100000/User HTTP/1.1", upstream: "http://10.129.8.15:6046/TenantBaseDimissionMRest/100000/User", host: "cloud.abc.link", referrer: "http://cloud.abc.link/TenantBaseDimissionMRest/api-docs/index.html"
2018/03/12 19:26:38 [error] 29#0: *14715969 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 10.129.5.51, server: kong, request: "GET /TenantBaseDimissionMRest/100000/User HTTP/1.1", upstream: "http://10.129.8.15:6046/TenantBaseDimissionMRest/100000/User", host: "cloud.abc.link", referrer: "http://cloud.abc.link/TenantBaseDimissionMRest/api-docs/index.html"

@taotao2014 taotao2014 changed the title BUG: Client(Chrome)->Load Balancer(F5)->Kong Gateway(Upstream Targets)->Biz(HttpREST) ??? BUG: Client(Chrome)->Load Balancer(F5)->Kubernetes 1.5-Kong Gateway(Upstream Targets)->Biz(HttpREST) ??? Mar 12, 2018
@pryorda
Copy link
Contributor

pryorda commented Aug 18, 2018

We had a similar issue and it seems we resolved it by removing that keepalive line from the nginx_kong.lua file.

@hbagdi
Copy link
Member

hbagdi commented Dec 21, 2022

Closing this due to lack of activity. Please re-open if needed.

@hbagdi hbagdi closed this as completed Dec 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants