ryanb / private_pub

Handle pub/sub messaging through private channels in Rails using Faye.
MIT License
863 stars 226 forks source link

Publishing failing only in production #66

Closed lukelex closed 11 years ago

lukelex commented 11 years ago

I'm having this issue in production while in development everything goes well. I've defined my RAILS_ENV to production and still the publishing does not work.

ActionView::Template::Error (getaddrinfo: Name or service not known):
    1: <% publish_to session_chat_path(@chat) do %>
    2:   newChatLine('<%= @text %>');
    3: <% end %>
  app/views/chat_session/chat.js.erb:1:in `_app_views_chat_session_chat_js_erb___205641738_80963220'

Any clues?

lukelex commented 11 years ago

Nevermind, after head banging a little I found out that my private_pub.yml was pointing to the wrong domain.