Giter Site home page Giter Site logo

can not creat brain about quivr HOT 2 CLOSED

BabaSarf avatar BabaSarf commented on September 8, 2024 1
can not creat brain

from quivr.

Comments (2)

dosubot avatar dosubot commented on September 8, 2024 2

🤖

Hey @BabaSarf, great to see you back! Hope you're doing well.

Based on the logs you've provided, it seems like there are a couple of issues at play here.

The first issue is related to the Cross-Origin Resource Sharing (CORS) policy. This is a security feature that restricts web applications from making requests to a different domain than the one the web application came from. The error message Access to XMLHttpRequest at 'https://api.aipartners.org.nz/onboarding' from origin 'https://aipartners.org.nz' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. indicates that the server at https://api.aipartners.org.nz/onboarding is not configured to accept requests from https://aipartners.org.nz. This is typically resolved by updating the server's configuration to include the origin in its 'Access-Control-Allow-Origin' header.

The second issue is related to a connection refusal, as indicated by the error message httpx.ConnectError: [Errno 111] Connection refused. This error typically occurs when the server is not accepting connections on the specified port. This could be due to the server being down, a network issue, or the server being overloaded with requests.

Without more specific information or logs, it's hard to pinpoint the exact cause of these errors. You may need to check the server configuration, network settings, and server load.

As for the Quivr application, there are a few places in the code where these issues could potentially arise. For instance, in the create_new_brain function, there is a check for the maximum number of brains a user can have. If the user has reached this limit, the function raises an HTTPException with status code 429. This could be the reason why you are unable to create a new brain. You can find this in the brain_routes.py file.

There are also several places in the code where authorization is checked. If the user does not have the necessary permissions, an HTTPException is raised. This could be causing the "Connection refused" error.

I hope this helps! If you have any more information or logs that could help diagnose the issue, please provide them.

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 September 8, 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.