Skip to content

How to debug: jsaddle requests: 101 pending #437

@rubenmoor

Description

@rubenmoor

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions