Giter Club home page Giter Club logo

google-drive-torrent's People

Contributors

karl-chan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

google-drive-torrent's Issues

automatic logout & file not uploading to Google drive

Hi @karl-chan
after downloading file to server, it is not uploading to google drive. But is able to create the folder name in Google drive. No content is uploaded to google drive. even after waiting a log time files are not being uploaded to google drive.
After downloading to server it automatically logout you from your session. If you log in back it is showing no torrent files there.
Edit I have tried with different google account it is disconnecting again and again.

Error: ENOENT: no such file or directory,

I can add the torrent but after some time this error happens

events.js:183
      throw er; // Unhandled 'error' event
      ^

Error: ENOENT: no such file or directory, open '/home/ubuntu/google-drive-torrent/108134869910183279574/ecce289c8b631501c7a1f5a4706756da869bc780/The.Mandalorian.S01.ITA.ENG.1080p.WEB.H264-MeM.mkv/The.Mandalorian.S01E01.ITA.ENG.1080p.WEB.H264-MeM.mkv'

npm ERR! Linux 4.15.0-1057-aws
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "start"
npm ERR! node v8.10.0
npm ERR! npm  v3.5.2
npm ERR! code ELIFECYCLE
npm ERR! [email protected] start: `node server.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script 'node server.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the google-drive-torrent package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node server.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs google-drive-torrent
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls google-drive-torrent
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/ubuntu/google-drive-torrent/npm-debug.log

suspended when deploy heroku

hi, my app always suspended when deploy to heroku.
imo, this app break the rule from heroku. i dont know how to solve it

Google Drive API not enabled

You have to enable Google Drive API on your project otherwise "google-drive-torrent" would keep trying to create a folder and it's gonna throw an invalid_grant error

[feature request] Gdrive upload progress view.

*1.Please how can we see the uploading progress to google drive.
( because for some reason i am not able to see my downloaded torrent to google drive)

*2. Where did torrent store before uploading to google drive.

Error 400 (OAuth2 Error): redirect_uri_mismatch

Can anybody please help me for deploying this app to herokuapp with successful Google login.
I've been trying since last month but I've not succeeded. Every time, I try deploy to heroku and try to login with google, I get the message as (Error: redirect_uri_mismatch).
error
Note: I've added all the google api credentials in node.js file.

error

cannot find module parse torrent

temporary files directory

Edit:
I figured out where the temporary directory is. It would be nice if this could be specified without having to edit the code directly.

issue "URI_MISMATCH"

Hello,
I installed the script, created the credentials on Google API, but, when i'm on the homepage and clicked on Login, Goge send me an error page "error 400, uri_mismatch".
I put "My-domain-namz.com/login-callback" in server.js
I don't understand what URL return I must to setup.
Can you, please help me. @karl-chan

Thanks.

Not connecting to udp trackers

Running this on Google Cloud I am able to add torrents via .torrent or magnet and it appears to resolve, but it never runs. Don't get any peers or any traffic. On the shell it says:
Torrent on warning: Error: No nodes to query
Torrent on warning: Error: tracker request timed out (started) (udp://exodus.desync.com:6969)
Torrent on warning: Error: tracker request timed out (started) (udp://open.demonii.com:1337)
Torrent on warning: Error: tracker request timed out (started) (udp://tracker.coppersurfer.tk:6969)
Torrent on warning: Error: tracker request timed out (started) (udp://tracker.leechers-paradise.org:6969)
Torrent on warning: Error: tracker request timed out (started) (udp://zer0day.ch:1337)

torrent display error

sometimes torrent starts downloading but did't display the progress. Also it doesn't give the option for selective download in that case.

Not actually to gDrive

I was able to run this successfully. But this doesn't actually download it to gdrive.
It downloads the file to computer first then creates a folder My torrents and uploads to it.

But all in all, its a damn decent script.
Nice job mate.

App crashes on heroku on adding torrent

@karl-chan

dont know why but whenever i try to add torrent on the app hosted on heroku it crashes. o am able to authenticate with google and sign in but Don know why it crashes, i ahve provided a log from heroku and my app link if u want to test it ou ur self.

Link- https://tor2gd.herokuapp.com/

LOG

2020-02-11T18:50:58.063736+00:00 heroku[web.1]: State changed from crashed to starting2020-02-11T18:50:57.977093+00:00 heroku[web.1]: Process exited with status 12020-02-11T18:50:57.925715+00:00 app[web.1]: /app/server.js:2022020-02-11T18:50:57.925753+00:00 app[web.1]: console.log(Added torrent: ${util.inspect(torrent.files)});2020-02-11T18:50:57.925754+00:00 app[web.1]: ^2020-02-11T18:50:57.925755+00:00 app[web.1]: 2020-02-11T18:50:57.925755+00:00 app[web.1]: ReferenceError: util is not defined2020-02-11T18:50:57.925756+00:00 app[web.1]: at addTorrentForUser (/app/server.js:202:43)2020-02-11T18:50:57.925756+00:00 app[web.1]: at client.add (/app/server.js:396:13)2020-02-11T18:50:57.925756+00:00 app[web.1]: at Torrent.onReady (/app/node_modules/webtorrent/index.js:224:44)2020-02-11T18:50:57.925757+00:00 app[web.1]: at Object.onceWrapper (events.js:314:30)2020-02-11T18:50:57.925757+00:00 app[web.1]: at emitNone (events.js:110:20)2020-02-11T18:50:57.925758+00:00 app[web.1]: at Torrent.emit (events.js:207:7)2020-02-11T18:50:57.925758+00:00 app[web.1]: at Torrent._onStore (/app/node_modules/webtorrent/lib/torrent.js:627:10)2020-02-11T18:50:57.925759+00:00 app[web.1]: at onPiecesVerified (/app/node_modules/webtorrent/lib/torrent.js:522:14)2020-02-11T18:50:57.925759+00:00 app[web.1]: at end (/app/node_modules/run-parallel-limit/index.js:19:15)2020-02-11T18:50:57.925759+00:00 app[web.1]: at done (/app/node_modules/run-parallel-limit/index.js:23:10)2020-02-11T18:50:57.933718+00:00 heroku[router]: at=error code=H13 desc="Connection closed without response" method=POST path="/add-torrent" host=tor2gd.herokuapp.com request_id=4d453c8e-ef8e-47f1-a840-82365947199e fwd="47.31.137.213" dyno=web.1 connect=1ms service=1758ms status=503 bytes=0 protocol=https2020-02-11T18:50:57.932505+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=websocket&sid=g4VCRoq-_Jojheq6AAAA" host=tor2gd.herokuapp.com request_id=2526e08d-1340-4bd7-82b0-bf4ba762ec83 fwd="47.31.137.213" dyno=web.1 connect=1ms service=8866ms status=101 bytes=175 protocol=https2020-02-11T18:51:03.153851+00:00 heroku[web.1]: Starting process with command node server.js2020-02-11T18:51:08.457187+00:00 heroku[web.1]: State changed from starting to up2020-02-11T18:51:07.877618+00:00 app[web.1]: Warning: connect.session() MemoryStore is not2020-02-11T18:51:07.877682+00:00 app[web.1]: designed for a production environment, as it will leak2020-02-11T18:51:07.877683+00:00 app[web.1]: memory, and will not scale past a single process.2020-02-11T18:51:07.901911+00:00 app[web.1]: (node:4) Warning: N-API is an experimental feature and could change at any time.2020-02-11T18:51:07.904763+00:00 app[web.1]: Node app is running on port 459962020-02-11T18:51:09.435246+00:00 heroku[router]: at=info method=GET path="/dashboard" host=tor2gd.herokuapp.com request_id=894ec731-b43e-4aeb-ae2c-26d44f4caea6 fwd="47.31.137.213" dyno=web.1 connect=0ms service=132ms status=302 bytes=439 protocol=https2020-02-11T18:51:09.818813+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=N0rbnMp" host=tor2gd.herokuapp.com request_id=e2ae77ef-7cba-49e8-8c06-d3f50593c3d9 fwd="47.31.137.213" dyno=web.1 connect=0ms service=60ms status=200 bytes=322 protocol=https2020-02-11T18:51:11.807186+00:00 heroku[router]: at=info method=GET path="/home" host=tor2gd.herokuapp.com request_id=99036406-263b-407a-a122-ad83ad32e0e5 fwd="47.31.137.213" dyno=web.1 connect=1ms service=1777ms status=304 bytes=344 protocol=https2020-02-11T18:51:12.404570+00:00 heroku[router]: at=info method=GET path="/js/scripts.js" host=tor2gd.herokuapp.com request_id=5315ad8a-8630-4e3e-be8a-d85e60f817d5 fwd="47.31.137.213" dyno=web.1 connect=0ms service=17ms status=304 bytes=235 protocol=https2020-02-11T18:51:12.395755+00:00 heroku[router]: at=info method=GET path="/css/styles.css" host=tor2gd.herokuapp.com request_id=c2008f66-f5e0-4b33-a364-197b70893bc8 fwd="47.31.137.213" dyno=web.1 connect=0ms service=87ms status=304 bytes=344 protocol=https2020-02-11T18:51:12.807774+00:00 heroku[router]: at=info method=GET path="/img/galaxy.jpg" host=tor2gd.herokuapp.com request_id=9523b2af-35b8-457e-b2dd-312adf37422c fwd="47.31.137.213" dyno=web.1 connect=0ms service=12ms status=304 bytes=239 protocol=https2020-02-11T18:51:13.614973+00:00 heroku[router]: at=info method=GET path="/favicon.ico" host=tor2gd.herokuapp.com request_id=e3362826-aa9f-498b-af6f-d3016d0722d4 fwd="47.31.137.213" dyno=web.1 connect=0ms service=10ms status=304 bytes=344 protocol=https2020-02-11T18:51:15.431350+00:00 heroku[router]: at=info method=GET path="/login" host=tor2gd.herokuapp.com request_id=9e122bd8-bd9e-4719-9a61-f398091e9e79 fwd="47.31.137.213" dyno=web.1 connect=4ms service=12ms status=302 bytes=1551 protocol=https2020-02-11T18:51:24.152335+00:00 app[web.1]: Obtained tokens: {"access_token":"ya29.a0Adw1xeV7OBSaJEPeeQJ03eRzd0xwdwG6Gu9wql8QQvoDfDwartSBYb2BS5TYUP_W4GybTbphiXsjpClX3A6sbsJ32PXG5KI_86XaMUUTzYVvcqAaOhhxCKOUu9HEgyHZJ_yUcseXJ_YyB9AoJLtp3Q07ORxq1VLclhk","refresh_token":"1//07lLqqO1YTYK-CgYIARAAGAcSNwF-L9IrenXbsPusfF-kWG3rbfDlVIP5W1SiZyjgm9JvlyhicYKQa1u_r7aBacr0uhfKwWgMTvM","scope":"openid https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/drive","token_type":"Bearer","id_token":"eyJhbGciOiJSUzI1NiIsImtpZCI6ImQ4ZWZlYTFmNjZlODdiYjM2YzJlYTA5ZDgzNzMzOGJkZDgxMDM1M2IiLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL2FjY291bnRzLmdvb2dsZS5jb20iLCJhenAiOiI3NzQ2NzMyNTc1NDEtYmhob205aTl0ZHU4ZmYwMzdvYTFwOHRrbTdvNTZwNTguYXBwcy5nb29nbGV1c2VyY29udGVudC5jb20iLCJhdWQiOiI3NzQ2NzMyNTc1NDEtYmhob205aTl0ZHU4ZmYwMzdvYTFwOHRrbTdvNTZwNTguYXBwcy5nb29nbGV1c2VyY29udGVudC5jb20iLCJzdWIiOiIxMTIwMjQxODcyODI1MzU0ODk3ODciLCJhdF9oYXNoIjoiLUVlejYzLVU4WWJpUGFkVnFpME5IUSIsIm5hbWUiOiJTYXVsIEdvb2RtZW4iLCJwaWN0dXJlIjoiaHR0cHM6Ly9saDQuZ29vZ2xldXNlcmNvbnRlbnQuY29tLy1YZVhzSmw4WXJiOC9BQUFBQUFBQUFBSS9BQUFBQUFBQUFBQS9BQ0hpM3JmbmRMSDNGeW5xWEQtY1VIOTFycGlfMzdnSmx3L3M5Ni1jL3Bob3RvLmpwZyIsImdpdmVuX25hbWUiOiJTYXVsIiwiZmFtaWx5X25hbWUiOiJHb29kbWVuIiwibG9jYWxlIjoiZW4iLCJpYXQiOjE1ODE0NDcwODQsImV4cCI6MTU4MTQ1MDY4NH0.GNDmSkztnGCg5YYFy16KcWoxRyaDie6-PUNOxdxlvypyPjBr1L7URez_rG_04jRzQMBl7s7WVOWwR2uZDMPULDgY-JVUj1CxMhSSAmMex2UvPUdPjPBEREed88jTNlH7-W_a4EGX9USAkqN1E2hE_vNG8rTdT6qlsf0xmo6yiLbZWaCawZwip3hQ-KqUDQYcjnky6YC8VuqckbUUWOjb2T9F6Sq7BwQGXmxhyvab2dpOpkVHrB1StqqyecHRi7BhkJuAETd4mWs8WuatoRjknDx-orosAFUxgWjjAS8mGSPGxx1M4moeXnq-T-z0i7QQY5QZUpswN17QtrgkhjFHPA","expiry_date":1581450683151}2020-02-11T18:51:24.259552+00:00 app[web.1]: Obtained user: {"resourceName":"people/112024187282535489787","etag":"%EgYBAj0DNy4aBAECBQc=","metadata":{"sources":[{"type":"PROFILE","id":"112024187282535489787","etag":"#So2XaWDlBlE=","profileMetadata":{"objectType":"PERSON","userTypes":["GOOGLE_USER"]}}],"objectType":"PERSON"},"names":[{"metadata":{"primary":true,"source":{"type":"PROFILE","id":"112024187282535489787"}},"displayName":"Saul Goodmen","familyName":"Goodmen","givenName":"Saul","displayNameLastFirst":"Goodmen, Saul"}],"photos":[{"metadata":{"primary":true,"source":{"type":"PROFILE","id":"112024187282535489787"}},"url":"https://lh4.googleusercontent.com/-XeXsJl8Yrb8/AAAAAAAAAAI/AAAAAAAAAAA/ACHi3rfndLH3FynqXD-cUH91rpi_37gJlw/s100/photo.jpg","default":true}],"id":"112024187282535489787"}2020-02-11T18:51:24.737105+00:00 heroku[router]: at=info method=GET path="/login-callback?code=4%2FwQHpim-q5t0LDSCrOlBC-BqL28zVgJeaz1RR6fQo1Kdb2_GRMJ-DdOKW__Tzrn4PggaXgwdpZeBAvbJEWtQ4zyg&scope=profile+openid+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdrive+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile" host=tor2gd.herokuapp.com request_id=a4178ea1-2c71-4039-9615-e268f4742464 fwd="47.31.137.213" dyno=web.1 connect=0ms service=1127ms status=302 bytes=617 protocol=https2020-02-11T18:51:26.045526+00:00 heroku[router]: at=info method=GET path="/dashboard" host=tor2gd.herokuapp.com request_id=5107f68e-b2cc-4d36-867b-47adf09d58a2 fwd="47.31.137.213" dyno=web.1 connect=1ms service=322ms status=200 bytes=22259 protocol=https2020-02-11T18:51:26.580291+00:00 heroku[router]: at=info method=GET path="/css/styles.css" host=tor2gd.herokuapp.com request_id=cb3e5ade-28e5-4ac8-a02d-c13ef231baa5 fwd="47.31.137.213" dyno=web.1 connect=2ms service=3ms status=304 bytes=507 protocol=https2020-02-11T18:51:26.821571+00:00 heroku[router]: at=info method=GET path="/img/trash.ico" host=tor2gd.herokuapp.com request_id=ac079384-f9a7-4207-b179-1e3d131a1410 fwd="47.31.137.213" dyno=web.1 connect=0ms service=8ms status=304 bytes=239 protocol=https2020-02-11T18:51:26.818833+00:00 heroku[router]: at=info method=GET path="/js/scripts.js" host=tor2gd.herokuapp.com request_id=4b02dcd9-5255-4d74-b5a5-7848dfa34ac4 fwd="47.31.137.213" dyno=web.1 connect=2ms service=2ms status=304 bytes=235 protocol=https2020-02-11T18:51:27.021209+00:00 heroku[router]: at=info method=GET path="/img/lego.svg" host=tor2gd.herokuapp.com request_id=be167012-38b9-46f2-88fc-6399101a85d8 fwd="47.31.137.213" dyno=web.1 connect=0ms service=4ms status=304 bytes=507 protocol=https2020-02-11T18:51:27.316266+00:00 heroku[router]: at=info method=GET path="/favicon.ico" host=tor2gd.herokuapp.com request_id=4ebff002-e05c-4fed-a1d9-3c645bc841ac fwd="47.31.137.213" dyno=web.1 connect=0ms service=11ms status=304 bytes=507 protocol=https2020-02-11T18:51:27.119436+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=N0rbu3E" host=tor2gd.herokuapp.com request_id=0771f4c9-b159-441a-bc42-3f695047a6f7 fwd="47.31.137.213" dyno=web.1 connect=2ms service=7ms status=200 bytes=322 protocol=https2020-02-11T18:51:27.347329+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=N0rbu6t&sid=8w2o2COk5VlBze9WAAAB" host=tor2gd.herokuapp.com request_id=d6598ed2-80be-4b74-94a9-623c8f52b15c fwd="47.31.137.213" dyno=web.1 connect=0ms service=9ms status=200 bytes=251 protocol=https2020-02-11T18:51:28.130497+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=N0rbuAm&sid=8w2o2COk5VlBze9WAAAB" host=tor2gd.herokuapp.com request_id=709a15e4-b29d-4144-80fe-6554f512531d fwd="47.31.137.213" dyno=web.1 connect=0ms service=542ms status=200 bytes=247 protocol=https2020-02-11T18:51:29.058211+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=polling&t=N0rbuOD&sid=8w2o2COk5VlBze9WAAAB" host=tor2gd.herokuapp.com request_id=65a98334-2cc5-4080-9c8a-4bfbe6ee2d9d fwd="47.31.137.213" dyno=web.1 connect=0ms service=610ms status=200 bytes=225 protocol=https2020-02-11T18:51:41.470855+00:00 app[web.1]: Parsed infohash: eddbd1f8e921fc00f97bf3fc4eaea69693fbc1982020-02-11T18:51:41.483998+00:00 app[web.1]: Torrent on warning: Error: Invalid tracker URL: http://tracker.trackerfix.com:80/announce2020-02-11T18:51:41.484492+00:00 app[web.1]: Torrent on warning: Error: Invalid tracker URL: udp://9.rarbg.me:27102020-02-11T18:51:41.484706+00:00 app[web.1]: Torrent on warning: Error: Invalid tracker URL: udp://9.rarbg.to:27102020-02-11T18:51:41.484854+00:00 app[web.1]: Torrent on warning: Error: Invalid tracker URL: udp://open.demonii.com:1337/announce2020-02-11T18:51:43.368025+00:00 heroku[web.1]: State changed from up to crashed2020-02-11T18:51:43.349881+00:00 heroku[web.1]: Process exited with status 12020-02-11T18:51:43.237395+00:00 app[web.1]: /app/server.js:2022020-02-11T18:51:43.237413+00:00 app[web.1]: console.log(Added torrent: ${util.inspect(torrent.files)});2020-02-11T18:51:43.237414+00:00 app[web.1]: ^2020-02-11T18:51:43.237415+00:00 app[web.1]: 2020-02-11T18:51:43.237415+00:00 app[web.1]: ReferenceError: util is not defined2020-02-11T18:51:43.237416+00:00 app[web.1]: at addTorrentForUser (/app/server.js:202:43)2020-02-11T18:51:43.237416+00:00 app[web.1]: at client.add (/app/server.js:396:13)2020-02-11T18:51:43.237417+00:00 app[web.1]: at Torrent.onReady (/app/node_modules/webtorrent/index.js:224:44)2020-02-11T18:51:43.237417+00:00 app[web.1]: at Object.onceWrapper (events.js:314:30)2020-02-11T18:51:43.237417+00:00 app[web.1]: at emitNone (events.js:110:20)2020-02-11T18:51:43.237418+00:00 app[web.1]: at Torrent.emit (events.js:207:7)2020-02-11T18:51:43.237418+00:00 app[web.1]: at Torrent._onStore (/app/node_modules/webtorrent/lib/torrent.js:627:10)2020-02-11T18:51:43.237419+00:00 app[web.1]: at onPiecesVerified (/app/node_modules/webtorrent/lib/torrent.js:522:14)2020-02-11T18:51:43.237420+00:00 app[web.1]: at end (/app/node_modules/run-parallel-limit/index.js:19:15)2020-02-11T18:51:43.237420+00:00 app[web.1]: at done (/app/node_modules/run-parallel-limit/index.js:23:10)2020-02-11T18:51:43.256468+00:00 heroku[router]: at=error code=H13 desc="Connection closed without response" method=POST path="/add-torrent" host=tor2gd.herokuapp.com request_id=96266db0-79eb-4f2c-8626-649a3ee5ff67 fwd="47.31.137.213" dyno=web.1 connect=0ms service=1817ms status=503 bytes=0 protocol=https2020-02-11T18:51:43.262839+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=websocket&sid=8w2o2COk5VlBze9WAAAB" host=tor2gd.herokuapp.com request_id=8862b586-14cb-4da0-bdb2-96ab8e5bb0b5 fwd="47.31.137.213" dyno=web.1 connect=0ms service=14659ms status=101 bytes=175 protocol=https2020-02-11T18:51:45.143969+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/socket.io/?EIO=3&transport=polling&t=N0rbyRz" host=tor2gd.herokuapp.com request_id=1afa3dac-071f-46aa-b6f8-bb9ccb4bc61d fwd="47.31.137.213" dyno= connect= service= status=503 bytes= protocol=https2020-02-11T18:51:49.038244+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/socket.io/?EIO=3&transport=polling&t=N0rbzHu" host=tor2gd.herokuapp.com request_id=277826e8-ddd8-4e30-b65b-be2c343ee455 fwd="47.31.137.213" dyno= connect= service= status=503 bytes= protocol=https2020-02-11T18:51:53.622144+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/socket.io/?EIO=3&transport=polling&t=N0rb-Ld" host=tor2gd.herokuapp.com request_id=e88f8de4-9e26-4df7-a8de-f5f89c263de4 fwd="47.31.137.213" dyno= connect= service= status=503 bytes= protocol=https2020-02-11T18:52:01.192240+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/socket.io/?EIO=3&transport=polling&t=N0rc036" host=tor2gd.herokuapp.com request_id=18e70935-42a7-4560-9422-2362e461c76e fwd="47.31.137.213" dyno= connect= service= status=503 bytes= protocol=https2020-02-11T18:52:09.294459+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/socket.io/?EIO=3&transport=polling&t=N0rc2Fd" host=tor2gd.herokuapp.com request_id=d5855cb9-8011-4964-afb5-60d931631225 fwd="47.31.137.213" dyno= connect= service= status=503 bytes= protocol=https2020-02-11T18:52:16.111255+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/socket.io/?EIO=3&transport=polling&t=N0rc3jN" host=tor2gd.herokuapp.com request_id=812d3ee5-1578-4b81-b9e9-9d2117ffb281 fwd="47.31.137.213" dyno= connect= service= status=503 bytes= protocol=https2020-02-11T18:52:17.774418+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/dashboard" host=tor2gd.herokuapp.com request_id=96eee566-fc21-43cd-b4ee-663ba0c27290 fwd="47.31.137.213" dyno= connect= service= status=503 bytes= protocol=https2020-02-11T18:52:18.776548+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=tor2gd.herokuapp.com request_id=f1d6db57-cd0d-4df3-997d-cda27597c8ae fwd="47.31.137.213" dyno= connect= service= status=503 bytes= protocol=https

eror

image

hey can someone help me please

Love this, a few small feature asks

First off, really fantastic piece of software you made! It was super easy to setup and running and looks great.

A few small features I think would be really handy are:

  • The ability to set the name of the folder in Google, so I can change it from "My Torrents".
  • The ability to pause torrents in progress and the ability to set seeding limits. Or probably simpler "stop torrent after X amount of time"
  • Multi User would be fantastic, if it already isn't.
  • ability to change the port/address used
  • BW limit for download to google

I'll keep thinking of other stuff as I keep using it, but seriously fantastic work!

App crashes when torrent is added.

@karl-chan i have hosted it on heroku whenever i add a torrent it adds it and download some portion of it and crashes and creates only folder in the drive.log is given below

2020-03-14T17:36:54.602302+00:00 heroku[router]: at=info method=GET path="/socket.io/?EIO=3&transport=websocket&sid=Da1JOqO96V19pqKzAAAA" host=gtnt.herokuapp.com request_id=6ca77ede-7a2a-4952-9536-2146c0dd4089 fwd="47.31.98.146" dyno=web.1 connect=0ms service=19706ms status=101 bytes=175 protocol=https
2020-03-14T17:36:55.939498+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/socket.io/?EIO=3&transport=polling&t=N3Q7iUC" host=gtnt.herokuapp.com request_id=4c63f5e5-587c-4da4-9109-c3891760562f fwd="47.31.98.146" dyno= connect= service= status=503 bytes= protocol=https
2020-03-14T17:36:59.129260+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/socket.io/?EIO=3&transport=polling&t=N3Q7jGM" host=gtnt.herokuapp.com request_id=3918ecf1-82ca-406c-b11a-d15fa027c08e fwd="47.31.98.146" dyno= connect= service= status=503 bytes= protocol=https
2020-03-14T17:37:04.943229+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/socket.io/?EIO=3&transport=polling&t=N3Q7kUq" host=gtnt.herokuapp.com request_id=0cea4b35-dd80-4659-9af3-aa111615f460 fwd="47.31.98.146" dyno= connect= service= status=503 bytes= protocol=https
2020-03-14T17:37:11.643614+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/socket.io/?EIO=3&transport=polling&t=N3Q7m48" host=gtnt.herokuapp.com request_id=4831d1c3-a153-40d5-a429-ec54cd0c4f4b fwd="47.31.98.146" dyno= connect= service= status=503 bytes= protocol=https
2020-03-14T17:37:19.458453+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/socket.io/?EIO=3&transport=polling&t=N3Q7o18" host=gtnt.herokuapp.com request_id=f064da68-01d5-4175-8639-5aeee0389438 fwd="47.31.98.146" dyno= connect= service= status=503 bytes= protocol=https
2020-03-14T17:37:27.759509+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/socket.io/?EIO=3&transport=polling&t=N3Q7p-9" host=gtnt.herokuapp.com request_id=6083e686-f8d4-4e3f-89d1-71362e58cd14 fwd="47.31.98.146" dyno= connect= service= status=503 bytes= protocol=https
2020-03-14T17:37:35.685290+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/socket.io/?EIO=3&transport=polling&t=N3Q7rx8" host=gtnt.herokuapp.com request_id=69bfa878-b043-4b5f-984c-3b4c1e7ef480 fwd="47.31.98.146" dyno= connect= service= status=503 bytes= protocol=https
2020-03-14T17:37:43.461601+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/socket.io/?EIO=3&transport=polling&t=N3Q7tuA" host=gtnt.herokuapp.com request_id=32fe2792-4b2d-415d-92d2-d62407b396fb fwd="47.31.98.146" dyno= connect= service= status=503 bytes= protocol=https
2020-03-14T17:37:51.450954+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/socket.io/?EIO=3&transport=polling&t=N3Q7vr8" host=gtnt.herokuapp.com request_id=81bfd463-d021-4dfa-853f-67ec68857c9a fwd="47.31.98.146" dyno= connect= service= status=503 bytes= protocol=https
2020-03-14T17:37:59.441061+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/socket.io/?EIO=3&transport=polling&t=N3Q7xo8" host=gtnt.herokuapp.com request_id=d7116218-158e-4f56-8d42-d18ef0622ff9 fwd="47.31.98.146" dyno= connect= service= status=503 bytes= protocol=https
2020-03-14T17:38:07.556220+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/socket.io/?EIO=3&transport=polling&t=N3Q7zl9" host=gtnt.herokuapp.com request_id=9933bc0f-aba9-4202-9848-747c8bd6aef5 fwd="47.31.98.146" dyno= connect= service= status=503 bytes= protocol=https
2020-03-14T17:38:15.474907+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/socket.io/?EIO=3&transport=polling&t=N3Q7_i8" host=gtnt.herokuapp.com request_id=01f54f56-e93a-4e47-8a39-7e9efc8a8cc6 fwd="47.31.98.146" dyno= connect= service= status=503 bytes= protocol=https
2020-03-14T17:38:23.461658+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/socket.io/?EIO=3&transport=polling&t=N3Q81f7" host=gtnt.herokuapp.com request_id=2623214d-69ef-4a2f-b75c-7294a506d5ca fwd="47.31.98.146" dyno= connect= service= status=503 bytes= protocol=https
2020-03-14T17:38:31.534519+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/socket.io/?EIO=3&transport=polling&t=N3Q83c9" host=gtnt.herokuapp.com request_id=05cc43a8-f047-4c56-90a2-cba23ac639d4 fwd="47.31.98.146" dyno= connect= service= status=503 bytes= protocol=https
2020-03-14T17:38:39.731018+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/socket.io/?EIO=3&transport=polling&t=N3Q85Z8" host=gtnt.herokuapp.com request_id=8ce181a2-8144-4cbc-892b-2a762ab37fc6 fwd="47.31.98.146" dyno= connect= service= status=503 bytes= protocol=https
2020-03-14T17:38:45.038806+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/dashboard" host=gtnt.herokuapp.com request_id=ed645d10-f85b-47fe-9dfb-2e2d2d511e66 fwd="47.31.98.146" dyno= connect= service= status=503 bytes= protocol=https
2020-03-14T17:38:45.586810+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=gtnt.herokuapp.com request_id=e407eda7-dd08-4b44-b528-049806ac6414 fwd="47.31.98.146" dyno= connect= service= status=503 bytes= protocol=https
2020-03-14T17:39:01.762480+00:00 heroku[web.1]: State changed from crashed to starting
2020-03-14T17:39:06.212521+00:00 heroku[web.1]: Starting process with command node server.js
2020-03-14T17:39:11.214717+00:00 app[web.1]: Warning: connect.session() MemoryStore is not
2020-03-14T17:39:11.214736+00:00 app[web.1]: designed for a production environment, as it will leak
2020-03-14T17:39:11.214736+00:00 app[web.1]: memory, and will not scale past a single process.
2020-03-14T17:39:11.230168+00:00 app[web.1]: (node:4) Warning: N-API is an experimental feature and could change at any time.
2020-03-14T17:39:11.231425+00:00 app[web.1]: Node app is running on port 4656
2020-03-14T17:39:11.821166+00:00 heroku[web.1]: State changed from starting to up

on shared hosting

I am trying to deploy this on a shared hosting server, which has a limitation that it cannot open incoming port
thats what the support staff said to me.

Is there any way I can fix the issue ?

Why Linux Server Cant Run

Show Error Here:

npm ERR! Linux 3.16.0-4-amd64
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "start"
npm ERR! node v4.8.6
npm ERR! npm v2.15.11
npm ERR! code ELIFECYCLE
npm ERR! [email protected] start: node server.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script 'node server.js'.
npm ERR! This is most likely a problem with the google-drive-torrent package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node server.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs google-drive-torrent
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls google-drive-torrent
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /usr/local/bin/google-drive-torrent/npm-debug.log

Redirect error

I am getting strange redirect error post oauth screen after I select the e-mail and allows app to access my Google Drive, the app suddenly shows error screen and redirects to the default homepage.

I have deployed this app many times on heroku and on vps before, it used to work fine but now it stopped working. Please check if possible. Thanks :)

P.S. http://google-drive-torrent.herokuapp.com/ still seems to be working fine for some reason and there's only issues when we deploy a new app.

http://imgur.com/NDPkY5S

http://imgur.com/JrK7OLf

Upgrading Helmet to the next major version

I'm the maintainer of Helmet. I plan to release the next major version this Sunday, 2020-08-22.

Is there anything I can do to help get this project upgraded to helmet@4?

If you'd like to try out the release candidate now, you can install it with npm install helmet@next. If you'd rather discuss things outside of this issue, feel free to reach out to me another way.

Hope I can be helpful!

[Feature Request] Zip Folder

I really love your project, it's really awesome to download torrent in different way. But, I got some issues for downloading multiple files or a torrent with more than one file. Maybe it would be nice if we can zipping the folder before upload it to Google Drive, so we can download it as a single file. Hope you can make this feature happens in your project. Thanks in advance. :)

Redirect Url

Hi,

What's the redirect url setting for this app?

Files not being saved to Google Drive

I have been using this app for the last few days and I found a weird issue where torrent's file is not being saved in the Google Drive, particularly with certain torrent where there's only a single file in the torrent.

For ex:

magnet:?xt=urn:btih:9f542481532138424d5c2550633d7abb01688225&dn=Gold.Rush.S07E24_SP05.HQ480p.318mb.hdtv.x264-Parkers+trail1+mp4&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969&tr=udp%3A%2F%2Fzer0day.ch%3A1337&tr=udp%3A%2F%2Fopen.demonii.com%3A1337&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969&tr=udp%3A%2F%2Fexodus.desync.com%3A6969

It seems to download torrent with multiple files in it to Google Drive normally, but fails to download torrents without folders and only a single file. Please check. Thanks~!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.