Skip to content

openAI embedding error timeout #83

@LeviHan999

Description

@LeviHan999

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions