I have a strange mistake in heroics. To play it, I have to make a large (more than a few kilobytes) POST HTTPS with any UTF-8 characters in the request body. Here is an example:
require "net/https" require "uri"
Running such a script on the local irb machine gives me:
#<Net::HTTPUnauthorized 401 Unauthorized readbody=true>
... which is expected, but for the cedar hero, launching it on the "console hero" ... in about 60 seconds I get:
EOFError: end of file reached from /usr/local/lib/ruby/1.9.1/openssl/buffering.rb:145:in `sysread_nonblock' from /usr/local/lib/ruby/1.9.1/openssl/buffering.rb:145:in `read_nonblock' from /usr/local/lib/ruby/1.9.1/net/protocol.rb:135:in `rbuf_fill' from /usr/local/lib/ruby/1.9.1/net/protocol.rb:116:in `readuntil' from /usr/local/lib/ruby/1.9.1/net/protocol.rb:126:in `readline' from /usr/local/lib/ruby/1.9.1/net/http.rb:2219:in `read_status_line' from /usr/local/lib/ruby/1.9.1/net/http.rb:2208:in `read_new' from /usr/local/lib/ruby/1.9.1/net/http.rb:1191:in `transport_request' from /usr/local/lib/ruby/1.9.1/net/http.rb:1177:in `request' from (irb):32:in `block in irb_binding' from /usr/local/lib/ruby/1.9.1/net/http.rb:627:in `start' from (irb):32 from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.7/lib/rails/commands/console.rb:47:in `start' from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.7/lib/rails/commands/console.rb:8:in `start' from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.7/lib/rails/commands.rb:41:in `<top (required)>'
What should I do with this?
Dmitriy Budnik
source share