SCGI + Lighttpd + SSL crashes - fine without SSL


#1

[ERR][17968] Handling client: can’t convert nil into
String
Hi,

We decided to go with SCGI + Lighttpd for Rails at our
company and had no problems with the initial setup.
Everything ran fine and was fast. However, problems
occurred when we tried to rebuild Lighty with SSL
capabilities. With this build, even with SSL off in
the config file the application fails on the first
request. We are using Lighttpd 1.4.11, scgi 0.4.3.
The error we get is the following, any ideas:

[ERR][17968]
/usr/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/lib/scgi.rb:244:in
<<' /usr/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/lib/scgi.rb:244:inhandle_client’
/usr/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/lib/scgi.rb:234:in
handle_client' /usr/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/lib/scgi.rb:188:inlisten’
/usr/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/lib/scgi.rb:186:in
listen' /usr/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/lib/scgi.rb:412:inrun’
/usr/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/bin/scgi_service:61

From a previous post, scgi is supposed to be getting
an invalid request when this occurs, but why would
this happen? Anyone else have this problem?
Thanks very much ahead of time.