Open aabse opened 8 years ago
hey man
Do you have solved your problem?
I using the this gem
on the local model worked fine
but on the vps server when I start the private_pub by rackup private_pub.rb -E production -s thin
the nginx report wrong (111: Connection refused) while connecting to upstream
but after stop the thin server ,it worked no problem
Hi. I can't work with the gem in production mode. In local mode it works fine. In the page, when i try to put a message in the chat, nothing happens.
I'm using nginx, passenger, thin.
Below it includes information that can be useful for support:
My private_pub.yml:
In the nginx config I added a proxy:
Information about errors (when I try to put a message in the chat):
In the browser console:
In the file production.log:
app/controllers/messages_controller.rb:18 :
PrivatePub.publish_to("/messages/new/#{params[:message][:query]}", message: @message, lecture: @lecture)