You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.
Information about errors (when I try to put a message in the chat):
In the browser console:
Failed to load resource the server responded with a status of 500 (Internal Server Error).
In the file production.log:
Started POST "/messages" for 201.220.243.237 at 2015-11-03 18:57:02 -0300
Processing by MessagesController#create as JS
Parameters: {"utf8"=>"✓", "authenticity_token"=>"rEH4anhuP4jYUphNo458aKNIi77nDABavy/JgW7tSGQ=", "message"=>{"query"=>"1", "body"=>"asd"}, "commit"=>"Enviar"}
Completed 500 Internal Server Error in 109ms
EOFError (end of file reached):
app/controllers/messages_controller.rb:18:in `create'
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
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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)
The text was updated successfully, but these errors were encountered: