Repository navigation
internal server error #390
Description
Activity
Hi, how do you run this? (via Docker, or by running it without Docker example)
Most likely the frontend can't connect to the backend.
I just did what is written in quickstart and for me it works correctly.Hi, I have use Quickstart . 3 containers are up and running , no errors in log. You are right, when I stop the bracket-backend I get the same error. Why there are no communication? They are in the same network. I am not an expert in docker.
can you maybe run
sudo docker-compose logsand look for errors?
There should be lines like these:bracket-backend | [2023-12-08 16:19:15 +0000] [1] [INFO] Starting gunicorn 21.2.0 bracket-backend | [2023-12-08 16:19:15 +0000] [1] [INFO] Listening at: http://0.0.0.0:8400 (1)But you might see an error instead of the above.
For the frontend, you probably do see this:
bracket-frontend | ready - started server on 0.0.0.0:3000, url: http://localhost:3000Also, you might have bracket running twice, which blocks one of the backend instances to use port 8400
[2023-12-08 16:05:55 +0000] [1] [INFO] Starting gunicorn 21.2.0
bracket-backend | [2023-12-08 16:05:55 +0000] [1] [INFO] Listening at: http://0.0.0.0:8400 (1)
bracket-backend | [2023-12-08 16:05:55 +0000] [1] [INFO] Using worker: uvicorn.workers.UvicornWorker
bracket-backend | [2023-12-08 16:05:55 +0000] [9] [INFO] Booting worker with pid: 9
bracket-backend | [2023-12-08 16:05:55 +0000] [10] [INFO] Booting worker with pid: 10
bracket-backend | [2023-12-08 16:05:56,292] [bracket] [INFO] Current env: DEVELOPMENT
bracket-backend | [2023-12-08 16:05:56,328] [bracket] [INFO] Current env: DEVELOPMENT
bracket-backend | [2023-12-08 16:05:57 +0000] [9] [INFO] Started server process [9]
bracket-backend | [2023-12-08 16:05:57 +0000] [9] [INFO] Waiting for application startup.
bracket-backend | [2023-12-08 16:05:57 +0000] [10] [INFO] Started server process [10]
bracket-backend | [2023-12-08 16:05:57 +0000] [10] [INFO] Waiting for application startup.
bracket-backend | [2023-12-08 16:05:57 +0000] [9] [INFO] Application startup complete.
bracket-backend | [2023-12-08 16:05:57 +0000] [10] [INFO] Application startup complete.bracket-frontend | yarn run v1.22.19
bracket-frontend | $ next dev
bracket-frontend | ▲ Next.js 14.0.3
bracket-frontend | - Local: http://localhost:3000
bracket-frontend |
bracket-frontend | ✓ Ready in 4.4s
bracket-frontend | ○ Compiling /login ...
bracket-frontend | ✓ Compiled /login in 6.7s (1093 modules)
bracket-frontend | ○ Compiling / ...
bracket-frontend | ✓ Compiled / in 1830ms (1268 modules)Okay, and can you open the console in the browser (pressing F12) and make a screenshot of what happens there? There's either 500 status code responses or just failed requests that don't connect to the backend.
I'll make this a discussion btw.
- Repository owner locked and limited conversation to collaborators
on Dec 8, 2023
New installation and error when trying to log in
