-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
[BUG] #9
Comments
Hello, thank you for reporting the issue you encountered. This seems to have been temporary and resolved. Additionally, you may increase the timeout by passing "timeout=your new timeout here" when constructing the ShuttleAI client. Let me know if there's any other issues or you have any questions, thank you for using ShuttleAI! 💙 (P.S be careful sending cloudflare errors in full like this, it typically contains your home network IP address that may be used maliciously by attackers! I have done you the favor of redacting the IP address in the error you provided.) (P.P.S it is not recommended to create a new client on every request, although typically fine, you will receive great performance benefits by initiating a single ShuttleAI client and using that in your functions) |
It seams the API can not pass cloudflare, it still returns 524 error code with timeout=2000 |
I am saddened to hear your experience. The API is working perfectly fine for me, please join our discord @ https://discord.gg/shuttleai for more support and assistance. We can discuss further there, my tag is @3thoth. I will be closing this issue as it is unrelated to the lib 💙 |
On OS: Ubuntu 24.04 LST, Python3.12
I got error with below code:
It returns:
Status: 524. Message: \n\n\n\n \n\n\n\n<title>api.shuttleai.app | 524: A timeout occurred</title>\n\n\n\n\n\n\n\n\n\n\n
\n A timeout occurred\n Error code 524\n
\n\n \n Browser\n \n
\n Working\n\n \n Cloudflare\n \n
\n Working\n\n \n Host\n \n
\n Error\nWhat happened?
\nThe origin web server timed out responding to this request.
\nWhat can I do?
\nIf you're a visitor of this website:
\nPlease try again in a few minutes.
\n\nIf you're the owner of this website:
\nThe connection to the origin web server was made, but the origin web server timed out before responding. The likely cause is an overloaded background task, database or application, stressing the resources on your web server. To resolve, please work with your hosting provider or web development team to free up resources for your database or overloaded application. Additional troubleshooting information here.
\n\n Cloudflare Ray ID: 89b607f67b6385da\n •\n \n Your IP:\n Click to reveal\n REDACTED\n •\n \n Performance & security by Cloudflare\n \n
\n <script>(function(){function d(){var b=a.getElementById("cf-footer-item-ip"),c=a.getElementById("cf-footer-ip-reveal");b&&"classList"in b&&(b.classList.remove("hidden"),c.addEventListener("click",function(){c.classList.add("hidden");a.getElementById("cf-footer-ip").classList.remove("hidden")}))}var a=document;document.addEventListener&&a.addEventListener("DOMContentLoaded",d)})();</script>\nThe text was updated successfully, but these errors were encountered: