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

#Error in curl::curl_fetch_memory(url, handle = handle) : Timeout was reached: [api.openai.com] Failed to connect to api.openai.com port 443 after 10009 ms: Timeout was reached #1

Open
CZHanoi opened this issue Mar 27, 2024 · 5 comments
Labels
good first issue Good for newcomers

Comments

@CZHanoi
Copy link

CZHanoi commented Mar 27, 2024

As in the title, I used the correct gpt api key, but the timeout was displayed for unknown reasons.
image

@Winnie09
Copy link
Owner

Hi,

I updated the tutorial to set up the API key in vignette https://winnie09.github.io/Wenpin_Hou/pages/gptcelltype.html. Please make sure that the account has credit balance, as demonstrated in steps 5 to 8.

Please let me know if this resolves the issue.

@Winnie09 Winnie09 added the good first issue Good for newcomers label Mar 27, 2024
@FBaiyu
Copy link

FBaiyu commented Apr 2, 2024

I met the same issue and the setting of the API key is not working.

@wentaozhanf9683
Copy link

Error in curl::curl_fetch_memory(url, handle = handle) :
Timeout was reached: [api.openai.com] Failed to connect to api.openai.com port 443 after 10012 ms: Timeout was reached“
Hello, I have 10 dollars in my gpt4 account, and the API also runs normally on other applications. I am currently using a VPN. I know what is causing the code to run incorrectly.

@ahflycn
Copy link

ahflycn commented May 6, 2024

############
"Note: OpenAI API key found: returning the cell type annotations."
Error in curl::curl_fetch_memory(url, handle = handle) :
Timeout was reached: [api.openai.com] Connection timeout after 10005 ms
###############
I have the same problem. My key can work directly with open AI's python package, but it can't work in gptcelltpye. Is gptcelltype disabled by OpenAi? Has anyone solved it?

@qingmemng
Copy link

I have the same problem.

res <- gptcelltype(all.markers,

  •                tissuename = 'human PBMC', 
    
  •                model = 'gpt-4'
    
  • )
    [1] "Note: OpenAI API key found: returning the cell type annotations."
    Error in curl::curl_fetch_memory(url, handle = handle) :
    Timeout was reached: [api.openai.com] Failed to connect to api.openai.com port 443 after 10008 ms: Timeout was reached

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

No branches or pull requests

6 participants