server_side_loader.js timeout error

Open
#571 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
20/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
docker, ruby

Research direction

Start by reproducing the admin page request in the Docker-hosted application and compare the timeout for /admin/server_side_loader.js with the Devise.secret_key runtime error. Read the cited devise/rails/routes.rb location and inspect the container logs and configuration. Done means establishing whether the errors are related and documenting the required configuration or a confirmed application defect.

Written by the indexing model from the issue text.

Description

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.

Dominant language
Ruby
Stars
2.2k
Forks
373
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from NatLabRockies/api-umbrella

All issues in NatLabRockies/api-umbrella

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.