Skip to content

Hung on "opening remote" after first start #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
deansheather opened this issue Jan 4, 2023 · 1 comment
Closed

Hung on "opening remote" after first start #1

deansheather opened this issue Jan 4, 2023 · 1 comment
Assignees

Comments

@deansheather
Copy link
Member

On Windows 10, VSCode stable

The plugin was installed via settings sync as I have installed it on my laptop.

  1. Sign into https://dev.coder.com through the extension tab
  2. Click open workspaces
  3. Click on a running workspace
  4. The binary starts downloading locally
  5. Once the binary finished downloading, the ping shows up as Direct (41.02ms) but the editor hangs on "Opening Remote..."

image

Coder extension logs
Checking for cached binary: Error: ENOENT: no such file or directory, stat 'c:\Users\dean\AppData\Roaming\Code\User\globalStorage\coder.coder-remote\bin\coder-windows-amd64-v0.13.6-devel+5e540e34.exe'
Started watching workspace
Downloaded binary: c:\Users\dean\AppData\Roaming\Code\User\globalStorage\coder.coder-remote\bin\coder-windows-amd64-v0.13.6-devel+5e540e34.exe
Using cached binary: c:\Users\dean\AppData\Roaming\Code\User\globalStorage\coder.coder-remote\bin\coder-windows-amd64-v0.13.6-devel+5e540e34.exe
Started watching workspace
+ INSTALL_ARCH=x86_64
+ INSTALL_TARGET=unknown-linux-gnu
+ MIN_GLIBC_VERSION=2.18

+ ldd --version

+ LDD=ldd (Ubuntu GLIBC 2.31-0ubuntu9.9) 2.31
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.

+ uname

+ [ Linux = Darwin ]


+ 
echo ldd (Ubuntu GLIBC 2.31-0ubuntu9.9) 2.31
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
+ grep -q musl

+ 
echo ldd (Ubuntu GLIBC 2.31-0ubuntu9.9) 2.31
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.


+ grep
glibc version is 2.31
is min? 1

 -o GLIBC [0-9]\+\.[0-9]\+
+ head -n 1
+ tr -d GLIBC 
+ GLIBC_VERSION=2.31
+ echo glibc version is 2.31
+ awk BEGIN{ print "2.18"<="2.31" }
+ IS_MIN_GLIBC_VERSION=1
+ echo is min? 1
+ [ 1 = 0 ]
+ uname
Failed to get network status: Error: read ECONNRESET
Using cached binary: c:\Users\dean\AppData\Roaming\Code\User\globalStorage\coder.coder-remote\bin\coder-windows-amd64-v0.13.6-devel+5e540e34.exe
Started watching workspace
+ INSTALL_ARCH=x86_64
+ INSTALL_TARGET=unknown-linux-gnu
+ MIN_GLIBC_VERSION=2.18
+ ldd --version

+ LDD=ldd (Ubuntu GLIBC 2.31-0ubuntu9.9) 2.31
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
+ uname

+ [ Linux = Darwin ]

+ echo ldd (Ubuntu GLIBC 2.31-0ubuntu9.9) 2.31
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
+ 
grep -q musl

+ echo ldd (Ubuntu GLIBC 2.31-0ubuntu9.9) 2.31
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.

+ grep -o GLIBC [0-9]\+\.[0-9]\+
+ head -n 1
+ 
glibc version is 2.31

tr -d GLIBC 
+ GLIBC_VERSION=2.31
+ echo glibc version is 2.31

Failed to get network status: Error: read ECONNRESET
Using cached binary: c:\Users\dean\AppData\Roaming\Code\User\globalStorage\coder.coder-remote\bin\coder-windows-amd64-v0.13.6-devel+5e540e34.exe
Started watching workspace
+ INSTALL_ARCH=x86_64
+ INSTALL_TARGET=unknown-linux-gnu
+ MIN_GLIBC_VERSION=2.18
+ ldd --version

+ LDD=ldd (Ubuntu GLIBC 2.31-0ubuntu9.9) 2.31
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
+ uname

+ [ Linux = Darwin ]

+ echo ldd (Ubuntu GLIBC 2.31-0ubuntu9.9) 2.31
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
+ grep -q musl

+ echo ldd (Ubuntu GLIBC 2.31-0ubuntu9.9) 2.31
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
+ 
grep -o GLIBC [0-9]\+\.[0-9]\+
+ head -n 1
+ tr
glibc version is 2.31
is min? 1

 -d GLIBC 
+ GLIBC_VERSION=2.31
+ echo glibc version is 2.31
+ awk BEGIN{ print "2.18"<="2.31" }
+ IS_MIN_GLIBC_VERSION=1
+ echo is min? 1
+ [ 1 = 0 ]
+ uname -m
+ ARCH=x86_64
+ [ x86_64 = aarch64 ]
+ [ x86_64 = arm64 ]
+ INSTALL_URL=https://aka.ms/vscode-server-launcher/x86_64-unknown-linux-gnu
+ echo Installing from https://aka.ms/vscode-server-launcher/x86_64-unknown-linux-gnu
+ INSTALL_DIR=/home/coder/.vscode-remote/bin
+ 
@mafredri
Copy link
Member

mafredri commented Jan 9, 2023

Same on Darwin, it seems it's hung running code-server ps in the workspace (due to license prompt):

❯ /home/mafredri/.vscode-remote/bin/code-server ps

VS Code Server

*
* By using the software, you agree to the
* the Visual Studio Code Server License Terms (https://aka.ms/vscode-server-license) and
* the Microsoft Privacy Statement (https://privacy.microsoft.com/en-US/privacystatement).
*

? Do you accept the terms in the License Agreement (y/n) › yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants