DeployGate / deploygate-cli

A command-line interface for DeployGate
https://deploygate.com
Other
42 stars 9 forks source link

dg fails with execution expired (Net::OpenTimeout) #284

Closed tnj closed 4 years ago

tnj commented 4 years ago

https://deploygatecom.slack.com/archives/C41R0SSTA/p1601336983000100

Failed to access to rubygems with execution expired (Net::OpenTimeout) error

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")'