Title: [Bug]: Terminal is not working on Termux. · Issue #5496 · coder/code-server · GitHub
Open Graph Title: [Bug]: Terminal is not working on Termux. · Issue #5496 · coder/code-server
X Title: [Bug]: Terminal is not working on Termux. · Issue #5496 · coder/code-server
Description: Is there an existing issue for this? I have searched the existing issues OS/Web Information Web Browser: Firefox 103.0.2 (64-bit) Local OS: Windows 10 LTSC 21H2 Remote OS: Android 10, Termux 0.118.0, Node.js v16.16.0 Remote Architecture:...
Open Graph Description: Is there an existing issue for this? I have searched the existing issues OS/Web Information Web Browser: Firefox 103.0.2 (64-bit) Local OS: Windows 10 LTSC 21H2 Remote OS: Android 10, Termux 0.118....
X Description: Is there an existing issue for this? I have searched the existing issues OS/Web Information Web Browser: Firefox 103.0.2 (64-bit) Local OS: Windows 10 LTSC 21H2 Remote OS: Android 10, Termux 0.118....
Opengraph URL: https://github.com/coder/code-server/issues/5496
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug]: Terminal is not working on Termux.","articleBody":"### Is there an existing issue for this?\r\n\r\n- [X] I have searched the existing issues\r\n\r\n### OS/Web Information\r\n\r\n- Web Browser: Firefox 103.0.2 (64-bit)\r\n- Local OS: Windows 10 LTSC 21H2\r\n- Remote OS: Android 10, Termux 0.118.0, Node.js v16.16.0\r\n- Remote Architecture: aarch64\r\n- `code-server --version`: 4.6.0\r\n\r\n\r\n### Steps to Reproduce\r\n\r\n1. [Install code-server@4.6.0 on Termux 0.118.0](https://coder.com/docs/code-server/latest/termux#installation).\r\n2. Open Termux app, run `code-server`.\r\n3. Open a browser, login code-server, and open a terminal.\r\n\r\n\r\n### Expected\r\n\r\nSomething like this.\r\n\r\n\r\n\r\n\r\n### Actual\r\n\r\n\r\n\r\n\r\n### Logs\r\n\r\n\r\n```\r\n~/.../pictures/Screenshots $ code-server\r\n[2022-08-24T02:34:11.738Z] info code-server 4.6.0 6d3f9ca6a6df30a1bfad6f073f6fa33c0e63abdb\r\n[2022-08-24T02:34:11.740Z] info Using user-data-dir ~/.local/share/code-server\r\n[2022-08-24T02:34:11.763Z] info Using config file ~/.config/code-server/config.yaml\r\n[2022-08-24T02:34:11.763Z] info HTTP server listening on http://0.0.0.0:8080/ \r\n[2022-08-24T02:34:11.763Z] info - Authentication is enabled\r\n[2022-08-24T02:34:11.764Z] info - Using password from ~/.config/code-server/config.yaml\r\n[2022-08-24T02:34:11.764Z] info - Not serving HTTPS \r\n[10:34:26] Extension host agent started.\r\n[IPC Library: Pty Host] The factory function of \"vs/platform/terminal/node/ptyHostMain\" has thrown an exception\r\n[IPC Library: Pty Host] Error: Platform not supported\r\n at D (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/platform/terminal/node/ptyHostMain.js:19:764)\r\n at E (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/platform/terminal/node/ptyHostMain.js:19:110)\r\n at new E (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/platform/terminal/node/ptyHostMain.js:19:1631)\r\n at Object.\u003canonymous> (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/platform/terminal/node/ptyHostMain.js:24:39279)\r\n at Function.o._safeInvokeFunction (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/loader.js:5:1337)\r\n at Function.o._invokeFactory (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/loader.js:5:1522)\r\n at o.complete (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/loader.js:5:1801)\r\n at o._onModuleComplete (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/loader.js:6:1112)\r\n at o._onModuleComplete (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/loader.js:6:1358)\r\n at o._onModuleComplete (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/loader.js:6:1358)\r\n at o._onModuleComplete (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/loader.js:6:1358)\r\n at o._onModuleComplete (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/loader.js:6:1358)\r\n at o._resolve (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/loader.js:6:510)\r\n at o.defineModule (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/loader.js:5:6144)\r\n at i (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/loader.js:5:10605)\r\n at Object.R (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/loader.js:6:6093)\r\n at Function.o._safeInvokeFunction (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/loader.js:5:1337)\r\n at Function.o._invokeFactory (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/loader.js:5:1522)\r\n at o.complete (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/loader.js:5:1801)\r\n at o._onModuleComplete (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/loader.js:6:1112)\r\n at o._onModuleComplete (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/loader.js:6:1358)\r\n at o._resolve (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/loader.js:6:510)\r\n at o.defineModule (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/loader.js:5:6144)\r\n at y (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/loader.js:6:1825)\r\n at h (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/loader.js:4:2554)\r\n at Object.\u003canonymous> (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/platform/terminal/node/ptyHostMain.nls.js:3:61)\r\n at e._createAndEvalScript (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/loader.js:4:2598)\r\n at /data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/loader.js:4:2237\r\n at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)\r\n[IPC Library: Pty Host] Here are the modules that depend on it:\r\n[IPC Library: Pty Host]% [ '===anonymous1===' ]\r\n[10:34:27] Deleted from disk ms-toolsai.jupyter /data/data/com.termux/files/home/.local/share/code-server/extensions/ms-toolsai.jupyter-2022.5.1001610507\r\n[IPC Library: Pty Host] Unknown channel: heartbeat\r\n[IPC Library: Pty Host] Unknown channel: log\r\n[IPC Library: Pty Host] Unknown channel: ptyHost\r\n[IPC Library: Pty Host] Unknown channel: ptyHost\r\n[IPC Library: Pty Host] Unknown channel: ptyHost\r\n[IPC Library: Pty Host] Unknown channel: ptyHost\r\n[IPC Library: Pty Host] Unknown channel: ptyHost\r\n[IPC Library: Pty Host] Unknown channel: ptyHost\r\n[IPC Library: Pty Host] Unknown channel: ptyHost\r\nrejected promise not handled within 1 second: Unknown channel: Channel name 'log' timed out after 1000ms\r\n[10:34:29] [Unknown channel: Channel name 'log' timed out after 1000ms]\r\n[10:34:32] No ptyHost heartbeat after 6 seconds\r\n[10:34:37] No ptyHost heartbeat after 12 seconds\r\n[10:34:54] [100.120.35.17][ac715c7d][ManagementConnection] New connection established.\r\n[10:34:55] [100.120.35.17][23fb10a3][ExtensionHostConnection] New connection established.\r\n[10:34:55] [100.120.35.17][23fb10a3][ExtensionHostConnection] \u003c28883> Launched Extension Host Process.\r\n[IPC Library: Pty Host] Unknown channel: ptyHost\r\nrejected promise not handled within 1 second: Unknown channel: Channel name 'ptyHost' timed out after 1000ms\r\n[10:34:57] [Unknown channel: Channel name 'ptyHost' timed out after 1000ms]\r\n[IPC Library: File Watcher] Loading \"@parcel/watcher\" failed\r\n[IPC Library: File Watcher] Error: dlopen failed: cannot locate symbol \"_ZTV17BruteForceBackend\" referenced by \"/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/node_modules/@parcel/watcher/build/Release/watcher.node\"...\r\n at Object.Module._extensions..node (node:internal/modules/cjs/loader:1189:18)\r\n at Module.load (node:internal/modules/cjs/loader:981:32)\r\n at Function.Module._load (node:internal/modules/cjs/loader:822:12)\r\n at Module.require (node:internal/modules/cjs/loader:1005:19)\r\n at require (node:internal/modules/cjs/helpers:102:18)\r\n at load (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/node_modules/node-gyp-build/index.js:22:10)\r\n at Object.\u003canonymous> (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/node_modules/@parcel/watcher/index.js:1:42)\r\n at Module._compile (node:internal/modules/cjs/loader:1105:14)\r\n at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)\r\n at Module.load (node:internal/modules/cjs/loader:981:32)\r\n at Function.Module._load (node:internal/modules/cjs/loader:822:12)\r\n at Module.require (node:internal/modules/cjs/loader:1005:19)\r\n at require (node:internal/modules/cjs/helpers:102:18)\r\n at r (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/loader.js:5:101)\r\n at e.load (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/loader.js:4:1720)\r\n at e.load (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/loader.js:3:11005)\r\n at a (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/loader.js:5:10302)\r\n at Object.errorback (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/loader.js:5:10423)\r\n at e.triggerErrorback (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/loader.js:3:11369)\r\n at /data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/loader.js:3:11075\r\n at e.load (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/loader.js:4:1737)\r\n at e.load (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/loader.js:3:11005)\r\n at a (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/loader.js:5:10302)\r\n at o._loadModule (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/loader.js:5:10432)\r\n at o._resolve (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/loader.js:6:452)\r\n at o.defineModule (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/loader.js:5:6144)\r\n at y (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/loader.js:6:1825)\r\n at h (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/loader.js:4:2554)\r\n at Object.\u003canonymous> (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/platform/files/node/watcher/watcherMain.js:14:32126)\r\n at Object.\u003canonymous> (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/platform/files/node/watcher/watcherMain.js:14:43638)\r\n at e._createAndEvalScript (/data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/loader.js:4:2598)\r\n at /data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/loader.js:4:2237\r\n at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)\r\n[IPC Library: File Watcher] Here are the modules that depend on it:\r\n[IPC Library: File Watcher]% [ 'vs/platform/files/node/watcher/parcel/parcelWatcher' ]\r\n[10:35:11] Using the in-memory credential store as the operating system's credential store could not be accessed. Please see https://aka.ms/vscode-server-keyring on how to set this up. Details: Cannot find module '../build/Release/keytar.node'\r\nRequire stack:\r\n- /data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/node_modules/keytar/lib/keytar.js\r\n- /data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/vscode/out/bootstrap-amd.js\r\n- /data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/out/node/util.js\r\n- /data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/out/node/cli.js\r\n- /data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/out/node/entry.js\r\n[IPC Library: Pty Host] Unknown channel: ptyHost\r\n[IPC Library: Pty Host] Unknown channel: ptyHost\r\nrejected promise not handled within 1 second: Unknown channel: Channel name 'ptyHost' timed out after 1000ms\r\n[10:35:18] [Unknown channel: Channel name 'ptyHost' timed out after 1000ms]\r\nrejected promise not handled within 1 second: Unknown channel: Channel name 'ptyHost' timed out after 1000ms\r\n[10:35:18] [Unknown channel: Channel name 'ptyHost' timed out after 1000ms]\r\n[10:35:21] No ptyHost response to createProcess after 5 seconds\r\n```\r\n\r\n### Screenshot/Video\r\n\r\n\r\n\r\n\r\n### Does this issue happen in VS Code or GitHub Codespaces?\r\n\r\n- [X] I cannot reproduce this in VS Code.\r\n- [X] I cannot reproduce this in GitHub Codespaces.\r\n\r\n### Are you accessing code-server over HTTPS?\r\n\r\n- [X] I am using HTTPS.\r\n\r\n### Notes\r\n\r\nTerminal is fine on code-server@4.5.2.\r\n","author":{"url":"https://github.com/mayef","@type":"Person","name":"mayef"},"datePublished":"2022-08-24T02:59:00Z","url":"https://github.com/coder/code-server/issues/5496"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:fdc925f6-a066-fdeb-0355-013f5c88879a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8F76:3E418A:8D3EDD:B99D7B:6B01B152 |
| html-safe-nonce | d759498a944df1ab218f3f179098deb3d665112061e78d3929a276677a05defa |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Rjc2OjNFNDE4QTo4RDNFREQ6Qjk5RDdCOjZCMDFCMTUyIiwidmlzaXRvcl9pZCI6IjgzOTI5NTQwNTM0MzIyOTE2NjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f575492e7235658c3e7555e2b02adc55c642db001065aea3c7a084af7b1b259a |
| hovercard-subject-tag | issue:1348779556 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/code-server/5496/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0c1fed7d0dfcdc2e6260101d2e44f255bdbc976e21c7cba0cbcea2ee32aeab29/coder/code-server/issues/5496 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0c1fed7d0dfcdc2e6260101d2e44f255bdbc976e21c7cba0cbcea2ee32aeab29/coder/code-server/issues/5496 |
| og:image:alt | Is there an existing issue for this? I have searched the existing issues OS/Web Information Web Browser: Firefox 103.0.2 (64-bit) Local OS: Windows 10 LTSC 21H2 Remote OS: Android 10, Termux 0.118.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mayef |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/code-server git https://github.com/coder/code-server.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 172953845 |
| octolytics-dimension-repository_nwo | coder/code-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 172953845 |
| octolytics-dimension-repository_network_root_nwo | coder/code-server |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width