Ruby on Rails chat Application not working on Openshift - Private_pub

57 Views Asked by At

I'm working on an application in which chat is a module too . I'm using private_pub gem for handshake of connections - all things are working fine on production except chat . while on localhost , everything including chat is also fine . My application is deployed on openshift .My private_pub configuration is like below

development:
  server: "http://localhost:9292/faye"
  secret_token: "secret"
test:
  server: "http://localhost:9292/faye"
  secret_token: "secret"
production:
  server: "wss://mydomain.com:8443/faye"
  secret_token:"sdfsdf"
  signature_expiration: 3600 # one hour

no faye / private_pub error is appearing - The only error that appears on openshift is

We're sorry, but something went wrong (500)

0

There are 0 best solutions below