title: private_pub gem rails and https error
body: <p>I've been using private_pub in production for over a year now and recently I've just moved the app from http to https. We have a signed cert already installed and everything else is working within the application but I'm getting the following error when I private_pub/thin submits anything to be pushed.</p>
  
  <pre><code>SocketError (getaddrinfo: Name or service not known)
  </code></pre>
  
  <p>I have been unable to find anything specifically with this error and private_pub/thin but other issues I've seen have been in relation to sunspot/solr pointing to <em>localhost</em> when it needs <em>127.0.0.1</em>. My private_pub configs are using the actual <a href="https://domain.com" rel="nofollow">https://domain.com</a>.</p>
  
  <p>My app is able to connect to faye.js but I'm getting the server error above.</p>
  
  <p>private_pub_thin.yml:</p>
  
  <pre><code>---
  port: 4443
  ssl: true
  ssl_key_file: /path/to/ssl.key
  ssl_cert_file: /path/to/ssl.cert
  environment: production
  rackup: private_pub.ru
  daemonize: true
  </code></pre>
  
  <p>private_pub.yml:</p>
  
  <pre><code>production:
  server: "https://sub.mydomain.com:4443/faye"
  secret_token: "&lt;token here&gt;"
  signature_expiration: 3600 # one hour
  </code></pre>
  
  <p>private_pub.ru:</p>
  
  <pre><code>require "bundler/setup"
  require "yaml"
  require "faye"
  require "private_pub"
  
  Faye::WebSocket.load_adapter('thin')
  
  PrivatePub.load_config(File.expand_path("../config/private_pub.yml", __FILE__), ENV["RAILS_ENV"] || "development")
  run PrivatePub.faye_app
  </code></pre>
  
  <p>Any thoughts would be appreciated. Thank you in advance</p>
  
  <p>--- edit ---</p>
  
  <p>I didn't mention this, but I do have the port 4443 opened up on the server's iptables and I even tried turning off iptables altogether for testing. Still got the same error</p>