OpenAI-API-dotnet icon indicating copy to clipboard operation
OpenAI-API-dotnet copied to clipboard

The SSL connection could not be established

Open asdf112255 opened this issue 2 years ago • 2 comments

when i publish the website to the sever, api response The SSL connection could not be established in my laptap is ok? what's going on?

asdf112255 avatar Mar 02 '23 10:03 asdf112255

This probably is your computer or network connection. Many businesses and schools block access to OpenAI. Please try directly accessing https://api.openai.com/v1/completions in your browser. You should get a json reply with an error about missing the API key. If you instead get a connection or SSL error, then it's something on your computer or network.

OkGoDoIt avatar Mar 09 '23 00:03 OkGoDoIt

This probably is your computer or network connection. Many businesses and schools block access to OpenAI. Please try directly accessing https://api.openai.com/v1/completions in your browser. You should get a json reply with an error about missing the API key. If you instead get a connection or SSL error, then it's something on your computer or network.

Hi, Roger! Interesting/useful info, thank You ) I tried to ping "https://api.openai.com/v1/completions" and received { "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'm from Russia, so normal openai registration proccess blocked at my region. :( Can You help me with getting some temporary api key (sk) (for 1 week or 2) to test your cool OpenAPI lib? =)

mediaexplorer74 avatar Mar 12 '23 08:03 mediaexplorer74