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

FetchError: request to https://api.openai.com/v1/embeddings failed #459

Closed
wsy258-strar opened this issue Feb 12, 2024 · 1 comment
Closed
Labels
kind: bug Related to a bug, vulnerability, unexpected error with an existing feature

Comments

@wsy258-strar
Copy link

image I encountered this problem when running ingest today. I don’t know how to solve it. I hope you can take a look.
Copy link

dosubot bot commented Feb 12, 2024

🤖

Hey @wsy258-strar! 😄 Good to see you back here. What's cooking?

Based on the error message you've provided, it seems like you're encountering a FetchError when making a request to the OpenAI API. This error can occur due to a variety of reasons such as network issues, incorrect API keys, or expired OpenAI credits.

Here are some steps you can take to troubleshoot this issue:

  1. Check your OpenAI API keys: Make sure that the API keys you're using are correct and valid. You can verify this by logging into your OpenAI account and checking your API keys.

  2. Check your OpenAI credits: Ensure that you have sufficient OpenAI credits to make the API request. If your credits have expired, you'll need to purchase more.

  3. Check your network connection: This error can also occur if there's a problem with your network connection. Try running the code on a different network or use a VPN.

  4. Check the server location: As mentioned in a previous issue, one user was able to resolve a similar error by deploying the code on a server in America.

  5. Check your VPN settings: If you're using a VPN, it might be causing this error. Try switching your VPN software or disabling it to see if that resolves the issue.

If you're still encountering this error after trying these steps, it would be helpful if you could provide more details about the error message you're seeing. This could include the full error stack trace or any additional error messages that are being logged.

For more detailed troubleshooting steps, you can refer to the README.md file in the gpt4-pdf-chatbot-langchain repository.

Please note that I'm unable to view the image you've attached in your message. If there's important information in the image, please provide it in text form.

Sources

About Dosu

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.

@dosubot dosubot bot added the kind: bug Related to a bug, vulnerability, unexpected error with an existing feature label Feb 12, 2024
@dosubot dosubot bot added the stale Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed label May 13, 2024
@dosubot dosubot bot closed this as not planned Won't fix, can't repro, duplicate, stale May 20, 2024
@dosubot dosubot bot removed the stale Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed label May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: bug Related to a bug, vulnerability, unexpected error with an existing feature
Projects
None yet
Development

No branches or pull requests

1 participant