whythawk / full-stack-fastapi-postgresql

Full stack, modern web application generator. Using FastAPI, PostgreSQL as database, Nuxt3, Docker, automatic HTTPS and more.
MIT License
231 stars 47 forks source link

Login issues #41

Open mldurga opened 10 months ago

mldurga commented 10 months ago

Hi, I have installed using cookiecutter https://github.com/whythawk/full-stack-fastapi-postgresql everything went fine but I couldnt login into the application. Continuous error is coming like: web-socket.mjs?v=c6c77b63:58 WebSocket connection to 'ws://localhost:4000/ws' failed: even without giving logindetails. even after entering login credentials still the application throwing errors in console continuously. image oauth is successful but page is not loading. image I guess something is wrong with websocket and cors origins. Anybody have any idea please suggest.

turukawa commented 10 months ago

It's something to do with Nuxt's auto-refresh/reload and Docker during development. If you try building and running the frontend outside of Docker, does that help?