-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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] I've been getting errors after deploying with Vercel. #308
Comments
Have you checked the Vercel Runtime Logs? |
I got the same error. Redis setup is obligatory. After setting the environment variables UPSTASHREDISRESTURL and UPSTASHREDISRESTTOKEN, the error is gone. |
@irosyadi Thank you for sharing. |
Adding these two properties does make it work properly, but occasionally it still throws errors. My understanding is that I shouldn't need the history because it relies on Redis, and UPSTASHREDISRES doesn't seem very stable. |
Try going to your project's settings in Vercel, then navigate to Settings > Functions. Configure the region to the one closest to you and set the maximum function duration to 60 seconds (higher durations are available with paid plans) then redeploy your project. |
Is there an existing issue for this?
Current Behavior
Expected Behavior
Application error: a client-side exception has occurred (see the browser console for more information).
I have looked into similar questions, but I couldn't find an answer.
Steps To Reproduce
After I input the message, this error pops up during the response process.
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: