Skip to content

Failed to load resource: the server responded with a status of 401 (Unauthorized) #4453

Answered by jbesclapez
jbesclapez asked this question in Q&A
Discussion options

You must be logged in to vote

I got the solution.

The issue was in nginx and in my DNS host.
What i did was to assign a subdomain to the backend api.
Then it is important to update the ENV file like below.

It is now working. I do not use HTTPS yet.

POSTGRES_PASSWORD=Thisismypass
SCRUMLR_SERVER_PORT=8080
SCRUMLR_SERVER_URL="http://sprintapi.mysite.tech:8080"
SCRUMLR_SHOW_LEGAL_DOCUMENTS=false
SCRUMLR_WEBSOCKET_URL="ws://sprintapi.mysite.tech:8080"
SCRUMLR_LISTEN_PORT=8080
SCRUMLR_SERVER_NATS_URL="nats://nats:4222"
SCRUMLR_PRIVATE_KEY="-----BEGIN EC PRIVATE KEY-----\nsdfgh56341s35dfgh3654\n-----END EC PRIVATE KEY-----"
PUBLIC_URL="http://sprint.mysite.tech"
REACT_PUBLIC_URL=/
REACT_APP_VERSION=$npm_package_version
SCRUM…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@BlackPenguins
Comment options

Answer selected by jbesclapez
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants