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

110: Connection timed out #2316

Closed
ghost opened this issue Apr 1, 2017 · 7 comments
Closed

110: Connection timed out #2316

ghost opened this issue Apr 1, 2017 · 7 comments

Comments

@ghost
Copy link

ghost commented Apr 1, 2017

Hello.
I got it from error.log.

upstream timed out (110: Connection timed out) while reading response header from upstream, client: xx.xx.xx.xx, server: kong, request: "GET /console/dashboard/real-time/connections-pool HTTP/1.1", upstream: "http://10.0.0.8:8944/console/dashboard/real-time/connections-pool", host: "xxx.xxx.xxx"

It happens randomly.

Please tell me what does it mean?

@Tieske
Copy link
Member

Tieske commented Apr 1, 2017

what does your api configuration look like?

@ghost
Copy link
Author

ghost commented Apr 1, 2017

2017-04-01 7 39 15

2017-04-01 7 41 18

These are from a dashboard written by myself.
And I use the ssl plugin.

@ghost
Copy link
Author

ghost commented Apr 1, 2017

When I send a request to kong 0.10.0, sometimes, viewing access.log, kong did not resend this request immediately until one minute later. this problem sometimes occurs and trouble me .
After this happen ,next call will be normal .
Does it because of the https connection?

I am a Chinese with poor English. 😄

@Tieske
Copy link
Member

Tieske commented Apr 3, 2017

Might be a dns issue.

See #2290
In that case there were 5 dns servers configured, and the last 2 were included but shouldn't have been. One of those returned errors.

Please ensure you have only valid working nameservers listed in your resolv.conf

@Tieske
Copy link
Member

Tieske commented Apr 28, 2017

@hongkang have you been able to resolve this?

@harryparmar
Copy link

harryparmar commented May 2, 2017

@hongkang @Tieske Try changing default 60k ms upstream_*_timeouts to bigger value on your endpoint.

upstream_read_timeout: 260000
upstream_send_timeout: 260000
upstream_connect_timeout: 260000

@p0pr0ck5
Copy link
Contributor

p0pr0ck5 commented May 5, 2017

Closing as a stale issue. Feel free to reopen if there are unanswered questions regarding this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants