menukaonline / Torrents-to-Google-Drive

This is a Google Colab notebook with QBittorrent and Rclone, which can download torrents to Google Drive
98 stars 61 forks source link

ngrok error #2

Closed shakakibara12 closed 3 years ago

shakakibara12 commented 3 years ago

i am unable to get through ngrok, getting these 2 errors everytime!

  1. Tunnel ***.ngrok.io not found OR
  2. Unauthorized

I tried making a new ngrok account, for a new auth token...still getting these two errors. HELPPP!

rbitpunch commented 3 years ago

Note 1: people having "tunnel not found issues" run the qbittorent block for multiple times until you get the webui(weirdly its the third time you'll get the webui. sometimes the first time.)

note 2: people having "unauthorized" issue, MAKE SURE YOU OPEN THE UI WEBPAGE IN A PRIVATE WINDOW OR NEW WINDOW or preferrably in an other browser.

-per B SATWIKRAO

YOZZOPANOZZO commented 3 years ago

Unfortunately even after trying multiple times i still get tunnel not found. I noticed that no new files are created in the installation path, i am guessing the qbitorrent files should normally be there...

jericjan commented 3 years ago

Note 1: people having "tunnel not found issues" run the qbittorent block for multiple times until you get the webui(weirdly its the third time you'll get the webui. sometimes the first time.)

That's usually what I would do, but now it's just not doing anything no matter how many times I do it.

jericjan commented 3 years ago

I tried to manually run qbittorent-nox on colab with !qbittorrent-nox [TORRENT_FILE | URL] and that seems to get it going. but the problem is the UI can't get sent to ngrok for some reason.

I also curl'd the UI and it is there, but I lack the knowledge to know why ngrok won't take it.

jericjan commented 3 years ago

@YOZZOPANOZZO @shakakibara12 @rbitpunch I used a different tunneling software called localtunnel, and it seems to have worked like a charm. You can use it in the meantime if you like: Torrents_to_GoogleDrive(localtunnelver).ipynb

A few things though:

menukaonline commented 3 years ago

I see that Ngrok doesn't work most of the time, and I think that happens because google has blocked Ngrok ports due to heavy resource usage. Torrenting using Colab means abusing its resources; that's why they limit features like GPU/runtime duration/session storage.

@jericjan Just create a pull request. I will merge and give you credits after checking out.