dg fails with execution expired (Net::OpenTimeout)
tnj opened this issue · 0 comments
tnj commented
https://deploygatecom.slack.com/archives/C41R0SSTA/p1601336983000100
Failed to access to rubygems with execution expired (Net::OpenTimeout)
error
- not sure the exact cause, IPv6 DNS fallback issue perhaps
- only Ruby failed; can access with curl or Chrome
Requiring resolv-replace
solved the issue.
NG:
ruby -rnet/http -ruri -e 'Net::HTTP.get_print URI.parse("https://rubygems.org/api/v1/versions/deploygate/latest.json")'
OK:
ruby -rresolv-replace -rnet/http -ruri -e 'Net::HTTP.get_print URI.parse("https://rubygems.org/api/v1/versions/deploygate/latest.json")'