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

UI error "Cannot connect to server: timeout." when using REFLEX_USE_GRANIAN=1 (--env prod) #4731

Open
borolepratik opened this issue Feb 1, 2025 · 1 comment

Comments

@borolepratik
Copy link

Describe the bug
I have a background task that can run anywhere from a few seconds to a few hundred seconds. After ~150 seconds, the UI shows a toast "Cannot connect to server: timeout." when using REFLEX_USE_GRANIAN=1 (prod env). The task is still running as i can see logs on the terminal as well as backend ping responds with pong.

After refreshing the page, the state is set to whatever would have been when the task was completed, but none of the gui items respond to mouse events. Have to restart reflex (had to kill the browser as well).

This behavior is not observed when running reflex regularly.

Image

To Reproduce
Apologies, no code that i can provide.

Specifics (please complete the following information):

  • Python Version: 13.3.1
  • Reflex Version: 0.6.8
  • OS: Windows 11 WSL

Related

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

No branches or pull requests

1 participant