-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Bad response from server: 500" on restart during Capistrano puma:restart #246
Comments
Im also seeing this! |
@lephyrius thanks for the feedback, and for reminding me to add Ruby and server info :) |
Same error experienced with the same setup described by @amencarini |
Same error here. It doesn"t always happen, though. Maybe 50% of the time. The server does not correctly restart after throwing that error, I have to manually start puma again. |
Are you always seeing it from pumactl? |
For me it is only from restart and stop not stats that gives bad response. |
@evanphx Capistrano executes this:
From what I can see, when I use this to restart, |
I get the same thing. Capistrano 2.15, ruby 1.9.3-p392, puma 2.0.1, rails 3.2.13. |
Same here. Capistrano 2.15.4. Rub 2.0.0dev. Puma 2.0.1. Rails 3.2.13. |
Same problem with the following setup: capistrano 2.15.4 |
I found the backtrace the server shows when this 500 happens for me. Need to do some more investigating to wrap my head around what happens in that file.
|
I've noticed two different behaviours on two different servers: on the faster server we get the 500 error 50% of the times, on the slower server we get it every time. |
Im getting the same issue - Using Ubuntu 12.10, Ruby 2.0.0, Rails 4.0.0.rc1, Puma at master and Capistrano 2.15.4 |
Has anyone found an easy workaround to this problem yet? For now I have to remove the tmp files for puma & kill the process itself after doing a |
I'm also seeing this on Ruby 1.9.3 ruby -v rails -v /srv/blog/current$ RAILS_ENV=production bundle exec puma -e production -d -b unix:///tmp/blog.sock -S /tmp/blog.state --control 'unix:///tmp/blog_pumactl.sock' Puma 2.0.1 starting...
/srv/blog/current$ bundle exec pumactl -S /tmp/blog.state restart /srv/blog/current$ bundle exec pumactl -S /tmp/blog.state stop I'm using rvm so when I try without "bundle exec" I also get same response. I haven't used it with Capistrano yet so it's likely nothing to do with Capistrano. Really hoping this bug gets squashed soon I'm turning into a real puma fan. |
I got same error message! |
Same error message and machine setup as @oolyme . |
I too am getting this issue, also with the same setup as @tomasmuller and @oolyme. However, I am using capistrano. |
Oh, forgot to mention that. I'm also using Capistrano. |
ruby 2.0 rails Rails 3.2.13 , same messages |
ruby 2.0.0-p195, padrino and Ubuntu 12.04 , same error, |
Ruby 2.0.0-p195, Rails 4.0.0.rc1 with Rails-API, and Ubuntu 13.04. Same issue. |
Same issue on Ruby 2.0.0-p0, Rails 4.0.0.rc1 Ubuntu 13.04 on EC3 Small. |
Trying to deploy a Sinatra app, I believe I'm getting a similar error. Ruby 1.9.3p429 Sinatra 1.4.2 Puma 2.0.1 |
I still get this error with the latest version of puma (2.5.0), which contains both of the patches mentioned here. puma:restart still can't find the .sock. I'm using bog standard with no config file by requiring 'puma/capistrano' in my deploy.rb. puma 2.5.0, capistrano 2.15.5, rails 3.2.14 |
I'm also getting this error with puma 2.5.1, capistrano 2.15.5, rails 4.0.0 I'm not using a config file, just requiring 'puma/capistrano' in deploy.rb Sometimes it works sometimes it doesn't. |
+1 still getting the same issue with puma 2.5.1, capistrano 2.15.5, rails 4.0.0, ruby 2.0 It works about 20% on linode 1GB plan, 80% 500 error. I can't even stop the server after freezing, so I should use "kill -9" to force kill everything and start puma again. |
I'm having the same problem as well! |
I'm on puma 2.0.1 behind nginx, with Rails 3.2.12, Ruby 2.0.0, server is Ubuntu Precise
Each time I try to deploy my app via Capistrano, at the
deploy:restart
hook, or when I try a restart throughcap puma:restart
I constantly get this:The puma server gets restarted correctly but the Capistrano deployment process gets interrupted.
This also happens when I try to stop it:
The text was updated successfully, but these errors were encountered: