Closed karlwilbur closed 10 years ago
I'm having trouble running this from scratch now. I think I may have broken something ...or "unstable" is living up to its name.
I keep getting:
E, [2014-03-17T06:57:44.495270 #27754] ERROR -- : NoMethodError: undefined method `split' for nil:NilClass
/opt/prax/lib/prax/request.rb:74:in `host'
/opt/prax/lib/prax/handler.rb:51:in `app_name'
/opt/prax/lib/prax/handler.rb:17:in `handle'
/opt/prax/lib/prax.rb:19:in `perform'
/opt/prax/lib/prax/microworker.rb:84:in `block in work'
/opt/prax/lib/prax/microworker.rb:77:in `each'
/opt/prax/lib/prax/microworker.rb:77:in `work'
/opt/prax/lib/prax/microworker.rb:63:in `block in spawn'
I, [2014-03-17T06:57:44.495479 #27754] INFO -- : Respawning failed worker
Adding some debugging confirms that the output from header('Host')
is in fact nil
.
Switching back to master from unstable works. This might be an issue with my app but running rails s
from the app root works as well as running prax start
while having the master branch checked out.
Either way, the SSL keys generated by the unstable install script work in master ...as long as you add an exception for the cert.
Thank you very much for the PR! I'll try and debug that; maybe SSL is broken in unstable.
Pulled in README and SSL changes from master. Added SSL file generation to install. Fixes #83