Open magick93 opened 5 years ago
This is a known issue. See #97. I would recommend, if possible, to change your remote instance to Ubuntu 19.04.
Ok, now I'm going to harass you in this repo as well 😊 I also get the error (on OSX) After 73 000 lines of code and files listed! (are those downloaded somewhere?) I get this:
sent 38700768 bytes received 378954 bytes 1042125.92 bytes/sec
total size is 98376971 speedup is 2.52
2019-05-23 23:28:09 INFO synced extensions in 54.06223304s
2019-05-23 23:28:09 INFO starting code-server...
2019-05-23 23:28:09 INFO Tunneling remote port 42566 to 127.0.0.1:14366
pi@fullpageos's password: 2019-05-23 23:28:25 FATAL error: code-server didn't start in time: context deadline exceeded
which kind of feels like the error I got from sail
as well.
It looks like you are trying to connect to a pi. This is a known issue with sshcode. You should try to have the remote instance be ubuntu 18.10 or 19.04.
Also, as a note: those are all of your vsc extensions that were downloaded.
Edit: spelling
version v0.8.0 How do I set the remote instance be ubuntu 18.10 or 19.04? (I don't even know what that means)
regarding downloading: Oh I see,Code server is downloaded on the remote machine?
That is correct. With Sail, code-server is running within the docker container.
Can you run lsb_release -a
on the remote instance and provide the output here?
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 9.4 (stretch)
Release: 9.4
Codename: stretch
Yea, the OS is Raspbian which I don't think is officially supported by code-server.
Also, as a note: code-server requires about 1gb of ram for startup and initialization (so a pi would not go very far).
If you are just using a pi to offload the backend work, then I would recommend just rending a $10 lightsail instance of similar from other providers.
okidokeli. I see. Thanks
We're working on reducing the RAM usage of code-server and adding ARM builds so you can run it on a Raspberry Pi. Once we've added these builds we'll make sure sshcode downloads the matching build to the remote host.
I am getting the same issue on a centOS ( cPanel ) server and can't connect with sshcode :(
cat /etc/os-release
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
CentOS has an old version of glibc which causes problems with code-server. See https://github.com/cdr/code-server/issues/239
Hello
When I try to run
sshcode
I get the below error.I'm running this command on Ubuntu 19.04, and am connecting to Centos 7.