Google Colab - Runtime disconnected

What is the problem you are having with rclone?

The problem isn't with Rclone specifically, but I guess it is related. I've used Google Colab in the past to copy files/folders from one cloud to another with no issues. However, twice today I've gotten this error message and my runtime disconnected. Is this a new thing of Google cracking down on people using Rclone in Colab for cloud-to-cloud copying or am I perhaps doing something wrong?

Runtime disconnected
Your runtime has been disconnected due to executing code that is disallowed in our free of charge tier. Colab subsidizes millions of users and prioritizes interactive programming sessions while disallowing some types of usage as outlined in the FAQ. If you believe this message is in error, file an appeal. Please include any relevant context about your usage.
Your compute unit balance is 0. Purchase more
To connect to a new runtime, click the connect button below.

Run the command 'rclone version' and share the full output of the command.

rclone v1.68.1

  • os/version: ubuntu 22.04 (64 bit)
  • os/kernel: 6.1.85+ (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.23.1
  • go/linking: static
  • go/tags: none

Which cloud storage system are you using? (eg Google Drive)

Google Drive and Linkbox/Telebox

The command you were trying to run (eg rclone copy /tmp remote:tmp)

!rclone copy --ignore-existing --checksum --verbose --transfers 15 --checkers 8 --max-depth 5000 --contimeout 60s --timeout 300s --retries 3 --low-level-retries 10 --stats 1s --stats-file-name-length 0 --ftp-no-check-certificate --drive-acknowledge-abuse "redacted:redacted" "redacted:redacted"
1 Like

hello I have a similar problem can you see my post ?

It seems like you're having a different issue to the one I'm having.

yes maybe idk
I was looking for a bit of solidarity

try chmod 777 the rclone binary, it work for me so far

How do I do this in Google Colab? What does it do?

Same issue here. I think it detects now that a lot of bandwidth is been used. Even with chmod 777 it doesn't work. :frowning:

EDIT: even limiting the bandwidth of rclone copy to 1MB it stops after 5mins, so maybe because it detects that is something not interactive?

Are you using the free tier or have you bought compute units?

Using the free tier as I have many times before without any issue.

I haven't been using Google Colab for about a year because I was busy with real life work, but now that I tried it, it just doesn't allow me to run rclone anymore on the Free Tier, which was working just fine last year and it's really sad that they don't allow it anymore...
image

anyway, I wrote a test notebook in here. so anyone feel free to give it a try and I hope someone can come with a solution, thanks!

Same issue here. Have been using it for quite some time now and suddenly it shows this error event if I only mount it without any I/O operations.

same here, now I get disconnected a few minutes after copying.

nvm, its not working anymore

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.