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

How to debug: jsaddle requests: 101 pending #437

Open
rubenmoor opened this issue Jun 27, 2022 · 0 comments
Open

How to debug: jsaddle requests: 101 pending #437

rubenmoor opened this issue Jun 27, 2022 · 0 comments
Labels

Comments

@rubenmoor
Copy link

My reflex-dom application gets stuck in a weird state where an event that is supposed to occur never occurs.

Checking the "network" tab of the debugging tools I find two requests that never return:

The information I get from Google Chrome:

jsaddle 101 websocket jsaddle.js:9 0 B pending
jsaddle 101 websocket jsaddle.js:38 0 B pending

and no error in the output logs of ob run.

The code in jsaddle.js is

    var ws0 = new WebSocket(wsaddress);

and

                var ws1 = new WebSocket(wsaddress);

respectively.

I have no doubts there is some bug in my code but I am clueless on how to approach this. I eliminates the use of getPostBuild as this has been causing trouble before, but that wasn't it.

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

No branches or pull requests

2 participants