Skip to content

Cloud agent doesn't support Termux #2758

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
akr2002 opened this issue Feb 23, 2021 · 10 comments
Closed

Cloud agent doesn't support Termux #2758

akr2002 opened this issue Feb 23, 2021 · 10 comments
Assignees
Labels
bug Something isn't working upstream Needs to be fixed upstream
Milestone

Comments

@akr2002
Copy link
Contributor

akr2002 commented Feb 23, 2021

  • Web Browser: It hardly matters in this case but here you go: Microsoft Edge 90.0.796.0 (Official build) dev (64-bit)
  • Local OS: Android 10 Funtouch 10.0 (non-rooted Vivo Y50)
  • Remote OS: Arch Linux 5.10.16-arch1-1
  • Remote Architecture: x86_64
  • code-server --version: 3.9.0 fc6d123

Log file

error.log

Steps to reproduce

  • Update Termux by running apt update && apt upgrade
  • Install required packages with apt install build-essential python git nodejs yarn
  • Install code-server with yarn global add code-server (this step took around 20 minutes on my phone)
  • Edit ~/.config/code-server/config.yml to be able to connect to code-server from other devices on the same network
  • In Termux, run code-server --link. It exits with the same error when trying to run code-server --link subdaminname

Result

image

@jsjoeio
Copy link
Contributor

jsjoeio commented Feb 23, 2021

Thanks for the detailed issue and error log! I'm not super familiar with Termux. Could I follow your reproduction steps on my Android phone (Pixel 2)?

Either way though, looks like some issue with coder-cloud-agent

@jsjoeio jsjoeio added the waiting-for-info Waiting for more information from submitter label Feb 23, 2021
@jsjoeio
Copy link
Contributor

jsjoeio commented Feb 23, 2021

WOW! I didn't realize you could do this with an Android phone. This is insane.

Anyways, skipped the Edit config.yml step and was able to reproduce the issue. Guessing we need to take a look at --link.

Screenshot_20210223-102713

@jsjoeio jsjoeio added bug Something isn't working and removed waiting-for-info Waiting for more information from submitter labels Feb 23, 2021
@jsjoeio jsjoeio added this to the v3.9.1 milestone Feb 23, 2021
@code-asher
Copy link
Member

code-asher commented Feb 23, 2021

I think we don't we ship agent binaries that work on Termux. :(

@jsjoeio
Copy link
Contributor

jsjoeio commented Feb 23, 2021

Could we change that?

@jsjoeio jsjoeio modified the milestones: v3.9.1, v3.9.2 Feb 24, 2021
@code-asher
Copy link
Member

code-asher commented Feb 24, 2021 via email

@code-asher code-asher changed the title code-server exits with error when running "code-server --link" in Termux code-server cloud agent doesn't support Termux Feb 24, 2021
@code-asher code-asher changed the title code-server cloud agent doesn't support Termux Cloud agent doesn't support Termux Feb 24, 2021
@iamSlightlyWind
Copy link

  • Local OS: Aarch64 Ubuntu 18.04 Chroot (Linux Deploy - Rooted T865)
  • code-sever --version: 3.9.0 fc6d123da59a4e5a675ac8e080f66e032ba01a1b

Step to reproduce:

  • ssh into Ubuntu with Termux
  • Update sudo apt-get update
  • Install my required package sudo apt-get install git build-essential python
  • Install code-server curl -fsSL https://code-server.dev/install.sh | sh
  • run code-server --link

Log

How about ubuntu arm64 running in chroot then:(

@code-asher
Copy link
Member

I suspect we only ship amd64 binaries.

@code-asher code-asher added the upstream Needs to be fixed upstream label Mar 16, 2021
@jsjoeio jsjoeio modified the milestones: v3.9.2, v3.9.3 Mar 16, 2021
@oxy
Copy link

oxy commented Mar 18, 2021

Waiting on coder/cloud-agent#13 right now.

@oxy oxy self-assigned this Mar 18, 2021
@jsjoeio jsjoeio modified the milestones: v3.9.3, On Deck Apr 8, 2021
@AirplanegoBrr
Copy link

Is this fixed yet?

@oxy
Copy link

oxy commented May 31, 2021

Should actually be fixed! We do ship arm64 binaries now and they should be downloading correctly.

@oxy oxy closed this as completed May 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working upstream Needs to be fixed upstream
Projects
None yet
Development

No branches or pull requests

6 participants