Skip to content

Timeout after 300 seconds with any error message. Could it be rate limiting? #511

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

Open
jackien1 opened this issue Apr 15, 2025 · 6 comments
Labels
bug Something isn't working

Comments

@jackien1
Copy link

Image

Just a timeout without any error message. Happens pretty often with the new gpt-4.1 model. How can I reduce this?

I'm Tier 5 on OpenAI so I don't think its rate limiting?

@jackien1 jackien1 added the bug Something isn't working label Apr 15, 2025
@jackien1
Copy link
Author

I checked forums and saw some mentions of errors in regards to the assistants api. I'm using the responses api so maybe I'll try switching to chat completions for now.

@rm-openai
Copy link
Collaborator

Are you using long context/is your input very long? I can investigate. Can you also post the full stack trace/error messages that you see?

@jackien1
Copy link
Author

jackien1 commented Apr 15, 2025

My context is around 2-4k tokens. It turned out to be a nested function call input that I flattened which worked. gpt-4o worked flawlessly but gpt-4.1 had the 300 second timeout. Also, got another related timeout issue. Function call executions (not input) that take longer than 300 seconds cause the agent to stop running. No errors but no follow up output.

Image

@rm-openai
Copy link
Collaborator

Can you share some sample code to reproduce the issue? happy to take a look

@jackien1
Copy link
Author

Can you share some sample code to reproduce the issue? happy to take a look

Is there private way of sending it via GitHub? I can't send any sample code since the erroring function is super long and proprietary.

@rm-openai
Copy link
Collaborator

You can email it to me - though please remove any sensitive or proprietary stuff you don't want to share. rm at OpenAI dot com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants