You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am stuck on a problem which occured recently.
For over a year the following snippet is working like expected: return HTTParty.get("https://myip.ms/files/blacklist/htaccess/latest_blacklist.txt", format: :plain, headers: {"Accept" => "application/text" })
But recently it stops working, and now I getting a timeout exception.
The URL is reachable (you can test with your browser), and also curl from CLI is working like it should.
So I don't know if I am missing something else?
Thank you for your help.
The text was updated successfully, but these errors were encountered:
Are you using a Rails App or just plain Ruby? Having the same issue in an Rails App on Mac OS. But I don't know how to add "require resolv-replace" and where.
Why isn't there any options to connect ipv4 only in HTTParty? Sometimes you haven't control over your local network (which could be a bad configured dual stack or even a shitty dual stack lite) or the remote webserver (also not under your control and from a stupid government) is not answering correctly on IPv6. Just let use force HTTParty to connect to IPv4 only.
Hello all,
I am stuck on a problem which occured recently.
For over a year the following snippet is working like expected:
return HTTParty.get("https://myip.ms/files/blacklist/htaccess/latest_blacklist.txt", format: :plain, headers: {"Accept" => "application/text" })
But recently it stops working, and now I getting a timeout exception.
The URL is reachable (you can test with your browser), and also curl from CLI is working like it should.
So I don't know if I am missing something else?
Thank you for your help.
The text was updated successfully, but these errors were encountered: