Webinterface becomes unusable after a period of time

The webinterface becomes unusable after a period of time. Not sure how to solve it.

Checking the browser debug shows a 500 internal server error for some files:

In the 500 internal server error response:

org.jruby.exceptions.TypeError: (TypeError) no implicit conversion of String into Integer
	at org.jruby.RubyArray.[]=(org/jruby/RubyArray.java:1558)
	at tmp.jruby7028956381679149336extract.gems.gems.rack_minus_1_dot_6_dot_11.lib.rack.body_proxy.method_missing(/tmp/jruby7028956381679149336extract/gems/gems/rack-1.6.11/lib/rack/body_proxy.rb:36)
	at tmp.jruby7028956381679149336extract.gems.gems.rack_minus_1_dot_6_dot_11.lib.rack.body_proxy.method_missing(/tmp/jruby7028956381679149336extract/gems/gems/rack-1.6.11/lib/rack/body_proxy.rb:36)
	.. <snip, repeating>

In the logs:

[2019-08-14T20:53:34.865+00:00][8110][2834][action_controller][INFO]: [ea5c2dc8-6617-4405-9766-94fc60431e83] Processing by ErrorsController#not_found as */*
[2019-08-14T20:53:34.865+00:00][8110][2834][action_controller][INFO]: [ea5c2dc8-6617-4405-9766-94fc60431e83]   Parameters: {"host"=>"localhost:3002", "protocol"=>"http"}
[2019-08-14T20:53:34.873+00:00][8110][2834][action_controller][INFO]: [ea5c2dc8-6617-4405-9766-94fc60431e83] Completed 500 Internal Server Error in 8ms
[2019-08-14T20:53:34.900+00:00][8110][2832][rails][FATAL]: [5dfb215f-3719-4723-a4fa-d9752bfd716e]
ActionController::RoutingError (No route matches [GET] "/packs/js/0-40694bdbb3917ca89f95.chunk.js"):
  /tmp/jruby7028956381679149336extract/gems/gems/actionpack-4.2.11.1/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
  /tmp/jruby7028956381679149336extract/gems/gems/actionpack-4.2.11.1/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
  /tmp/jruby7028956381679149336extract/gems/gems/railties-4.2.11.1/lib/rails/rack/logger.rb:38:in `call_app'
  /tmp/jruby7028956381679149336extract/gems/gems/railties-4.2.11.1/lib/rails/rack/logger.rb:20:in `block in call'
  /tmp/jruby7028956381679149336extract/gems/gems/activesupport-4.2.11.1/lib/active_support/tagged_logging.rb:68:in `block in tagged'
  /tmp/jruby7028956381679149336extract/gems/gems/activesupport-4.2.11.1/lib/active_support/tagged_logging.rb:26:in `tagged'
  /tmp/jruby7028956381679149336extract/gems/gems/activesupport-4.2.11.1/lib/active_support/tagged_logging.rb:68:in `tagged'
  /tmp/jruby7028956381679149336extract/gems/gems/railties-4.2.11.1/lib/rails/rack/logger.rb:20:in `call'
  config/initializers/quiet_assets.class:6:in `call_with_quiet_assets'
  /tmp/jruby7028956381679149336extract/gems/gems/request_store-1.4.1/lib/request_store/middleware.rb:19:in `call'
  /tmp/jruby7028956381679149336extract/gems/gems/actionpack-4.2.11.1/lib/action_dispatch/middleware/request_id.rb:21:in `call'
  /tmp/jruby7028956381679149336extract/gems/gems/rack-1.6.11/lib/rack/methodoverride.rb:22:in `call'
  /tmp/jruby7028956381679149336extract/gems/gems/rack-1.6.11/lib/rack/runtime.rb:18:in `call'
  /tmp/jruby7028956381679149336extract/gems/gems/actionpack-4.2.11.1/lib/action_dispatch/middleware/static.rb:120:in `call'
  /tmp/jruby7028956381679149336extract/gems/gems/rack-1.6.11/lib/rack/sendfile.rb:113:in `call'
  config/initializers/stats_middleware.class:10:in `call'
  shared_togo/lib/shared_togo/external_host_middleware.class:15:in `call'
  /tmp/jruby7028956381679149336extract/gems/gems/railties-4.2.11.1/lib/rails/engine.rb:518:in `call'
  /tmp/jruby7028956381679149336extract/gems/gems/railties-4.2.11.1/lib/rails/application.rb:165:in `call'
  uri:classloader:/rack/handler/servlet.rb:22:in `call

Can you please contact support? support@elastic.co

Please capture a diagnostic bundle as outlined here: https://swiftype.com/documentation/app-search/self-managed/troubleshooting and reference this community post.

Also, any reproduction steps would be great.

We'd like to dig into this one.

Thank you for the report!

I've send the diagnostics to support.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.