-
-
Notifications
You must be signed in to change notification settings - Fork 592
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
When overloaded with calls, Eel dies with "eel.js:115 WebSocket connection to '...' failed: Invalid frame header" #536
Comments
I'm wondering if this could be caused by #540 |
is there any solution?? (tweaks)? |
I have the same problem apparently |
I made a PR to fix this but it was never merged. There is a memory leak actually. This PR fixes it and I have a system running it with billions of calls done continuously and no issues. The project seems abandoned actually... I'm using my own fork with this fix instead. No more problems. |
It's great that you found a way to fix it. It really strikes me that it stopped working suddenly, but I will look into your solution to understand more about the origin of the problem. Thank you very much for answering my message @nosachamos |
You bet, good luck! |
I'm also having this issue, but I don't have any issues when debugging in the IDE, the problem appears quickly after packaging, and as long as the eel is triggered frequently, I will have a similar problem |
Eel version
Eel 0.14.0
Describe the bug
I still have this issue. It happens when eel seems overloaded with messages.
eel.js:115 WebSocket connection to 'ws://localhost:8080/eel?page=index.html' failed: Invalid frame header
Not sure what to do with it right now as this is a total blocker, once it happens Eels just dies.
To Reproduce
I have a system in which thousands of calls are made from the Python code to JS code. After a few seconds of this, I get this issue. I don have a repro code that is standalone, but perhaps having method calls in loop would do it.
Expected behavior
Eel should not die, or should recover if this happens.
Desktop (please complete the following information):
Ubuntu, Chrome
The text was updated successfully, but these errors were encountered: