-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
-
False
-
None
-
False
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
-
Sometimes I see this error:
ERROR:root:Errno: 1, stderr: { "code": "E_UNKNOWN", "message": "end of file reached", "class": "EOFError", "stacktrace": [ "/usr/share/ruby/net/protocol.rb:227:in `rbuf_fill'", "/usr/share/ruby/net/protocol.rb:193:in `readuntil'", "/usr/share/ruby/net/protocol.rb:203:in `readline'", "/usr/share/ruby/net/http/response.rb:42:in `read_status_line'", "/usr/share/ruby/net/http/response.rb:31:in `read_new'", "/usr/share/ruby/net/http.rb:1557:in `block in transport_request'", "/usr/share/ruby/net/http.rb:1548:in `catch'", "/usr/share/ruby/net/http.rb:1548:in `transport_request'", "/usr/share/ruby/net/http.rb:1521:in `request'", "/usr/share/ruby/net/http.rb:1535:in `send_entity'", "/usr/share/ruby/net/http.rb:1323:in `post'", "/opt/toolbox/vendor/bundle/ruby/3.0.0/gems/3scale-api-1.6.0/lib/3scale/api/http_client.rb:52:in `post'", "/opt/toolbox/vendor/bundle/ruby/3.0.0/gems/3scale-api-1.6.0/lib/3scale/api/client.rb:366:in `create_method'", "/opt/toolbox/lib/3scale_toolbox/remote_cache.rb:67:in `create_method'", "/opt/toolbox/lib/3scale_toolbox/entities/method.rb:10:in `create'", "/opt/toolbox/lib/3scale_toolbox/commands/import_command/openapi/create_method_step.rb:10:in `block in call'", "/opt/toolbox/lib/3scale_toolbox/commands/import_command/openapi/create_method_step.rb:9:in `each'", "/opt/toolbox/lib/3scale_toolbox/commands/import_command/openapi/create_method_step.rb:9:in `call'", "/opt/toolbox/lib/3scale_toolbox/commands/import_command/openapi/import_product_step.rb:21:in `each'", "/opt/toolbox/lib/3scale_toolbox/commands/import_command/openapi/import_product_step.rb:21:in `call'", "/opt/toolbox/lib/3scale_toolbox/commands/import_command/openapi.rb:61:in `run'", "/opt/toolbox/vendor/bundle/ruby/3.0.0/gems/cri-2.15.11/lib/cri/command_runner.rb:34:in `call'", "/opt/toolbox/vendor/bundle/ruby/3.0.0/gems/cri-2.15.11/lib/cri/command_dsl.rb:294:in `block in runner'", "/opt/toolbox/vendor/bundle/ruby/3.0.0/gems/cri-2.15.11/lib/cri/command.rb:362:in `run_this'", "/opt/toolbox/vendor/bundle/ruby/3.0.0/gems/cri-2.15.11/lib/cri/command.rb:298:in `run'", "/opt/toolbox/vendor/bundle/ruby/3.0.0/gems/cri-2.15.11/lib/cri/command.rb:316:in `run'", "/opt/toolbox/vendor/bundle/ruby/3.0.0/gems/cri-2.15.11/lib/cri/command.rb:316:in `run'", "/opt/toolbox/lib/3scale_toolbox/cli.rb:48:in `block in run'", "/opt/toolbox/lib/3scale_toolbox/cli/error_handler.rb:5:in `block in error_watchdog'", "/opt/toolbox/lib/3scale_toolbox/cli/error_handler.rb:11:in `error_watchdog'", "/opt/toolbox/lib/3scale_toolbox/cli/error_handler.rb:5:in `error_watchdog'", "/opt/toolbox/lib/3scale_toolbox/cli.rb:45:in `run'", "/opt/toolbox/exe/3scale:15:in `<top (required)>'", "/opt/toolbox/bin/3scale:29:in `load'", "/opt/toolbox/bin/3scale:29:in `<main>'" ] }
It will be great to have possibility to be able to set timeout to net/http.rb