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 uptimeout setting and error callback question #1100
Closed
Comments
Merged
This comment has been minimized.
This comment has been minimized.
|
Fixed by: #1103 |
josephfrazier
added a commit
that referenced
this issue
Apr 13, 2017
This comment has been minimized.
This comment has been minimized.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.

I have two question about webtorrent api.
i want to get file's information from magnet uri. so my code is :
i run the code on two vps. the first one is located in Japan, the second is located in US.
Japan vps result is:
no callback for a long time. And i can't find the timeout option from webtorrent api.
US vps result is:
args[0] = '[' + this.client._debugId + '] [' + this._debugId + '] ' + args[0]
TypeError: Cannot read property '_debugId' of null
this error is not occur on client.on('error') and stop my nodejs process. what is so bad.
nodejs version : v7.6.0
webtorrent version: 0.98.16
Maybe my question is how can i deal with the unavailable or poor quality magnet uri.
please help me solve the problems. Thank you.