Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upthrow new Error('Not running'); // error message from dgram_legacy.js #601
Comments
This comment has been minimized.
This comment has been minimized.
|
@leidegre Please share the following information:
cc @mafintosh |
This comment has been minimized.
This comment has been minimized.
|
@feross yeah, sorry. Latest 0.72.2 (first thing I did was to bump/update the version of webtorrent) unfortunately that did not fix it. Latest node version, 5.5
From where I'm standing I looks like a socket that has hung up is still being used and that is causing an error somewhere which is probably fine it just the error handling that needs to detect this and handle it gracefully? |
This comment has been minimized.
This comment has been minimized.
|
Can you reliably trigger this error? If you can share code that triggers it reliably, it would really help to debug the issue. Also, please try using webtorrent 0.74.0, since behavior might have changed. |
This comment has been minimized.
This comment has been minimized.
|
Attempted a naive fix and released as 0.74.1. Going to assume this is fixed now. If you see it again, please leave a comment here and I will re-open this issue. |
This comment has been minimized.
This comment has been minimized.
|
@feross No dice but a different stack trace. This appears to be happening when the client is shutdown while a torrent is not cleaned up completely... I think.
I've tried the following patch leidegre@fe8a856, it did not help a thing. Possibly related https://github.com/feross/bittorrent-swarm/blob/master/index.js#L312 ? 0.74.1
Another situation that appears to happen if the torrent is removed rather soon after it has been added.
|
This comment has been minimized.
This comment has been minimized.
|
This was probably fixed a while ago. There were lots of fixes of this sort in |
This comment has been minimized.
This comment has been minimized.
|
This thread has been automatically locked because it has not had recent activity. To discuss futher, please open a new issue. |
I don't got more atm but I'm getting this error soon after a torrent is removed, there's two in total, the other one is pending.
I have a working repo locally but it's not something I can reproduce elsewhere, the issue is probably external but there doesn't seem to be a way for me to handle the error, so the application crashes.