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
To me, it looks like a change to Net::HTTP or `` after Ruby 2.3.0 where the config hash is getting passed to something that expects a String for logging. If anyone has any tips on how to narrow this down I'd appreciate it!
The text was updated successfully, but these errors were encountered:
I should have mentioned, the reason this returns a 405 response is because of these lines in Webrick https://github.com/ruby/ruby/blob/trunk/lib/webrick/httpproxy.rb#L117-L125 It catches NoMethodError to handle metaprogramming for do_HTTPMETHODNAME however the NoMethodError here is coming from somewhere in the call chain below do_HEAD
I tried setting this up with Ruby 2.5.1 and all of my requests were being rejected with 405 errors. For example:
When I downgraded to 2.4 the issue was still present, but downgrading to Ruby 2.3 seems to have fixed it:
My server proxy code is as per the example:
I haven't had much time to dig into this but I managed to narrow it down to the following error:
To me, it looks like a change to
Net::HTTP
or `` after Ruby 2.3.0 where the config hash is getting passed to something that expects a String for logging. If anyone has any tips on how to narrow this down I'd appreciate it!The text was updated successfully, but these errors were encountered: