Giter Club home page Giter Club logo

Comments (2)

dosubot avatar dosubot commented on May 28, 2024 4

🤖

Hey @amp127, good to see you again! 🚀 Seems like we're on another coding adventure together. 🕵️‍♂️

The fetch error with ECONNREFUSED on port 8000 you're encountering when trying to login to Quivr on both Linux and Windows setups is likely due to the fact that your application is trying to connect to a service on port 8000, but there's no service listening on that port.

In the provided Dockerfile, the application is exposed on port 1337 as indicated by the line EXPOSE 1337. This means that the application inside the Docker container is running on port 1337, not port 8000.

If you're trying to connect to the application on port 8000, you'll get an ECONNREFUSED error because there's no service listening on that port. You should try connecting to the application on port 1337 instead.

If you need the application to run on port 8000, you'll need to modify the Dockerfile to expose the application on port 8000 by changing the line EXPOSE 1337 to EXPOSE 8000.

Please note that you'll also need to modify the application's configuration to ensure it's listening on port 8000 inside the Docker container. You can refer to the Dockerfile here.

However, it's worth noting that the Dockerfile indicates that the application is set to expose and run on port 5050, not 1337. The command at the end of the Dockerfile (CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "5050", "--workers", "6"]) starts the application on host 0.0.0.0 and port 5050.

Therefore, if you're trying to connect to port 8000, it might be due to a misunderstanding or a misconfiguration, as the provided Dockerfile does not expose or use this port. You can refer to the backend Dockerfile here.

Please let me know if this resolves your issue or if you need further assistance.

Sources


This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.

Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

If you want to continue the conversation, start your reply with @dosu-bot.

from quivr.

github-actions avatar github-actions commented on May 28, 2024

Thanks for your contributions, we'll be closing this issue as it has gone stale. Feel free to reopen if you'd like to continue the discussion.

from quivr.

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.