Похоже, файлы в public / packs / js не могут быть загружены.
Это теги javascript в представлении:
= javascript_include_tag 'application'
= javascript_pack_tag 'application'
Ошибка в консоль браузера:
net::ERR_ABORTED 500 (Internal Server Error)
Это ошибка из журналов rails:
2020-05-27 11:04:05 -0400: Rack app error handling request { GET /packs/js/application-94e1ca1d6a639b3ce542.js }
#<EOFError: end of file reached>
/Users/usr/.rbenv/versions/2.6.3/lib/ruby/2.6.0/net/protocol.rb:225:in `rbuf_fill'
/Users/usr/.rbenv/versions/2.6.3/lib/ruby/2.6.0/net/protocol.rb:191:in `readuntil'
/Users/usr/.rbenv/versions/2.6.3/lib/ruby/2.6.0/net/protocol.rb:201:in `readline'
/Users/usr/.rbenv/versions/2.6.3/lib/ruby/2.6.0/net/http/response.rb:40:in `read_status_line'
/Users/usr/.rbenv/versions/2.6.3/lib/ruby/2.6.0/net/http/response.rb:29:in `read_new'
/Users/usr/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/rack-proxy-0.6.5/lib/net_http_hacked.rb:53:in `begin_request_hacked'
/Users/usr/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/rack-proxy-0.6.5/lib/rack/http_streaming_response.rb:60:in `response'
/Users/usr/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/rack-proxy-0.6.5/lib/rack/http_streaming_response.rb:29:in `headers'
/Users/usr/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/rack-proxy-0.6.5/lib/rack/proxy.rb:120:in `perform_request'
/Users/usr/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/webpacker-4.0.7/lib/webpacker/dev_server_proxy.rb:27:in `perform_request'
/Users/usr/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/rack-proxy-0.6.5/lib/rack/proxy.rb:57:in `call'
/Users/usr/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/railties-5.1.7/lib/rails/engine.rb:522:in `call'
/Users/usr/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/puma-4.3.3/lib/puma/configuration.rb:228:in `call'
/Users/usr/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/puma-4.3.3/lib/puma/server.rb:682:in `handle_request'
/Users/usr/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/puma-4.3.3/lib/puma/server.rb:472:in `process_client'
/Users/usr/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/puma-4.3.3/lib/puma/server.rb:328:in `block in run'
/Users/usr/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/puma-4.3.3/lib/puma/thread_pool.rb:134:in `block in spawn_thread'
2020-05-27 11:04:05 -0400: Rack app error handling request { GET /packs/js/application-94e1ca1d6a639b3ce542.js }
Я переустановил все гемы, узел и веб-пакет, но проблема осталась. Я где-то читал, что rbuf_fill может ожидать https, но я не уверен, где это проверить и какие изменения внести. У кого-нибудь есть идеи?