-
Notifications
You must be signed in to change notification settings - Fork 45k
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
Gateway Error shutsdown the whole application #381
Comments
I've been getting a lot of these errors too. The longer the job run, the higher the chances of encountering adverse conditions. The only workaround for me was to provide only one goal, very specific. |
I see, more specific and on point with a clear end goal will making it not run indefinitely. This was more of a trial and error to see if it would actually improve my overall blog |
This is not just for large runs. For example, I ran into the following today:
If I read that 500 correctly, it seems like OpenAI is down. Fair enough that we can't do anything more if that's the case, but the application probably shouldn't crash. |
I have a similar error using y -2. { |
Superseded by #2937 |
Duplicates
Steps to reproduce 🕹
I turned it on in continous mode for y -100 and then i came back with the following error:
Current behavior 😯
openai.error.APIError: Gateway timeout. {"error":{"code":524,"message":"Gateway timeout.","param":null,"type":"cf_gateway_timeout"}} 524 {'error': {'code': 524, 'message': 'Gateway timeout.', 'param': None, 'type': 'cf_gateway_timeout'}} {'Date': 'Fri, 07 Apr 2023 10:04:55 GMT', 'Content-Type': 'application/json', 'Content-Length': '92', 'Connection': 'keep-alive', 'X-Frame-Options': 'SAMEORIGIN', 'Referrer-Policy': 'same-origin', 'Cache-Control': 'private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0', 'Expires': 'Thu, 01 Jan 1970 00:00:01 GMT', 'Server': 'cloudflare', 'CF-RAY': '7b41645cab505d3b-LIS'}
Expected behavior 🤔
not to crash but get back to the state it was
Your prompt 📝
The text was updated successfully, but these errors were encountered: