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):
It works perfect when I make call from an application running on HTTP.
© Stack Overflow or respective owner