demotomohiro / remocolab

remocolab is a Python module to allow remote access to Google Colaboratory using SSH or TurboVNC.
MIT License
316 stars 229 forks source link

Fetch error #59

Closed wendersonj closed 3 years ago

wendersonj commented 3 years ago

Hi ! Got error when trying to lauch VNC with GPU:

Warning! GPU of your assigned virtual machine is Tesla K80.

Error triggered when it was at:

fetch: libnvidia-decode-450

Traceback :

FetchFailedException                      Traceback (most recent call last)

<ipython-input-4-0266415ad402> in <module>()
----> 1 remocolab.setupVNC()

6 frames

/usr/lib/python3/dist-packages/apt/cache.py in _run_fetcher(self, fetcher, allow_unauthenticated)
    448             raise FetchCancelledException(err_msg)
    449         elif failed:
--> 450             raise FetchFailedException(err_msg)
    451         return res
    452 

FetchFailedException: Failed to fetch http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu/pool/main/n/nvidia-graphics-drivers-450/libnvidia-compute-450_450.66-0ubuntu0~0.18.04.2_amd64.deb Could not connect to ppa.launchpad.net:80 (91.189.95.83), connection timed out [IP: 91.189.95.83 80]
Failed to fetch http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu/pool/main/n/nvidia-graphics-drivers-450/libnvidia-encode-450_450.66-0ubuntu0~0.18.04.2_amd64.deb Unable to connect to ppa.launchpad.net:http: [IP: 91.189.95.83 80]
Failed to fetch http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu/pool/main/n/nvidia-graphics-drivers-450/libnvidia-fbc1-450_450.66-0ubuntu0~0.18.04.2_amd64.deb Unable to connect to ppa.launchpad.net:http: [IP: 91.189.95.83 80]
Failed to fetch http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu/pool/main/n/nvidia-graphics-drivers-450/libnvidia-gl-450_450.66-0ubuntu0~0.18.04.2_amd64.deb Unable to connect to ppa.launchpad.net:http: [IP: 91.189.95.83 80]
Failed to fetch http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu/pool/main/n/nvidia-graphics-drivers-450/libnvidia-ifr1-450_450.66-0ubuntu0~0.18.04.2_amd64.deb Unable to connect to ppa.launchpad.net:http: [IP: 91.189.95.83 80]
Failed to fetch http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu/pool/main/n/nvidia-graphics-drivers-450/nvidia-compute-utils-450_450.66-0ubuntu0~0.18.04.2_amd64.deb Unable to connect to ppa.launchpad.net:http: [IP: 91.189.95.83 80]
Failed to fetch http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu/pool/main/n/nvidia-graphics-drivers-450/nvidia-utils-450_450.66-0ubuntu0~0.18.04.2_amd64.deb Unable to connect to ppa.launchpad.net:http: [IP: 91.189.95.83 80]
Failed to fetch http://ppa.launchpad.net/marutter/c2d4u3.5/ubuntu/pool/main/b/backports/r-cran-backports_1.1.9-1cran1.1804.0_amd64.deb Unable to connect to ppa.launchpad.net:http: [IP: 91.189.95.83 80]
Failed to fetch http://ppa.launchpad.net/marutter/c2d4u3.5/ubuntu/pool/main/m/mgcv/r-cran-mgcv_1.8-33-1cran1.1804.0_amd64.deb Unable to connect to ppa.launchpad.net:http: [IP: 91.189.95.83 80] 
demotomohiro commented 3 years ago
Warning! GPU of your assigned virtual machine is Tesla K80.

This warning message tells you your colab machine uses Tesla K80 GPU. Google colab assign you the machine with Tesla T4, P100, or K80 randomly. remocolab show this message because K80 is oldest one and someone people want to use P100 or T4 rather than K80. If you are fine with Tesla K80, ignore this message or add parameter check_gpu_available = False to remocolab.setupVNC().

These Failed to fetch http://ppa.launchpad.net/... error messages looks like temporary server down. remocolab.setupVNC() runs system update. I think when you execute it, ubuntu package server was temporary down and you got these error. I tested remocolab.setupVNC() now and it worked without error.

wendersonj commented 3 years ago

Thanks for answering ! Yes, it worked later. I had problems with the ngrok not tunneling, but I changed the region and it worked just fine.

Thanks for the amazing code <3 !