我正在开发一个聊天也是一个模块的应用程序。我正在使用private_pub
gem 进行连接握手 - 除了 chat 之外,所有东西都在生产中正常工作。同时localhost
,包括聊天在内的一切都很好。我的应用程序部署在openshift上。我的 private_pub 配置如下
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
没有出现 faye / private_pub 错误 - openshift 上出现的唯一错误是
很抱歉,出了点问题 (500)