Also there is a runtime error in logs:
"/build/build/work/stage/opt/api-umbrella/embedded/lib/ruby/gems/2.4.0/gems/devise-4.6.2/lib/devise/rails/routes.rb:500:in `raise_no_secret_key': Devise.secret_key was not set. Please add the following to your Devise initializer: (RuntimeError)"
Are these two errors related? İf yes how can I set secret key?
Hello,
When I try to open admin page I get timeout error from server_side_loader.js.
Error Log:
*17305 upstream timed out (110: Connection timed out) while reading response header from upstream, client: , server: , request: "GET /admin/server_side_loader.js HTTP/1.1", upstream: "http://unix:///build/build/work/stage/opt/api-umbrella/var/run/web-puma.sock/admin/server_side_loader.js", host:
Also there is a runtime error in logs: "/build/build/work/stage/opt/api-umbrella/embedded/lib/ruby/gems/2.4.0/gems/devise-4.6.2/lib/devise/rails/routes.rb:500:in `raise_no_secret_key': Devise.secret_key was not set. Please add the following to your Devise initializer: (RuntimeError)"
Are these two errors related? İf yes how can I set secret key?
By the way application is hosted in Docker.