Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: #1413

Closed
Bhaskar1111 opened this issue Oct 17, 2023 · 1 comment
Closed

[Bug]: #1413

Bhaskar1111 opened this issue Oct 17, 2023 · 1 comment
Labels
area: backend Related to backend functionality or under the /backend directory bug Something isn't working

Comments

@Bhaskar1111
Copy link

What happened?

When I am creating Brain, I'm getting error. Help me out in fixing the error.

{"message":"Network Error","name":"AxiosError"," eyJhbGciOiJIUZI1NilslmtpZCI6ImhjSThGV2NITXZ VeYXG9ZIOXQ3REgA25gjVMr_M2m0SSE4"},"base

Screenshot (5)

Relevant log output

No response

Twitter / LinkedIn details

No response

@Bhaskar1111 Bhaskar1111 added the bug Something isn't working label Oct 17, 2023
@dosubot dosubot bot added the area: backend Related to backend functionality or under the /backend directory label Oct 17, 2023
@dosubot
Copy link

dosubot bot commented Oct 17, 2023

🤖

Hello,

I'm sorry to hear that you're having trouble creating a Brain in Quivr. Based on the error message you provided, it seems like there's a network error. Unfortunately, I can't see the screenshot you've attached, but I can provide some general advice based on similar issues that have been resolved in the past.

There are a few potential solutions that have worked for others:

  1. Update your frontend .env file to use your local IP. For example, change NEXT_PUBLIC_BACKEND_URL=localhost:5050 to NEXT_PUBLIC_BACKEND_URL=http://192.168.1.15:5050. Also, make sure to open port 5050 in your firewall. You can find more details on this solution in this issue.

  2. If you're setting up Quivr for the first time, make sure to follow these steps:

    • Clone the Quivr repository
    • Copy env.example to .env for both the frontend and backend
    • Populate the Supabase details in both files
    • Run docker compose up in VSCode
    • Once the container is running, copy the two tables mentioned in this issue and run them as queries in Supabase
    • Refresh localhost:3000
    • You should see "Default brain" in the dropdown and be able to create a new brain
  3. If you're using Windows, the issue might be due to the file start.sh being saved to git with Windows characters. You can fix this by running the command dos2unix backend/core/scripts/start.sh and restarting the docker compose. You can find more details on this solution in this issue.

If none of these solutions work for you, could you please provide more details about the error? Specifically, it would be helpful to know:

  • The exact steps you're taking when you encounter the error
  • Any additional error messages or logs
  • Your operating system and version
  • The version of Quivr you're using

I hope this helps, and I look forward to hearing from you soon.

Best,
Dosu

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: backend Related to backend functionality or under the /backend directory bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant