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

openAI embedding error timeout #83

Open
LeviHan999 opened this issue May 26, 2023 · 1 comment
Open

openAI embedding error timeout #83

LeviHan999 opened this issue May 26, 2023 · 1 comment

Comments

@LeviHan999
Copy link

I finally run the program, and localhost:8100 was set up. but when I tried to upload files, it takes a few minutes, and told me the following error.

Reason: Error getting embeddings: Post "https://api.openai.com/v1/embeddings": dial tcp [2a03:2880:f10c:83:face:b00c:0:25de]:443: i/o timeout

the URL said:

{
    "error": {
        "message": "You didn't provide an API key. You need to provide your API key in an Authorization header using Bearer auth (i.e. Authorization: Bearer YOUR_KEY), or as the password field (with blank username) if you're accessing the API from your browser and are prompted for a username and password. You can obtain an API key from https://platform.openai.com/account/api-keys.",
        "type": "invalid_request_error",
        "param": null,
        "code": null
    }
}

I am using a VPN, and node version is V18, not V19 as pashpashpash used.

I really can't do anything with this, can anyone help, thank you very much!

@mathiash98
Copy link

Dude, the error message LITERALLY states that you need to provide an API key. And where to find it. Just do exactly what the error message says.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants