{"action":"created","issue":{"url":"https://api.github.com/repos/feross/webtorrent/issues/519","labels_url":"https://api.github.com/repos/feross/webtorrent/issues/519/labels{/name}","comments_url":"https://api.github.com/repos/feross/webtorrent/issues/519/comments","events_url":"https://api.github.com/repos/feross/webtorrent/issues/519/events","html_url":"https://github.com/feross/webtorrent/issues/519","id":120915246,"number":519,"title":"Seed file in nodejs mode failed.","user":{"login":"hualiwang","id":16126643,"avatar_url":"https://avatars.githubusercontent.com/u/16126643?v=3","gravatar_id":"","url":"https://api.github.com/users/hualiwang","html_url":"https://github.com/hualiwang","followers_url":"https://api.github.com/users/hualiwang/followers","following_url":"https://api.github.com/users/hualiwang/following{/other_user}","gists_url":"https://api.github.com/users/hualiwang/gists{/gist_id}","starred_url":"https://api.github.com/users/hualiwang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hualiwang/subscriptions","organizations_url":"https://api.github.com/users/hualiwang/orgs","repos_url":"https://api.github.com/users/hualiwang/repos","events_url":"https://api.github.com/users/hualiwang/events{/privacy}","received_events_url":"https://api.github.com/users/hualiwang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-08T02:18:51Z","updated_at":"2015-12-09T09:11:24Z","closed_at":null,"body":"How to seed file in node mode?\r\nI created seed.js like this :\r\n\r\nfunction runSeed (input) {\r\n    client = new WebTorrent()\r\n    function onTorrent (torrent) {\r\n        console.log('Client is seeding:', torrent.infoHash)\r\n        console.log(torrent.magnetURI)\r\n    }\r\n    client.seed(input , onTorrent)\r\n}\r\nrunSeed('mp3.mp3')\r\n\r\nopen terminal and it output:\r\nClient is seeding: 38178900b09f42319e8be46c22566222fdcede55\r\nmagnet:?xt=urn:btih:38178900b09f42319e8be46c22566222fdcede55&dn=mp3.mp3&tr=udp%3\r\nA%2F%2Fopen.demonii.com%3A1337&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80&tr\r\n=udp%3A%2F%2Ftracker.publicbt.com%3A80&tr=udp%3A%2F%2Ftracker.webtorrent.io%3A80\r\n&tr=wss%3A%2F%2Ftracker.webtorrent.io\r\n\r\nafter that I open an other terminal and input : webtorrent download magnet:?xt=urn:btih:38178900b09f42319e8be46c22566222fdcede55\r\n\r\nand it only print one line: \r\nfetching torrent metadata from 0 peers\r\n\r\nI have not specified any trackers ,and  webtorrent  will  always use the same trackers ,\r\n\r\nBut the code doesn't work , Am i doing wrong ?"},"comment":{"url":"https://api.github.com/repos/feross/webtorrent/issues/comments/163157012","html_url":"https://github.com/feross/webtorrent/issues/519#issuecomment-163157012","issue_url":"https://api.github.com/repos/feross/webtorrent/issues/519","id":163157012,"user":{"login":"hualiwang","id":16126643,"avatar_url":"https://avatars.githubusercontent.com/u/16126643?v=3","gravatar_id":"","url":"https://api.github.com/users/hualiwang","html_url":"https://github.com/hualiwang","followers_url":"https://api.github.com/users/hualiwang/followers","following_url":"https://api.github.com/users/hualiwang/following{/other_user}","gists_url":"https://api.github.com/users/hualiwang/gists{/gist_id}","starred_url":"https://api.github.com/users/hualiwang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hualiwang/subscriptions","organizations_url":"https://api.github.com/users/hualiwang/orgs","repos_url":"https://api.github.com/users/hualiwang/repos","events_url":"https://api.github.com/users/hualiwang/events{/privacy}","received_events_url":"https://api.github.com/users/hualiwang/received_events","type":"User","site_admin":false},"created_at":"2015-12-09T09:11:24Z","updated_at":"2015-12-09T09:11:24Z","body":" My comment is too long ,so I attached the files:\r\n\r\n\r\n[log.zip](https://github.com/feross/webtorrent/files/56545/log.zip)\r\n\r\n"}}