
|
If you were logged in you would be able to see more operations.
|
|
|
net/http for some widely deployed versions of ruby has a bug where a connection refused situation causes it to call #closed? on nil, which does not define that method. The result is the end user gets NoMethodError on nil, when they should get Errno::ECONNREFUSED. Chef::Rest should paper over this bug.
|
|
Description
|
net/http for some widely deployed versions of ruby has a bug where a connection refused situation causes it to call #closed? on nil, which does not define that method. The result is the end user gets NoMethodError on nil, when they should get Errno::ECONNREFUSED. Chef::Rest should paper over this bug. |
Show » |
Sort Order:
|
Fixed. In the case that Chef::REST is trying to contact a server that is down or doesn't exist, the debug output is like this:
So, the "correct" Errno::ECONNREFUSED is raised, but the original error is disclosed via debug.