-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
I/O timeout when connecting to server that is not up #1766
Comments
Agreed, but there's no central place to configure that timeout... |
Actually the default transport can do this for us. Just not sure it's the right place. |
@juanvallejo can you close this against something you've done recently? |
Would @smarterclayton A related PR for this would be #12571, however it only ensures that Also, I am not able to replicate an
EDIT: added time |
Usually it's from a blackhole'd IP (where a firewall is dropping connection
requests to unexposed ports on old IPs). I believe there are good examples
out there of replicating this
…On Mon, Jan 23, 2017 at 10:16 AM, Juan Vallejo ***@***.***> wrote:
@sosiouxme <https://github.com/sosiouxme>
Agreed, but there's no central place to configure that timeout...
Would --request-timeout work in this case?
@smarterclayton <https://github.com/smarterclayton> A related PR for this
would be #12571 <#12571>, however
it only ensures that oc project <context_for_server_that_is_down> does
not hang / fail, provided that the context name is valid.
Also, I am not able to replicate an I/O timeout that lasts for 30s, using
latest master, all of my requests fail almost immediately if the current
server is down:
$ kill <server_pid>
$ oc login ...
error: dial tcp 10.13.137.149:8443: getsockopt: connection refused
$ oc whoami
The connection to the server 10.13.137.149:8443 was refused - did you specify the right host or port?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1766 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABG_p1GWsMX22vsd0tmcvF_0HhapRpI_ks5rVMRWgaJpZM4EB5av>
.
|
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
Rotten issues close after 30d of inactivity. Reopen the issue by commenting /close |
Should probably not try to connect for as long as it does (30s?). TCP connection establishment should be shorter in most cases.
The text was updated successfully, but these errors were encountered: