Feature #15628
closed
Updated by sonalkr132 (Aditya Prakash) over 6 years ago
Related: rubygems/rubygems#2662
Updated by sonalkr132 (Aditya Prakash) over 6 years ago
Net:HTTP with timeout (Net::OpenTimeout) after after 60 seconds
I meant "Net:HTTP will timeout (Net::OpenTimeout) after 60 seconds".
Any suggestion on fixing this would very helpful . So far I have tried using
Socket.tcp(addr.ip_address, serv).close
to preemptively check if resolved addresses are reachable. It works but it is very inefficient.
Besides the brute steps explained above, in the wild, this only affects host which have an IPv6 address but their IPv6 route to our CDN is broken. Personal home networks which generally have only IPv4 connectivity seamlessly use the IPv4 address to start the connection (without the need for a fallback).
Updated by deivid (David Rodríguez) almost 5 years ago
Hi!
Any feedback about this? We're considering implementing "Happy Eyeballs" in rubygems by monkeying TCPSocket.new
, in order to fix longstanding issues with gem install
timing out on ipv6-capable clients. But it would feel much better if this was built in.
Updated by Glass_saga (Masaki Matsushita) over 4 years ago
- Status changed from Open to Assigned
- Assignee set to Glass_saga (Masaki Matsushita)
Updated by Glass_saga (Masaki Matsushita) over 4 years ago
- Related to : Implement Happy Eyeballs Version 2 (RFC8305) in Socket.tcp added
Updated by hsbt (Hiroshi SHIBATA) about 1 year ago
- Related to : Introduction of Happy Eyeballs Version 2 (RFC8305) in Socket.tcp added
Updated by hsbt (Hiroshi SHIBATA) about 1 year ago
- Status changed from Assigned to Closed
Closing in favor of https://bugs.ruby-lang.org/issues/20108