code-server --link on Termux fails
See original GitHub issueOS/Web Information
- Web Browser: Latest stable Opera Desktop
- Local OS: Windows 10 64-bit
- Remote OS: Android 10
- Remote Architecture: aarch64
code-server --version
: 3.11.1 acb5de66b71a3f8f1cc065df4633ecd3f9788d46
Steps to Reproduce
- Get
code-server
installed on Termux by following this docs: https://github.com/cdr/code-server/blob/main/docs/termux.md code-server
is installed and it works fine without--link
, I managed to run it on same local area desktop web browser via !P address.- Stop the program, then rerun it with
--link
:code-server
, the following error shown bellow:
~ $ code-server --link
[2021-08-21T13:29:23.818Z] info code-server 3.11.1 acb5de66b71a3f8f1cc065df4633ecd3f9788d46
[2021-08-21T13:29:23.828Z] info Using user-data-dir ~/.local/share/code-server
[2021-08-21T13:29:23.917Z] info Using config file ~/.config/code-server/config.yaml
[2021-08-21T13:29:23.917Z] info HTTP server listening on http://127.0.0.1:38223 (randomized by --link)
[2021-08-21T13:29:23.918Z] info - Authentication is disabled (disabled by --link)
[2021-08-21T13:29:23.918Z] info - Not serving HTTPS (disabled by --link)
[2021-08-21T13:29:24.009Z] info ping server: dial server: failed to WebSocket dial: failed to send handshake request: Get "https://cloud.coder.com/latency": dial
tcp: lookup cloud.coder.com on [::1]:53: read udp [::1]:55865->[::1]:53: read: connection refused
[2021-08-21T13:29:24.028Z] error --link agent exited with 1
Expected
It should works normally.
Notes
I tested it on Google Cloud Shell (it’s Debian), get installed via install script and get it running normally. Screenshot is below:
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Cant get code-server --link to work in termux #3400 - GitHub
Notes. I have tried to downgrade to 9.3.0 but Im getting a diff error (and I can post in comments what it was...
Read more >Termux - code-server v4.8.0 docs - Coder
Issue : Using git in the /sdcard directory will fail during cloning/commit/staging/etc... Fix : None Potential Workaround : Create a soft-link from the...
Read more >How can i solve code-server runtime error in termux app on ...
I found a better solution for it. I installed proot-distro, then install parrot distribution and then I used this curl -fsSL ...
Read more >how to fix unable to locate package in termux
1 wget error in termux cannot link execute keyboard tagsHow to fix libssl. If you want to go the Manual Route, click here....
Read more >How to install VS Code in an Android Phone? - CodeWithHarry
Step 1 - Install termux · Step 2 - Install ubuntu using termux · Step 3 - Downloading code server · Step 4...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Ah got it, I’ll change the title then.
Weird. I’m guessing you’ve read the docs and looked at your settings?
FWIW, here is what mine look like:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no activity occurs in the next 5 days.