Rails: Open HTTP URL From HTTPS site
- by Imran
I have a rails application running on SSL. I also have setup Piwik (for analytics) and it is running non-secure i.e. HTTP. When I try to make a call to Piwik API from my ruby code (the application running on SSL) it gives me the following error:
SocketError (getaddrinfo: Name or service not known):
/usr/lib/ruby/1.8/net/http.rb:560:in…