Giter Club home page Giter Club logo

Comments (5)

evroon avatar evroon commented on July 19, 2024

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.

from bracket.

cibiman avatar cibiman commented on July 19, 2024

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.

from bracket.

evroon avatar evroon commented on July 19, 2024

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

from bracket.

cibiman avatar cibiman commented on July 19, 2024

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

from bracket.

evroon avatar evroon commented on July 19, 2024

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.

from bracket.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.