Skip to content
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

Keeps reconnecting on iPad #3580

Closed
korjwl1 opened this issue Jun 9, 2021 · 29 comments
Closed

Keeps reconnecting on iPad #3580

korjwl1 opened this issue Jun 9, 2021 · 29 comments
Labels
bug Something isn't working os-ios iOS/iPad related

Comments

@korjwl1
Copy link

korjwl1 commented Jun 9, 2021

OS/Web Information

  • Web Browser: Safari, Edge, . .. etc
  • Local OS: Lubuntu 20.04
  • Remote OS: IpadOS 15 on M1 Ipad
  • Remote Architecture: I used code-server with bind-addr option and cert, cert-key option. Used pem files from Let's Encrypt for my asus router DDNS for cert and cert-key
  • code-server --version: 3.10.2

Steps to Reproduce

  1. Just access with any browsers on IpadOS 15
  2. Then I cannot access to any files, extensions and terminal on the Code-Server. All I can see is keep reconnecting response on the left bottom part. (The one for open remote repository)

Expected

The code-server works perfectly on the Microsoft Edge on Windows 10 and Firefox on Lubuntu 20.04.
I also expected that on the Safari or Microsoft Edge of Ipad OS 15

Actual

I didn't see the white page, and could have clicked the ui buttons. However, when I click new terminal, the terminal partition comes out but no terminal is opened. Also, I cannot access to the folders, files and also cannot see any extensions.
All I could see was that on the left bottom part where you can see your domain, the status message kept changing between reconnecting to your doamin and your domain rapidly.

Logs

6월 09 23:34:21 lubuntu code-server[1561]: at process.emit (events.js:314:20)
6월 09 23:34:21 lubuntu code-server[1561]: Error: Unexpected SIGPIPE
6월 09 23:34:21 lubuntu code-server[1561]: at process. (/usr/lib/code-server/lib/vscode/out/bootstrap.js:1:370)
6월 09 23:34:21 lubuntu code-server[1561]: at process.emit (events.js:314:20)
6월 09 23:34:21 lubuntu code-server[1561]: [2021-06-09T14:34:21.301Z] warn vscode Uncaught error {"error":"read ECONNRESET"}
6월 09 23:34:21 lubuntu code-server[1561]: Error: Unexpected SIGPIPE
6월 09 23:34:21 lubuntu code-server[1561]: at process. (/usr/lib/code-server/lib/vscode/out/bootstrap.js:1:370)
6월 09 23:34:21 lubuntu code-server[1561]: at process.emit (events.js:314:20)
6월 09 23:34:24 lubuntu code-server[1561]: ERR [File Watcher (chokidar)] Inotify limit reached (ENOSPC)
6월 09 23:34:24 lubuntu code-server[1561]: ERR [File Watcher (chokidar)] Inotify limit reached (ENOSPC)

Above is the log from the systemctl

Screenshot

Notes

This issue can be reproduced in VS Code: Yes/No

@jsjoeio jsjoeio added needs-investigation This issue needs to be further investigated os-ios iOS/iPad related labels Jun 9, 2021
@jsjoeio jsjoeio added this to the On Deck milestone Jun 9, 2021
@jsjoeio jsjoeio changed the title Keeps reconnecting on Ipad Keeps reconnecting on iPad Jun 9, 2021
@jsjoeio
Copy link
Contributor

jsjoeio commented Jun 9, 2021

Hmm... I'll need to take a look at my own iPad setup and see if I'm having similar issues.

Is it possible for you to take a screen recording on your iPad and share here? That might help us troubleshoot.

@jmlingeman
Copy link

jmlingeman commented Jun 9, 2021

Getting the same error here on iPadOS 15/MacOS 12 betas in Safari. Specifically seems to happen when interacting with the extensions search bar (code-server is running from the official docker image).

Connecting from MacOS 12 using Firefox or Chromium works as expected.

code-server | [2021-06-09T21:03:52.297Z] info  Using user-data-dir ~/.local/share/code-server
code-server | [2021-06-09T21:03:52.305Z] info  Using config file ~/.config/code-server/config.yaml
code-server | [2021-06-09T21:03:52.305Z] info  HTTP server listening on http://0.0.0.0:8080 
code-server | [2021-06-09T21:03:52.305Z] info    - Authentication is disabled 
code-server | [2021-06-09T21:03:52.306Z] info    - Not serving HTTPS 
code-server | [2021-06-09T21:03:52.602Z] error vscode is not running Error: vscode is not running
code-server |     at VscodeProvider.send (/usr/lib/code-server/out/node/vscode.js:206:19)
code-server |     at VscodeProvider.<anonymous> (/usr/lib/code-server/out/node/vscode.js:198:30)
code-server |     at step (/usr/lib/code-server/out/node/vscode.js:63:23)
code-server |     at Object.next (/usr/lib/code-server/out/node/vscode.js:44:53)
code-server |     at fulfilled (/usr/lib/code-server/out/node/vscode.js:35:58)
code-server |     at processTicksAndRejections (internal/process/task_queues.js:97:5)
code-server | [2021-06-09T21:03:52.621Z] error vscode is not running Error: vscode is not running
code-server |     at VscodeProvider.send (/usr/lib/code-server/out/node/vscode.js:206:19)
code-server |     at VscodeProvider.<anonymous> (/usr/lib/code-server/out/node/vscode.js:198:30)
code-server |     at step (/usr/lib/code-server/out/node/vscode.js:63:23)
code-server |     at Object.next (/usr/lib/code-server/out/node/vscode.js:44:53)
code-server |     at fulfilled (/usr/lib/code-server/out/node/vscode.js:35:58)
code-server |     at processTicksAndRejections (internal/process/task_queues.js:97:5)
code-server | Error: Unexpected SIGPIPE
code-server |     at process.<anonymous> (/usr/lib/code-server/lib/vscode/out/bootstrap.js:1:370)
code-server |     at process.emit (events.js:314:20)
code-server | Error: Unexpected SIGPIPE
code-server |     at process.<anonymous> (/usr/lib/code-server/lib/vscode/out/bootstrap.js:1:370)
code-server |     at process.emit (events.js:314:20)
code-server | Error: Unexpected SIGPIPE
code-server |     at process.<anonymous> (/usr/lib/code-server/lib/vscode/out/bootstrap.js:1:370)
code-server |     at process.emit (events.js:314:20)
code-server | Error: Unexpected SIGPIPE
code-server |     at process.<anonymous> (/usr/lib/code-server/lib/vscode/out/bootstrap.js:1:370)
code-server |     at process.emit (events.js:314:20)
code-server | Error: Unexpected SIGPIPE
code-server |     at process.<anonymous> (/usr/lib/code-server/lib/vscode/out/bootstrap.js:1:370)
code-server |     at process.emit (events.js:314:20) (this just keeps repeating forever)```

@jsjoeio
Copy link
Contributor

jsjoeio commented Jun 9, 2021

Getting the same error here on iPadOS 15/MacOS 12 betas in Safari

Hmm... I wonder if something changed in the newest versions of Safari 🤔

I just tested 3.10.2 on my iPad today (14.6) and it works as expected. I'm also using it on macOS Big Sur 11.3 and having no

Screenshots

RPReplay_Final1623267576.MP4

image

@jmlingeman do you mind posting steps to reproduce? (including how you installed code-server)

@jmlingeman
Copy link

Yeah it looks like it is likely an updated Safari problem. At least in my case if I do not try to search for any extensions then everything seems to work fine. Searching for extensions causes the above behavior. Not sure if that is the case for OP.

@jsjoeio
Copy link
Contributor

jsjoeio commented Jun 9, 2021

Searching for extensions causes the above behavior

Very strange. Maybe @code-asher has seen something like this in the past

@korjwl1
Copy link
Author

korjwl1 commented Jun 10, 2021

ezgif com-video-to-gif

this is the recorded screen. I took more time to investigate, and found out that such behavior only happens after I try to search for the extensions as other guy said. The problem is that, after such thing happens, only after I restart the server the code-server comes back to normal on Ipad

Hmm... I'll need to take a look at my own iPad setup and see if I'm having similar issues.

Is it possible for you to take a screen recording on your iPad and share here? That might help us troubleshoot.

@reticulatingsplines
Copy link

reticulatingsplines commented Jun 10, 2021

IMG_0101.MP4

Having similar issues on my iPad as well. Running iOS 14.6 on an iPad Pro 11” 2018 model, code-server 3.10.2 being hosted on arm64 Debian buster and installed via install.sh. This only happens when I try to access remotely over the internet…if I VPN into the LAN that my server is located on and access code-server via the local address, the problem disappears. Perhaps a weird new SSL issue?

EDIT: When I’m VPN’ed in, the constant reloading issue goes away - however, I still can’t use the terminal.

EDIT 2: I put some bunk in .bashrc that would typically throw an error, and the error message indeed got printed in the code-server terminal window. It’s making it far enough for that to happen, but yeah, no actual prompt ever appears.

@jsjoeio
Copy link
Contributor

jsjoeio commented Jun 10, 2021

Thank you all for the screen recordings!

This is very very strange... But the fact that multiple of you are having the same issues means something has to be up 🤔

such behavior only happens after I try to search for the extensions

I just tested with my iPad setup (iPad iOS 14.6 + code-server 3.10.2 running on Railway) and it works as expected

RPReplay_Final1623342442.MP4

@code-asher or @oxy any ideas on what might be causing this? The only thing coming to my mind is issues with native dependencies i.e. ripgrep but I think that only affects code-search, not extension-search 🤔

The only other thing I'm noticing in common between @korjwl1 and @reticulatingsplines videos is in the bottom left corner - see how it keeps flashing saying "Reconnecting"? Notice how mine never changes. My guess is it has to do somehow with the connection to the environment? But unsure about that.

Have any of you reconfigured the marketplace URL?

@code-asher
Copy link
Member

code-asher commented Jun 10, 2021 via email

@jmlingeman
Copy link

jmlingeman commented Jun 10, 2021

Here is the error that appears in the JS console (using the Inspect Browser app). Also, I found that if I load code-server in desktop Firefox or Chromium, I am able to navigate away from the extensions page, which then allows me to continue working on my iPad when I reload the page (as the extensions tab is no longer open).

Very strange.

Screenshot 2021-06-10 at 6 41 11 PM

I’m not sure how to enable the trace logs mentioned in the image, but I would be happy to do so. I also can’t seem to find where the code-server logs are in the coder provided docker container. Again, would be happy to grab those if someone can point me to where they are.

@korjwl1
Copy link
Author

korjwl1 commented Jun 11, 2021

The only other thing I'm noticing in common between @korjwl1 and @reticulatingsplines videos is in the bottom left corner - see how it keeps flashing saying "Reconnecting"? Notice how mine never changes. My guess is it has to do somehow with the connection to the environment? But unsure about that.

Have any of you reconfigured the marketplace URL?

Here's my environment
Code-server

  • OS: Lubuntu 20.04 (Basically same as the Ubuntu 20.04) on Synology VMM
  • Code-Server Version: 3.10.2
  • Installation Method: curl -fsSL https://code-server.dev/install.sh | sh
  • Settings: used options of '--bind-addr', 'cert', 'cert-key'. Let's Encrypt certificate was used. Nothing else used

Tested Environments

  • Windows 10: Worked without any problem with Microsoft Edge

  • macOS Big Sur 11.4: Worked without any problem with Safari, Vivaldi

  • Android: Worked without any problem with Kiwi Browser

  • IpadOS 15.0 Beta with iPad 12.9 2021: Reconnecting issue on any browsers even on the local network

  • IpadOS 14 with Ipad 12.9 2021: Worked without any problem with Safari

  • Lubuntu20.04: Works fine on the Firefox

    The problem must be caused by the iPadOS 15 and extension market since I can reproduce the problem by opening the extension market on the iPadOS 15. The problem can be solved by connecting to the code-server on the other environments and open any files so that the last visited page is not the extension market. If you just move to other tab and do not open any files, the problem won't be solved.
    I do not know what part of IpadOS 15.0 caused the unexpected SIGPIPE but this seems to be the reason. Since I did not reconfigured the marketplace URL, so I'll try it and tell you

@jmlingeman
Copy link

Since this also happens on MacOS 12.0 Beta in Safari (by loading the extensions tab), here are the logs from there, which match the error logs from the iPad:

The error messages on MacOS Safari begin with this error message:

Screen Shot 2021-06-11 at 10 30 17

And then these messages repeat:

[Log]  INFO – "[remote-connection][Management   ][1ca5b…][reconnect] starting reconnecting loop. You can get more information with the trace log level." (workbench.web.api.js, line 627)
[Log]  INFO – "[remote-connection][Management   ][1ca5b…][reconnect] resolving connection..." (workbench.web.api.js, line 627)
[Log]  INFO – "[remote-connection][Management   ][1ca5b…][reconnect] connecting to 192.168.1.4:8443..." (workbench.web.api.js, line 627)
[Log]  INFO – "[remote-connection][Management   ][1ca5b…][reconnect] reconnected!" (workbench.web.api.js, line 627)```

@jsjoeio
Copy link
Contributor

jsjoeio commented Jun 11, 2021

@korjwl1 thank you for the thorough testing and the notes!

@jmlingeman thank you for the logs and the screenshots! And the fact that you can reproduce on macOS + Safari is great because that means we can test easily (I'm on macOS).

cc @code-asher - I know you've fixed Safari issues in the past. Maybe you see something obvious here 👀

@jsjoeio jsjoeio added bug Something isn't working and removed needs-investigation This issue needs to be further investigated labels Jun 11, 2021
@code-asher
Copy link
Member

code-asher commented Jun 11, 2021 via email

@oxkenshin
Copy link

oxkenshin commented Jun 14, 2021

In my case, it has something to do with the extension panel(tab). It works fine when the app starts with the file explorer panel, but failed to connect when I switch to extension panel. Sadly I don't know how to remove the installed extensions without switching to extension panel.

Update: after I removed ~/.code-server folder, it's fixed.

@NotEvenANeko
Copy link

NotEvenANeko commented Jun 15, 2021

I got the same error when I was using safari on iPadOS 15 beta.
Then I changed to serveditor but this issue continues, and it happened in Firefox, Chrome, Edge and QQ Browser for iPadOS 15
Maybe it's a bug of new webkit?

Firefox on windows worked without any problems

code-server is running on Debian 10 on WSL2

[2021-06-15T14:50:50.075Z] info  code-server 3.10.2
[2021-06-15T14:50:50.076Z] info  Using user-data-dir ~/.local/share/code-server
[2021-06-15T14:50:50.084Z] info  Using config file ~/.config/code-server/config.yaml
[2021-06-15T14:50:50.084Z] info  HTTP server listening on http://0.0.0.0:8080
[2021-06-15T14:50:50.084Z] info    - Authentication is disabled
[2021-06-15T14:50:50.084Z] info    - Not serving HTTPS
Error: Unexpected SIGPIPE
    at process.<anonymous> (/usr/lib/code-server/lib/vscode/out/bootstrap.js:1:370)
    at process.emit (events.js:314:20)
Error: Unexpected SIGPIPE
    at process.<anonymous> (/usr/lib/code-server/lib/vscode/out/bootstrap.js:1:370)
    at process.emit (events.js:314:20)
Error: Unexpected SIGPIPE
    at process.<anonymous> (/usr/lib/code-server/lib/vscode/out/bootstrap.js:1:370)
    at process.emit (events.js:314:20)
Error: Unexpected SIGPIPE
    at process.<anonymous> (/usr/lib/code-server/lib/vscode/out/bootstrap.js:1:370)
    at process.emit (events.js:314:20)
Error: Unexpected SIGPIPE
    at process.<anonymous> (/usr/lib/code-server/lib/vscode/out/bootstrap.js:1:370)
    at process.emit (events.js:314:20)
Error: Unexpected SIGPIPE
    at process.<anonymous> (/usr/lib/code-server/lib/vscode/out/bootstrap.js:1:370)
    at process.emit (events.js:314:20)
Error: Unexpected SIGPIPE
    at process.<anonymous> (/usr/lib/code-server/lib/vscode/out/bootstrap.js:1:370)
    at process.emit (events.js:314:20)
[2021-06-15T14:58:11.699Z] warn  vscode Uncaught error {"error":"read ECONNRESET"}
[2021-06-15T14:58:19.072Z] warn  vscode Uncaught error {"error":"read ECONNRESET"}
Error: Unexpected SIGPIPE
    at process.<anonymous> (/usr/lib/code-server/lib/vscode/out/bootstrap.js:1:370)
    at process.emit (events.js:314:20)
Error: Unexpected SIGPIPE
    at process.<anonymous> (/usr/lib/code-server/lib/vscode/out/bootstrap.js:1:370)
    at process.emit (events.js:314:20)
Error: Unexpected SIGPIPE
    at process.<anonymous> (/usr/lib/code-server/lib/vscode/out/bootstrap.js:1:370)
    at process.emit (events.js:314:20)
Error: Unexpected SIGPIPE
    at process.<anonymous> (/usr/lib/code-server/lib/vscode/out/bootstrap.js:1:370)
    at process.emit (events.js:314:20)
[2021-06-15T14:58:54.546Z] warn  vscode Uncaught error {"error":"read ECONNRESET"}

@jsjoeio
Copy link
Contributor

jsjoeio commented Jun 15, 2021

Maybe it's a bug of new webkit

Yeah I think you might be right. I'm still on 14.5 on my iPad and not seeing these issues

@idoodler
Copy link

I am also running iOS 15 on my new iPad 2021 and I am not experiencing such issues. You might try out the newest Safari Technology Preview build. It also uses the new WebKit. In addition you can try and open the Development Tools, you may see an interresting log message.

I am running Codeserver on an vServer running Ubuntu.

@MrRorg
Copy link

MrRorg commented Jun 20, 2021

I have the same issue. iPad Air 4 2020. iPadOS 15 b1. Continuously receiving the message in server console:
Error: Unexpected SIGPIPE
at process. (/usr/lib/code-server/lib/vscode/out/bootstrap.js:1:370)
at process.emit (events.js:314:20)

Server located on DigitalOcean. Ubuntu 21.04. Connected remotely. Start code-server using code-server --bind-addr <*ip-address>:8080

With --log debug

Error: Unexpected SIGPIPE
at process. (/usr/lib/code-server/lib/vscode/out/bootstrap.js:1:370)
at process.emit (events.js:314:20)
[2021-06-20T22:51:18.272Z] debug vscode got message from code-server {"type":"socket"}
[2021-06-20T22:51:18.273Z] debug protocol Initiating handshake... {"token":"e35d56ca-732b-467a-9ef6-3d339d77a2e5"}
[2021-06-20T22:51:18.373Z] debug protocol Handshake completed {"token":"e35d56ca-732b-467a-9ef6-3d339d77a2e5"}
[2021-06-20T22:51:18.373Z] debug management Reconnecting... {"token":"e35d56ca-732b-467a-9ef6-3d339d77a2e5"}
[2021-06-20T22:51:18.471Z] debug management Disconnected {"token":"e35d56ca-732b-467a-9ef6-3d339d77a2e5"}
Error: Unexpected SIGPIPE
at process. (/usr/lib/code-server/lib/vscode/out/bootstrap.js:1:370)
at process.emit (events.js:314:20)
[2021-06-20T22:51:18.637Z] debug vscode got message from code-server {"type":"socket"}
[2021-06-20T22:51:18.638Z] debug protocol Initiating handshake... {"token":"e35d56ca-732b-467a-9ef6-3d339d77a2e5"}
[2021-06-20T22:51:18.736Z] debug protocol Handshake completed {"token":"e35d56ca-732b-467a-9ef6-3d339d77a2e5"}
[2021-06-20T22:51:18.736Z] debug management Reconnecting... {"token":"e35d56ca-732b-467a-9ef6-3d339d77a2e5"}
[2021-06-20T22:51:18.846Z] debug management Disconnected {"token":"e35d56ca-732b-467a-9ef6-3d339d77a2e5"}
Error: Unexpected SIGPIPE
at process. (/usr/lib/code-server/lib/vscode/out/bootstrap.js:1:370)
at process.emit (events.js:314:20)
[2021-06-20T22:51:18.957Z] debug vscode got message from code-server {"type":"socket"}
[2021-06-20T22:51:18.957Z] debug protocol Initiating handshake... {"token":"e35d56ca-732b-467a-9ef6-3d339d77a2e5"}
[2021-06-20T22:51:19.041Z] debug protocol Handshake completed {"token":"e35d56ca-732b-467a-9ef6-3d339d77a2e5"}
[2021-06-20T22:51:19.041Z] debug management Reconnecting... {"token":"e35d56ca-732b-467a-9ef6-3d339d77a2e5"}
[2021-06-20T22:51:19.128Z] debug management Disconnected {"token":"e35d56ca-732b-467a-9ef6-3d339d77a2e5"}
[2021-06-20T22:51:19.301Z] debug vscode got message from code-server {"type":"socket"}
[2021-06-20T22:51:19.302Z] debug protocol Initiating handshake... {"token":"e35d56ca-732b-467a-9ef6-3d339d77a2e5"}
[2021-06-20T22:51:19.398Z] debug protocol Handshake completed {"token":"e35d56ca-732b-467a-9ef6-3d339d77a2e5"}
[2021-06-20T22:51:19.399Z] debug management Reconnecting... {"token":"e35d56ca-732b-467a-9ef6-3d339d77a2e5"}
[2021-06-20T22:51:19.508Z] debug management Disconnected {"token":"e35d56ca-732b-467a-9ef6-3d339d77a2e5"}

@reticulatingsplines
Copy link

reticulatingsplines commented Jun 25, 2021

Here's what I see when I run code-server as a process (vs daemon) with the verbose option, then try to connect from my iPad Pro running iOS 14.6 (final line SIGINT was from me intentionally ctrl-c'ing, fyi). The little handshake loops cycle in sync with the rapid "reconnecting" message as seen in the video I posted. Occasionally get a read ECONNRESET instead of write ECONNRESET error in these "loops" if you will.

pi@raspberrypi:~ $ code-server --verbose
[2021-06-25T03:52:24.699Z] trace child:32529 got message {"message":{"type":"handshake","args":{"_":[],"bind-addr":"127.0.0.1:8080","auth":"password","password":"REDACTED","config":"/home/pi/.config/code-server/config.yaml","verbose":true,"user-data-dir":"/home/pi/.local/share/code-server","extensions-dir":"/home/pi/.local/share/code-server/extensions","log":"trace","host":"127.0.0.1","port":8080,"proxy-domain":[],"usingEnvPassword":false,"usingEnvHashedPassword":false}}} 
[2021-06-25T03:52:24.708Z] info  code-server 3.10.2 387b12ef4ca404ffd39d84834e1f0776e9e3c005                            
[2021-06-25T03:52:24.709Z] info  Using user-data-dir ~/.local/share/code-server                                         
[2021-06-25T03:52:24.710Z] trace Using extensions-dir ~/.local/share/code-server/extensions                             
[2021-06-25T03:52:24.749Z] info  Using config file ~/.config/code-server/config.yaml                                    
[2021-06-25T03:52:24.749Z] info  HTTP server listening on http://127.0.0.1:8080                                         
[2021-06-25T03:52:24.750Z] info    - Authentication is enabled                                                          
[2021-06-25T03:52:24.750Z] info      - Using password from ~/.config/code-server/config.yaml                            
[2021-06-25T03:52:24.750Z] info    - Not serving HTTPS                                                                  
[2021-06-25T03:52:29.969Z] trace heartbeat                                                                              
[2021-06-25T03:52:29.987Z] debug redirecting from / to ./login                                                          
[2021-06-25T03:52:36.430Z] debug got cookie doman {"host":"REDACTED"}                                              
[2021-06-25T03:52:36.433Z] debug redirecting from /login to ./                                                          
[2021-06-25T03:52:36.597Z] debug forking vs code...                                                                     
[2021-06-25T03:52:37.510Z] trace got message {"message":{"type":"ready"}}                                               
[2021-06-25T03:52:37.511Z] debug setting up vs code...                                                                  
[2021-06-25T03:52:37.515Z] debug vscode got message from code-server {"type":"init"}                                    
[2021-06-25T03:52:37.519Z] trace vscode code-server message content {"message":{"type":"init","id":"PVkS1Xb5TRcuzXLB4FI1QbvO","options":{"args":{"_":[],"bind-addr":"127.0.0.1:8080","auth":"password","password":REDACTED,"config":"/home/pi/.config/code-server/config.yaml","verbose":true,"user-data-dir":"/home/pi/.local/share/code-server","extensions-dir":"/home/pi/.local/share/code-server/extensions","log":"trace","host":"127.0.0.1","port":8080,"proxy-domain":[],"usingEnvPassword":false,"usingEnvHashedPassword":false},"remoteAuthority":"REDACTED","startPath":{"url":"/media/pi","workspace":false}}}}                                                                                                           TRACE Started scanning user extensions                                                                                  
[2021-06-25T03:52:37.704Z] trace got message {"message":{"type":"options","id":"PVkS1Xb5TRcuzXLB4FI1QbvO","options":{"workbenchWebConfiguration":{"folderUri":{"$mid":1,"path":"/media/pi","scheme":"vscode-remote","authority":"REDACTED"},"remoteAuthority":"REDACTED","logLevel":0,"workspaceProvider":{"payload":[["userDataPath","/home/pi/.local/share/code-server"],["enableProposedApi","[]"]]}},"remoteUserDataUri":{"$mid":1,"path":"/home/pi/.local/share/code-server","scheme":"vscode-remote","authority":"REDACTED"},"productConfiguration":{"nameShort":"code-server","nameLong":"code-server","applicationName":"code-oss","dataFolderName":".vscode-oss","win32MutexName":"vscodeoss","licenseName":"MIT","licenseUrl":"https://github.com/microsoft/vscode/blob/main/LICENSE.txt","win32DirName":"Microsoft Code OSS","win32NameVersion":"Microsoft Code OSS","win32RegValueName":"CodeOSS","win32AppId":"{{E34003BB-9E10-4501-8C11-BE3FAA83F23F}","win32x64AppId":"{{D77B7E06-80BA-4137-BCF4-654B95CCEBC5}","win32arm64AppId":"{{D1ACE434-89C5-48D1-88D3-E2991DF85475}","win32UserAppId":"{{C6065F05-9603-4FC4-8101-B9781A25D88E}","win32x64UserAppId":"{{CC6B787D-37A0-49E8-AE24-8559A032BE0C}","win32arm64UserAppId":"{{3AEBF0C8-F733-4AD4-BADE-FDB816D53D7B}","win32AppUserModelId":"Microsoft.CodeOSS","win32ShellNameShort":"C&ode - OSS","darwinBundleIdentifier":"com.visualstudio.code.oss","linuxIconName":"com.visualstudio.code.oss","licenseFileName":"LICENSE.txt","reportIssueUrl":"https://github.com/cdr/code-server/issues/new","urlProtocol":"code-oss","extensionAllowedProposedApi":["ms-vscode.vscode-js-profile-flame","ms-vscode.vscode-js-profile-table","ms-vscode.github-browser","ms-vscode.github-richnav","ms-vscode.remotehub","ms-vscode.remotehub-insiders"],"builtInExtensions":[{"name":"ms-vscode.node-debug","version":"1.44.27","repo":"https://github.com/microsoft/vscode-node-debug","metadata":{"id":"b6ded8fb-a0a0-4c1c-acbd-ab2a3bc995a6","publisherId":{"publisherId":"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee","publisherName":"ms-vscode","displayName":"Microsoft","flags":"verified"},"publisherDisplayName":"Microsoft"}},{"name":"ms-vscode.node-debug2","version":"1.42.6","repo":"https://github.com/microsoft/vscode-node-debug2","metadata":{"id":"36d19e17-7569-4841-a001-947eb18602b2","publisherId":{"publisherId":"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee","publisherName":"ms-vscode","displayName":"Microsoft","flags":"verified"},"publisherDisplayName":"Microsoft"}},{"name":"ms-vscode.references-view","version":"0.0.80","repo":"https://github.com/microsoft/vscode-references-view","metadata":{"id":"dc489f46-520d-4556-ae85-1f9eab3c412d","publisherId":{"publisherId":"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee","publisherName":"ms-vscode","displayName":"Microsoft","flags":"verified"},"publisherDisplayName":"Microsoft"}},{"name":"ms-vscode.js-debug-companion","version":"1.0.13","repo":"https://github.com/microsoft/vscode-js-debug-companion","metadata":{"id":"99cb0b7f-7354-4278-b8da-6cc79972169d","publisherId":{"publisherId":"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee","publisherName":"ms-vscode","displayName":"Microsoft","flags":"verified"},"publisherDisplayName":"Microsoft"}},{"name":"ms-vscode.js-debug","version":"1.56.2","repo":"https://github.com/microsoft/vscode-js-debug","metadata":{"id":"25629058-ddac-4e17-abba-74678e126c5d","publisherId":{"publisherId":"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee","publisherName":"ms-vscode","displayName":"Microsoft","flags":"verified"},"publisherDisplayName":"Microsoft"}},{"name":"ms-vscode.vscode-js-profile-table","version":"0.0.18","repo":"https://github.com/microsoft/vscode-js-profile-visualizer","metadata":{"id":"7e52b41b-71ad-457b-ab7e-0620f1fc4feb","publisherId":{"publisherId":"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee","publisherName":"ms-vscode","displayName":"Microsoft","flags":"verified"},"publisherDisplayName":"Microsoft"}},{"name":"ms-vscode.remotehub","version":"0.5.3","repo":"https://github.com/microsoft/vscode-remotehub","metadata":{"id":"ed0ffe1d-36f0-49a0-bafe-da68355eb33a","publisherId":{"publisherId":"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee","publisherName":"ms-vscode","displayName":"Microsoft","flags":"verified"},"publisherDisplayName":"Microsoft"}}],"webBuiltInExtensions":[{"name":"ms-vscode.remotehub","version":"0.5.3","repo":"https://github.com/microsoft/vscode-remotehub","metadata":{"id":"ed0ffe1d-36f0-49a0-bafe-da68355eb33a","publisherId":{"publisherId":"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee","publisherName":"ms-vscode","displayName":"Microsoft","flags":"verified"},"publisherDisplayName":"Microsoft"}}],"//":"https://github.com/VSCodium/vscodium/pull/155/files","documentationUrl":"https://go.microsoft.com/fwlink/?LinkID=533484#vscode","keyboardShortcutsUrlMac":"https://go.microsoft.com/fwlink/?linkid=832143","keyboardShortcutsUrlLinux":"https://go.microsoft.com/fwlink/?linkid=832144","keyboardShortcutsUrlWin":"https://go.microsoft.com/fwlink/?linkid=832145","introductoryVideosUrl":"https://go.microsoft.com/fwlink/?linkid=832146","tipsAndTricksUrl":"https://go.microsoft.com/fwlink/?linkid=852118","newsletterSignupUrl":"https://www.research.net/r/vsc-newsletter","commit":"387b12ef4ca404ffd39d84834e1f0776e9e3c005","date":"2021-05-21T23:13:00Z","version":"1.56.1","extensionsGallery":{"serviceUrl":"https://extensions.coder.com/api","itemUrl":"","controlUrl":"","recommendationsUrl":""}},"nlsConfiguration":{"locale":"en","availableLanguages":{}},"commit":"387b12ef4ca404ffd39d84834e1f0776e9e3c005"}}}                                     TRACE Scanned user extensions: 19                                                                                       
[2021-06-25T03:52:39.838Z] debug vscode got message from code-server {"type":"socket"}                                  
[2021-06-25T03:52:39.839Z] trace vscode code-server message content {"message":{"type":"socket","query":{"type":"Management","reconnectionToken":"REDACTED","reconnection":"false","skipWebSocketFrames":"false"},"permessageDeflate":false}}                                                                                               
[2021-06-25T03:52:39.843Z] debug protocol Initiating handshake... {"token":"REDACTED"}      
[2021-06-25T03:52:39.903Z] trace protocol Got message {"message":"{\"type\":\"auth\",\"auth\":\"00000000000000000000\"}","token":"REDACTED"}                                                                        
[2021-06-25T03:52:39.906Z] trace protocol Got message {"message":"{\"type\":\"connectionType\",\"commit\":\"387b12ef4ca404ffd39d84834e1f0776e9e3c005\",\"signedData\":\"\",\"desiredConnectionType\":1}","token":"REDACTED"}                                                                                                                
[2021-06-25T03:52:39.907Z] debug protocol Handshake completed {"token":"REDACTED"}          
[2021-06-25T03:52:39.908Z] debug management Connecting... {"token":"REDACTED"}              
[2021-06-25T03:52:39.909Z] debug vscode 1 active management connection(s)                                               TRACE Started scanning system extensions                                                                                TRACE Started scanning user extensions                                                                                  TRACE Started scanning system extensions                                                                                TRACE Started scanning user extensions                                                                                  TRACE Started scanning system extensions                                                                                TRACE Started scanning user extensions                                                                                  
[2021-06-25T03:52:40.861Z] trace TerminalProviderChannel:call {"command":"$getTerminalLayoutInfo","args":{"workspaceId":"4f1a9245"}}                                                                                                            
[2021-06-25T03:52:40.865Z] trace TerminalProviderChannel:listen {"event":"$onProcessDataEvent"}                         
[2021-06-25T03:52:40.865Z] trace TerminalProviderChannel:listen {"event":"$onProcessExitEvent"}                         
[2021-06-25T03:52:40.867Z] trace TerminalProviderChannel:listen {"event":"$onProcessReadyEvent"}                        
[2021-06-25T03:52:40.868Z] trace TerminalProviderChannel:listen {"event":"$onProcessTitleChangedEvent"}                 
[2021-06-25T03:52:40.869Z] trace TerminalProviderChannel:listen {"event":"$onProcessShellTypeChangedEvent"}             
[2021-06-25T03:52:40.870Z] trace TerminalProviderChannel:listen {"event":"$onProcessOverrideDimensionsEvent"}           
[2021-06-25T03:52:40.870Z] trace TerminalProviderChannel:listen {"event":"$onProcessResolvedShellLaunchConfigEvent"}    
[2021-06-25T03:52:40.871Z] trace TerminalProviderChannel:listen {"event":"$onProcessReplayEvent"}                       
[2021-06-25T03:52:40.873Z] trace TerminalProviderChannel:listen {"event":"$onProcessOrphanQuestion"}                    
[2021-06-25T03:52:40.874Z] trace TerminalProviderChannel:listen {"event":"$onExecuteCommand"}                           
[2021-06-25T03:52:40.874Z] trace TerminalProviderChannel:listen {"event":"$onPtyHostExitEvent"}                         
[2021-06-25T03:52:40.875Z] trace TerminalProviderChannel:listen {"event":"$onPtyHostStartEvent"}                        
[2021-06-25T03:52:40.876Z] trace TerminalProviderChannel:listen {"event":"$onPtyHostUnresponsiveEvent"}                 
[2021-06-25T03:52:40.876Z] trace TerminalProviderChannel:listen {"event":"$onPtyHostResponsiveEvent"}                   
[2021-06-25T03:52:40.891Z] debug got latest version {"latest":"3.10.2"}                                                 
[2021-06-25T03:52:40.892Z] debug comparing versions {"current":"3.10.2","latest":"3.10.2"}                              
[2021-06-25T03:52:41.072Z] debug vscode got message from code-server {"type":"socket"}                                  
[2021-06-25T03:52:41.073Z] trace vscode code-server message content {"message":{"type":"socket","query":{"type":"ExtensionHost","reconnectionToken":"8168ea39-f1e9-40ca-b714-a0ea4c19f4b5","reconnection":"false","skipWebSocketFrames":"false"},"permessageDeflate":false}}                                                                                            
[2021-06-25T03:52:41.074Z] debug protocol Initiating handshake... {"token":"8168ea39-f1e9-40ca-b714-a0ea4c19f4b5"}      
[2021-06-25T03:52:41.158Z] trace TerminalProviderChannel:call {"command":"$reduceConnectionGraceTime"}                  
[2021-06-25T03:52:41.226Z] trace protocol Got message {"message":"{\"type\":\"connectionType\",\"commit\":\"387b12ef4ca404ffd39d84834e1f0776e9e3c005\",\"signedData\":\"\",\"desiredConnectionType\":2,\"args\":{\"language\":\"en\",\"break\":false,\"port\":null}}","token":"8168ea39-f1e9-40ca-b714-a0ea4c19f4b5"}                                                   
[2021-06-25T03:52:41.228Z] debug protocol Handshake completed {"token":"8168ea39-f1e9-40ca-b714-a0ea4c19f4b5"}          
[2021-06-25T03:52:41.229Z] debug exthost Connecting... {"token":"8168ea39-f1e9-40ca-b714-a0ea4c19f4b5"}                 
[2021-06-25T03:52:41.233Z] debug exthost Getting NLS configuration... {"token":"8168ea39-f1e9-40ca-b714-a0ea4c19f4b5"}  
[2021-06-25T03:52:41.234Z] debug vscode 1 active exthost connection(s)                                                  
[2021-06-25T03:52:41.235Z] debug exthost Spawning extension host... {"token":"8168ea39-f1e9-40ca-b714-a0ea4c19f4b5"}    
[2021-06-25T03:52:41.266Z] debug exthost Waiting for handshake... {"token":"8168ea39-f1e9-40ca-b714-a0ea4c19f4b5"}      
[2021-06-25T03:52:41.316Z] trace TerminalProviderChannel:call {"command":"$getShellEnvironment"}                        
[2021-06-25T03:52:41.549Z] trace TerminalProviderChannel:call {"command":"$getShellEnvironment"}                        
[2021-06-25T03:52:41.687Z] trace TerminalProviderChannel:call {"command":"$createProcess","args":{"configuration":{"terminal.integrated.automationShell.windows":{},"terminal.integrated.automationShell.osx":{},"terminal.integrated.automationShell.linux":{},"terminal.integrated.shell.windows":{},"terminal.integrated.shell.osx":{},"terminal.integrated.shell.linux":"/bin/bash","terminal.integrated.shellArgs.windows":[],"terminal.integrated.shellArgs.osx":["-l"],"terminal.integrated.shellArgs.linux":[],"terminal.integrated.env.windows":{},"terminal.integrated.env.osx":{},"terminal.integrated.env.linux":{},"terminal.integrated.inheritEnv":false,"terminal.integrated.cwd":"","terminal.integrated.detectLocale":"auto"},"resolvedVariables":{},"envVariableCollections":[["vscode.git",[["VSCODE_GIT_IPC_HANDLE",{"value":"/run/user/1000/vscode-git-03938d6028.sock","type":1}],["GIT_ASKPASS",{"value":"/usr/lib/code-server/lib/vscode/extensions/git/dist/askpass.sh","type":1}],["VSCODE_GIT_ASKPASS_NODE",{"value":"/usr/lib/code-server/lib/node","type":1}],["VSCODE_GIT_ASKPASS_MAIN",{"value":"/usr/lib/code-server/lib/vscode/extensions/git/dist/askpass-main.js","type":1}]]]],"shellLaunchConfig":{"executable":"/bin/bash","args":[]},"workspaceId":"4f1a9245","workspaceName":"pi","workspaceFolders":[{"uri":{"$mid":1,"external":"vscode-remote://REDACTED/media/pi","path":"/media/pi","scheme":"vscode-remote","authority":"REDACTED"},"name":"pi","index":0}],"activeWorkspaceFolder":{"uri":{"$mid":1,"external":"vscode-remote://REDACTED/media/pi","path":"/media/pi","scheme":"vscode-remote","authority":"REDACTED"},"name":"pi","index":0},"shouldPersistTerminal":true,"cols":102,"rows":14}}                                                                                                    
[2021-06-25T03:52:41.917Z] trace TerminalProviderChannel:call {"command":"$setTerminalLayoutInfo","args":{"workspaceId":"4f1a9245","tabs":[{"isActive":true,"terminals":[]}]}}                                                                  
[2021-06-25T03:52:42.507Z] trace TerminalProviderChannel:call {"command":"$start","args":[1]}                           
[2021-06-25T03:52:42.742Z] trace TerminalProviderChannel:call {"command":"$resize","args":[1,102,14]}                   
[2021-06-25T03:52:43.234Z] trace TerminalProviderChannel:call {"command":"$setTerminalLayoutInfo","args":{"workspaceId":"4f1a9245","tabs":[{"isActive":true,"activePersistentProcessId":1,"terminals":[{"relativeSize":1,"terminal":1}]}]}}     
[2021-06-25T03:52:43.237Z] debug exthost Handshake completed {"token":"8168ea39-f1e9-40ca-b714-a0ea4c19f4b5"}           
[2021-06-25T03:52:43.238Z] debug exthost Sending socket {"token":"8168ea39-f1e9-40ca-b714-a0ea4c19f4b5"}                
[2021-06-25T03:52:43.345Z] debug management Disconnected {"token":"REDACTED"}               
[2021-06-25T03:52:43.547Z] debug vscode got message from code-server {"type":"socket"}                                  
[2021-06-25T03:52:43.548Z] trace vscode code-server message content {"message":{"type":"socket","query":{"type":"Management","reconnectionToken":"REDACTED","reconnection":"true","skipWebSocketFrames":"false"},"permessageDeflate":false}}                                                                                                
[2021-06-25T03:52:43.550Z] debug protocol Initiating handshake... {"token":"REDACTED"}      
[2021-06-25T03:52:43.625Z] trace protocol Got message {"message":"{\"type\":\"auth\",\"auth\":\"00000000000000000000\"}","token":"REDACTED"}                                                                        
[2021-06-25T03:52:43.630Z] trace protocol Got message {"message":"{\"type\":\"connectionType\",\"commit\":\"387b12ef4ca404ffd39d84834e1f0776e9e3c005\",\"signedData\":\"\",\"desiredConnectionType\":1}","token":"REDACTED"}                                                                                                                
[2021-06-25T03:52:43.631Z] debug protocol Handshake completed {"token":"REDACTED"}          
[2021-06-25T03:52:43.632Z] debug management Reconnecting... {"token":"REDACTED"}            
[2021-06-25T03:52:43.708Z] warn  vscode Uncaught error {"error":"read ECONNRESET"}                                      
[2021-06-25T03:52:43.711Z] debug management Disconnected {"token":"REDACTED"}               
[2021-06-25T03:52:43.947Z] debug vscode got message from code-server {"type":"socket"}                                  
[2021-06-25T03:52:43.948Z] trace vscode code-server message content {"message":{"type":"socket","query":{"type":"Management","reconnectionToken":"REDACTED","reconnection":"true","skipWebSocketFrames":"false"},"permessageDeflate":false}}                                                                                                
[2021-06-25T03:52:43.949Z] debug protocol Initiating handshake... {"token":"REDACTED"}      
[2021-06-25T03:52:44.008Z] trace protocol Got message {"message":"{\"type\":\"auth\",\"auth\":\"00000000000000000000\"}","token":"REDACTED"}                                                                        
[2021-06-25T03:52:44.013Z] trace protocol Got message {"message":"{\"type\":\"connectionType\",\"commit\":\"387b12ef4ca404ffd39d84834e1f0776e9e3c005\",\"signedData\":\"\",\"desiredConnectionType\":1}","token":"REDACTED"}                                                                                                                
[2021-06-25T03:52:44.014Z] debug protocol Handshake completed {"token":"REDACTED"}          
[2021-06-25T03:52:44.015Z] debug management Reconnecting... {"token":"REDACTED"}            
[2021-06-25T03:52:44.120Z] warn  vscode Uncaught error {"error":"write ECONNRESET"}                                     
[2021-06-25T03:52:44.123Z] warn  vscode Uncaught error {"error":"write ECONNRESET"}                                     
[2021-06-25T03:52:44.124Z] debug management Disconnected {"token":"REDACTED"}               
[2021-06-25T03:52:44.358Z] debug vscode got message from code-server {"type":"socket"}                                  
[2021-06-25T03:52:44.359Z] trace vscode code-server message content {"message":{"type":"socket","query":{"type":"Management","reconnectionToken":"REDACTED","reconnection":"true","skipWebSocketFrames":"false"},"permessageDeflate":false}}                                                                                                
[2021-06-25T03:52:44.360Z] debug protocol Initiating handshake... {"token":"REDACTED"}      
[2021-06-25T03:52:44.419Z] trace protocol Got message {"message":"{\"type\":\"auth\",\"auth\":\"00000000000000000000\"}","token":"REDACTED"}                                                                        
[2021-06-25T03:52:44.426Z] trace protocol Got message {"message":"{\"type\":\"connectionType\",\"commit\":\"387b12ef4ca404ffd39d84834e1f0776e9e3c005\",\"signedData\":\"\",\"desiredConnectionType\":1}","token":"REDACTED"}                                                                                                                
[2021-06-25T03:52:44.427Z] debug protocol Handshake completed {"token":"REDACTED"}          
[2021-06-25T03:52:44.427Z] debug management Reconnecting... {"token":"REDACTED"}            
[2021-06-25T03:52:44.503Z] warn  vscode Uncaught error {"error":"write ECONNRESET"}                                     
[2021-06-25T03:52:44.504Z] warn  vscode Uncaught error {"error":"write ECONNRESET"}                                     
[2021-06-25T03:52:44.505Z] debug management Disconnected {"token":"REDACTED"}               
[2021-06-25T03:52:44.717Z] debug vscode got message from code-server {"type":"socket"}                                  
[2021-06-25T03:52:44.718Z] trace vscode code-server message content {"message":{"type":"socket","query":{"type":"Management","reconnectionToken":"REDACTED","reconnection":"true","skipWebSocketFrames":"false"},"permessageDeflate":false}}                                                                                                
[2021-06-25T03:52:44.719Z] debug protocol Initiating handshake... {"token":"REDACTED"}      
[2021-06-25T03:52:44.771Z] trace protocol Got message {"message":"{\"type\":\"auth\",\"auth\":\"00000000000000000000\"}","token":"REDACTED"}                                                                        
[2021-06-25T03:52:44.775Z] trace protocol Got message {"message":"{\"type\":\"connectionType\",\"commit\":\"387b12ef4ca404ffd39d84834e1f0776e9e3c005\",\"signedData\":\"\",\"desiredConnectionType\":1}","token":"REDACTED"}                                                                                                                
[2021-06-25T03:52:44.776Z] debug protocol Handshake completed {"token":"REDACTED"}          
[2021-06-25T03:52:44.777Z] debug management Reconnecting... {"token":"REDACTED"}            
[2021-06-25T03:52:44.847Z] debug management Disconnected {"token":"REDACTED"}               
[2021-06-25T03:52:45.101Z] debug vscode got message from code-server {"type":"socket"}                                  
[2021-06-25T03:52:45.102Z] trace vscode code-server message content {"message":{"type":"socket","query":{"type":"Management","reconnectionToken":"REDACTED","reconnection":"true","skipWebSocketFrames":"false"},"permessageDeflate":false}}                                                                                                
[2021-06-25T03:52:45.102Z] debug protocol Initiating handshake... {"token":"REDACTED"}      
[2021-06-25T03:52:45.161Z] trace protocol Got message {"message":"{\"type\":\"auth\",\"auth\":\"00000000000000000000\"}","token":"REDACTED"}                                                                        
[2021-06-25T03:52:45.166Z] trace protocol Got message {"message":"{\"type\":\"connectionType\",\"commit\":\"387b12ef4ca404ffd39d84834e1f0776e9e3c005\",\"signedData\":\"\",\"desiredConnectionType\":1}","token":"REDACTED"}                                                                                                                
[2021-06-25T03:52:45.167Z] debug protocol Handshake completed {"token":"REDACTED"}          
[2021-06-25T03:52:45.168Z] debug management Reconnecting... {"token":"REDACTED"}            
[2021-06-25T03:52:45.244Z] warn  vscode Uncaught error {"error":"write ECONNRESET"}                                     
[2021-06-25T03:52:45.245Z] warn  vscode Uncaught error {"error":"write ECONNRESET"}                                     
[2021-06-25T03:52:45.246Z] debug management Disconnected {"token":"REDACTED"}               
[2021-06-25T03:52:45.503Z] debug vscode got message from code-server {"type":"socket"}                                  
[2021-06-25T03:52:45.504Z] trace vscode code-server message content {"message":{"type":"socket","query":{"type":"Management","reconnectionToken":"REDACTED","reconnection":"true","skipWebSocketFrames":"false"},"permessageDeflate":false}}                                                                                                
[2021-06-25T03:52:45.505Z] debug protocol Initiating handshake... {"token":"REDACTED"}      
[2021-06-25T03:52:45.557Z] trace protocol Got message {"message":"{\"type\":\"auth\",\"auth\":\"00000000000000000000\"}","token":"REDACTED"}                                                                        
[2021-06-25T03:52:45.568Z] trace protocol Got message {"message":"{\"type\":\"connectionType\",\"commit\":\"387b12ef4ca404ffd39d84834e1f0776e9e3c005\",\"signedData\":\"\",\"desiredConnectionType\":1}","token":"REDACTED"}                                                                                                                
[2021-06-25T03:52:45.569Z] debug protocol Handshake completed {"token":"REDACTED"}          
[2021-06-25T03:52:45.569Z] debug management Reconnecting... {"token":"REDACTED"}            
[2021-06-25T03:52:45.649Z] warn  vscode Uncaught error {"error":"read ECONNRESET"}                                      
[2021-06-25T03:52:45.650Z] debug management Disconnected {"token":"REDACTED"}               
[2021-06-25T03:52:45.824Z] debug vscode got message from code-server {"type":"socket"}                                  
[2021-06-25T03:52:45.824Z] trace vscode code-server message content {"message":{"type":"socket","query":{"type":"Management","reconnectionToken":"REDACTED","reconnection":"true","skipWebSocketFrames":"false"},"permessageDeflate":false}}                                                                                                
[2021-06-25T03:52:45.825Z] debug protocol Initiating handshake... {"token":"REDACTED"}      
[2021-06-25T03:52:45.887Z] trace protocol Got message {"message":"{\"type\":\"auth\",\"auth\":\"00000000000000000000\"}","token":"REDACTED"}                                                                        
[2021-06-25T03:52:45.888Z] trace protocol Got message {"message":"{\"type\":\"connectionType\",\"commit\":\"387b12ef4ca404ffd39d84834e1f0776e9e3c005\",\"signedData\":\"\",\"desiredConnectionType\":1}","token":"REDACTED"}                                                                                                                
[2021-06-25T03:52:45.889Z] debug protocol Handshake completed {"token":"REDACTED"}          
[2021-06-25T03:52:45.890Z] debug management Reconnecting... {"token":"REDACTED"}            
[2021-06-25T03:52:45.962Z] warn  vscode Uncaught error {"error":"write ECONNRESET"}                                     
[2021-06-25T03:52:45.963Z] warn  vscode Uncaught error {"error":"write ECONNRESET"}                                     
[2021-06-25T03:52:45.964Z] debug management Disconnected {"token":"REDACTED"}               
[2021-06-25T03:52:46.218Z] debug vscode got message from code-server {"type":"socket"}                                  
[2021-06-25T03:52:46.219Z] trace vscode code-server message content {"message":{"type":"socket","query":{"type":"Management","reconnectionToken":"REDACTED","reconnection":"true","skipWebSocketFrames":"false"},"permessageDeflate":false}}                                                                                                
[2021-06-25T03:52:46.220Z] debug protocol Initiating handshake... {"token":"REDACTED"}      
[2021-06-25T03:52:46.279Z] trace protocol Got message {"message":"{\"type\":\"auth\",\"auth\":\"00000000000000000000\"}","token":"REDACTED"}                                                                        
[2021-06-25T03:52:46.282Z] trace protocol Got message {"message":"{\"type\":\"connectionType\",\"commit\":\"387b12ef4ca404ffd39d84834e1f0776e9e3c005\",\"signedData\":\"\",\"desiredConnectionType\":1}","token":"REDACTED"}                                                                                                                
[2021-06-25T03:52:46.283Z] debug protocol Handshake completed {"token":"REDACTED"}          
[2021-06-25T03:52:46.284Z] debug management Reconnecting... {"token":"REDACTED"}            
[2021-06-25T03:52:46.356Z] warn  vscode Uncaught error {"error":"write ECONNRESET"}                                     
[2021-06-25T03:52:46.357Z] warn  vscode Uncaught error {"error":"write ECONNRESET"}                                     
[2021-06-25T03:52:46.358Z] debug management Disconnected {"token":"REDACTED"}               
[2021-06-25T03:52:46.592Z] debug vscode got message from code-server {"type":"socket"}                                  
[2021-06-25T03:52:46.593Z] trace vscode code-server message content {"message":{"type":"socket","query":{"type":"Management","reconnectionToken":"REDACTED","reconnection":"true","skipWebSocketFrames":"false"},"permessageDeflate":false}}                                                                                                
[2021-06-25T03:52:46.594Z] debug protocol Initiating handshake... {"token":"REDACTED"}      
[2021-06-25T03:52:46.654Z] trace protocol Got message {"message":"{\"type\":\"auth\",\"auth\":\"00000000000000000000\"}","token":"REDACTED"}                                                                        
[2021-06-25T03:52:46.655Z] trace protocol Got message {"message":"{\"type\":\"connectionType\",\"commit\":\"387b12ef4ca404ffd39d84834e1f0776e9e3c005\",\"signedData\":\"\",\"desiredConnectionType\":1}","token":"REDACTED"}                                                                                                                
[2021-06-25T03:52:46.655Z] debug protocol Handshake completed {"token":"REDACTED"}          
[2021-06-25T03:52:46.656Z] debug management Reconnecting... {"token":"REDACTED"}            
[2021-06-25T03:52:46.737Z] warn  vscode Uncaught error {"error":"write ECONNRESET"}                                     
[2021-06-25T03:52:46.739Z] warn  vscode Uncaught error {"error":"write ECONNRESET"}                                     
[2021-06-25T03:52:46.740Z] debug management Disconnected {"token":"REDACTED"}               
[2021-06-25T03:52:46.932Z] debug vscode got message from code-server {"type":"socket"}                                  
[2021-06-25T03:52:46.932Z] trace vscode code-server message content {"message":{"type":"socket","query":{"type":"Management","reconnectionToken":"REDACTED","reconnection":"true","skipWebSocketFrames":"false"},"permessageDeflate":false}}                                                                                                
[2021-06-25T03:52:46.933Z] debug protocol Initiating handshake... {"token":"REDACTED"}      
[2021-06-25T03:52:46.993Z] trace protocol Got message {"message":"{\"type\":\"auth\",\"auth\":\"00000000000000000000\"}","token":"REDACTED"}                                                                        
[2021-06-25T03:52:46.999Z] trace protocol Got message {"message":"{\"type\":\"connectionType\",\"commit\":\"387b12ef4ca404ffd39d84834e1f0776e9e3c005\",\"signedData\":\"\",\"desiredConnectionType\":1}","token":"REDACTED"}                                                                                                                ^C
[2021-06-25T03:52:47.004Z] debug child:32529 disposing {"code":"SIGINT"}

@RWejlgaard
Copy link

RWejlgaard commented Jun 29, 2021

Guys I think I found a solution, in iOS settings go to Safari -> Advanced -> Experimental Features and disable NSURLSession WebSocket.

This worked on my iPhone running iOS 15 beta 2.

I don’t know enough about how this works but it sounds like it’s changing the way safari handles websockets establishing.

Update: Also worked on my iPad

@tommycusick
Copy link

Confirmed that the workaround suggested by @RWejlgaard works on iOS 15 beta 2. Filed Safari beta feedback with Apple (FB9240512) and referenced this bug report.

@ericbuess
Copy link

@RWejlgaard’s workaround also works for me also — iOS 15 beta 2

@NotEvenANeko
Copy link

NotEvenANeko commented Jul 4, 2021

Thanks guys I tried your solutions and I can use code-server in Safari now.

But serveditor still got the issue. And I'm on iPadOS 15 Dev Βeta 1.

@reticulatingsplines
Copy link

This workaround also worked for me on 14.6. However, the terminal window is still blank (no prompt) when I access from Safari from either my iPad 14.6 (M1 12.9") or from a M1 Mac mini running macos Big Sur. Maybe unrelated issue but I'm at wits' end troubleshooting it.

@jsjoeio
Copy link
Contributor

jsjoeio commented Jul 6, 2021

@reticulatingsplines do you mind opening a separate issue and filing a bug report?

@AndresRQ27
Copy link

This workaround also worked for me on 14.6. However, the terminal window is still blank (no prompt) when I access from Safari from either my iPad 14.6 (M1 12.9") or from a M1 Mac mini running macos Big Sur. Maybe unrelated issue but I'm at wits' end troubleshooting it.

If it's the same problem I had with the terminal window, you can fix it by changing the setting: Settings --> Terminal --> Integrated: Gpu Acceleration --> Turn off

@ericbuess
Copy link

This workaround also worked for me on 14.6. However, the terminal window is still blank (no prompt) when I access from Safari from either my iPad 14.6 (M1 12.9") or from a M1 Mac mini running macos Big Sur. Maybe unrelated issue but I'm at wits' end troubleshooting it.

If it's the same problem I had with the terminal window, you can fix it by changing the setting: Settings --> Terminal --> Integrated: Gpu Acceleration --> Turn off

That also worked for me!

@stale
Copy link

stale bot commented Mar 27, 2022

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.

@stale stale bot added the stale label Mar 27, 2022
@stale stale bot closed this as completed Apr 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working os-ios iOS/iPad related
Projects
None yet
Development

No branches or pull requests