Skip to content

internal server error #390

Description

@cibiman

New installation and error when trying to log in
error

Activity

  1. evroon commented on Dec 8, 2023

    @evroon
    Owner

    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.

  2. cibiman commented on Dec 8, 2023

    @cibiman
    Author

    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.

  3. evroon commented on Dec 8, 2023

    @evroon
    Owner

    can you maybe run sudo docker-compose logs and 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:3000
    

    Also, you might have bracket running twice, which blocks one of the backend instances to use port 8400

  4. cibiman commented on Dec 8, 2023

    @cibiman
    Author

    [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)

  5. evroon commented on Dec 8, 2023

    @evroon
    Owner

    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.

  6. Repository owner locked and limited conversation to collaborators on Dec 8, 2023
  7. converted this issue into a discussion #391 on Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions