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 upWebseeds stuck sometime #963
Comments
This comment has been minimized.
This comment has been minimized.
|
Could you provide debugging logs? It might be the error where the webseed 'peer' 'chokes' and gets removed You can activate debugging logs with |
This comment has been minimized.
This comment has been minimized.
|
Here is log from PC1 and PC2. Both got stuck at 12.9% webtorrent.bna.vn-pc1-1477823017399.txt |
This comment has been minimized.
This comment has been minimized.
|
This is log from PC1 after I close browser on PC2. I see : |
This comment has been minimized.
This comment has been minimized.
|
Got the same problem when downloading through the webseed it goes only for 17-33% and then it get stuck. Complete event never happens. @feross could you check please? In my situation the tracker is not always available or it couldn't connect with websockets - but it seems to me that then the webseed should be fully used... |
This comment has been minimized.
This comment has been minimized.
|
Looking at the logs that were posted. The interesting parts are line 2615 in the pc1 log and line 308 in pc2 log. Those lines correspond to the last piece request to the webseed. Immediately following, pc1 and pc2 form a webrtc connection to each other then both destroy the webseed peer. I'm not sure why the webseed peer is being destroyed in this case, but it may have something to do with pc1 and pc2 connecting since everything was fine before. |
This comment has been minimized.
This comment has been minimized.
|
@DiegoRBaquero yes we got a regularly a "uninterested" following by "choke" in our sample at piece 56 out of 160 and the webseed download hangs... Is it supposed to recover after choke? Now it just hangs forever... |
This comment has been minimized.
This comment has been minimized.
|
actually it turns our that web seeds shouldn't choke, so addressed the above with #972 |
This comment has been minimized.
This comment has been minimized.
|
So, anyone can fix this bug ? |
This comment has been minimized.
This comment has been minimized.
|
I just found I had this problem too, it seems to lose the webseed object. |
This comment has been minimized.
This comment has been minimized.
|
Sorry for the delay on this. This was fixed in #972. Just published a fix as version 0.98.1. |
This comment has been minimized.
This comment has been minimized.
|
Thanks Feross, the fix is working very well. |
This comment has been minimized.
This comment has been minimized.
|
Hi, I am still having this problem when I put my code online. I made screenshot of the logs This is not happening when testing locally, but occurs when putting everything in the cloud behind an nginx. Trying to figure out if the nginx is doing something wrong. It's still a weird behaviour, as most of the parts seem to download fine, even in large files, it downloads 99% and then gets stuck. With very small files, it get's stuck when there are a couple of pieces missing. Sometimes it gets the whole file (when small). I am not sure what might be happening. I am using webtorrent 0.98.19 in Chrome, Mac OS X . Any help? Thanks |

I created a torrent file with url video in it. Normally when I test with 1 pc, it's work just fine , you can check it here http://webtorrent.bna.vn
When another PC join to watch video, something weird happen, sometime video on PC 1 stop, sometime PC2, and sometime both stop.
Browser doesn't get video from webserver anymore
video : https://www.youtube.com/watch?v=7bUCdWGZRhc&feature=youtu.be