Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Patron::HostResolutionError: Couldn't resolve host (with last ruby on rails version) #66

Closed
linuxonrails opened this Issue Feb 14, 2013 · 2 comments

Comments

Projects
None yet
2 participants

It's very strange! It works with Rails 3.2.11 but not with 3.2.12:

# Loading development environment (Rails 3.2.12)
sess = Patron::Session.new
sess.base_url = "http://barrapunto.com"
sess.get("/login.pl")
Patron::HostResolutionError: Couldn't resolve host 'barrapunto.com'
# Loading development environment (Rails 3.2.11)
sess = Patron::Session.new
sess.base_url = "http://barrapunto.com"
sess.get("/login.pl")
 => #<Patron::Response @status_line='HTTP/1.1 200 OK'> 
Collaborator

julik commented Apr 14, 2016

Is this still relevant @linuxonrails ? If it is I might need a sample app setup from you and the exact Ruby version/OS involved to reproduce.

Collaborator

julik commented Apr 30, 2016

@linuxonrails I will close the issue, please reopen when you have the versions needed to reproduce.

@julik julik closed this Apr 30, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment