kasmtech / workspaces-core-images

https://www.kasmweb.com
Other
356 stars 121 forks source link

error 403 #15

Open peng-1998 opened 2 years ago

peng-1998 commented 2 years ago

When I build the image, some errors occur like: Install KasmVNC server --2022-05-08 00:43:33-- https://kasmweb-build-artifacts.s3.amazonaws.com/kasmvnc/2959156a25997290ec8a31d40990a421ecb0eb9d/kasmvncserver_jammy_0.9.3_master_295915_amd64.deb Resolving kasmweb-build-artifacts.s3.amazonaws.com (kasmweb-build-artifacts.s3.amazonaws.com)... 54.231.225.9 Connecting to kasmweb-build-artifacts.s3.amazonaws.com (kasmweb-build-artifacts.s3.amazonaws.com)|54.231.225.9|:443... connected. HTTP request sent, awaiting response... 403 Forbidden 2022-05-08 00:43:36 ERROR 403: Forbidden.

So,how can i fix it

j-travis commented 2 years ago

It looks like when you built the image you have changed the base container to ubuntu 22.04 (jammy) . We don't support this yet. You can see its trying to pull a jammy build for KasmVNC which is not available yet.

peng-1998 commented 2 years ago

I'm sure the base image I'm using is nvidia/cuda: 11.3.0-devel-ubuntu20.04. I am trying to build CUDA 11.3 devel from the core image of KASM now.

mmcclaskey commented 2 years ago

The URL to download KasmVNC is dynamically generated based on the distro. I clearly see jammy in the KasmVNC URL where it should be focal if you are basing from ubuntu 20.04. Perhaps if you shared your dockerfile and build command that would help.

peng-1998 commented 2 years ago

Thank you for your answer. I have found the cause of the error. I accidentally used the Ubuntu 22.04 repository when setting up mirrors.