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

UnexpectedErrorHandler and invalid distance too far back . update 1.61.2 #136209

Closed
telnet01 opened this issue Oct 22, 2021 · 4 comments
Closed
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug *duplicate Issue identified as a duplicate of another issue(s) remote-connection Issues about the remote connection
Milestone

Comments

@telnet01
Copy link

Hello, I installed latest version VS Code and remove old and install new VS Code server to LINUX target.
On target libz 1.2.11 (latest),OpenSSH_6.7p1, OpenSSL 1.0.2d .
On target server says:

dError=e.transformErrorForSerialization=e.onUnexpectedExternalError=e.onUnexpectedError=e.setUnexpectedErrorHandler=e.errorHandler=e.ErrorHandler=void 0;class f{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(t){setTimeout(()=>{throw t.stack?new Error(t.message+`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            

Error: invalid distance too far back

Error: invalid distance too far back
    at Zlib.zlibOnError [as onerror] (zlib.js:181:17)
    at Timeout._onTimeout (/home/root/.vscode-server/bin/6cba118ac49a1b88332f312a8f67186f7f3c1643/out/vs/server/remoteExtensionHostProcess.js:3:16117)
    at listOnTimeout (internal/timers.js:554:17)
    at processTimers (internal/timers.js:497:7)

[18:42:16] [127.0.0.1][213d97a2][ExtensionHostConnection] <29875> Extension Host Process exited with code: 1, signal: null.
Last EH closed, waiting before shutting down

on client side :

[01:41:56.835] > Found running server...
[01:41:56.851] >  
> *
> * Reminder: You may only use this software with Visual Studio family products,
> * as described in the license (https://go.microsoft.com/fwlink/?linkid=2077057)
> *
>  
[01:41:56.997] > Checking server status on port 52219 with curl
[01:41:57.087] > a50be865f322: start
> SSH_AUTH_SOCK====
> DISPLAY====
> webUiAccessToken====
> listeningOn==52219==
> osReleaseId==angstrom==
> arch==armv7l==
> tmpDir==/run/user/0==
> platform==linux==
> unpackResult====
> didLocalDownload==0==
> downloadTime====
> installTime====
> extInstallTime====
> serverStartTime====
> connectionToken==1aa11aa1-111a-11a1-a11a-1111a111a1a1==
> a50be865f322: end
[01:41:57.087] Received install output: 
SSH_AUTH_SOCK====
DISPLAY====
webUiAccessToken====
listeningOn==52219==
osReleaseId==angstrom==
arch==armv7l==
tmpDir==/run/user/0==
platform==linux==
unpackResult====
didLocalDownload==0==
downloadTime====
installTime====
extInstallTime====
serverStartTime====
connectionToken==1aa11aa1-111a-11a1-a11a-1111a111a1a1==

[01:41:57.088] Remote server is listening on 52219
[01:41:57.088] Parsed server configuration: {"serverConfiguration":{"remoteListeningOn":{"port":52219},"osReleaseId":"angstrom","arch":"armv7l","webUiAccessToken":"","sshAuthSock":"","display":"","tmpDir":"/run/user/0","platform":"linux","connectionToken":"1aa11aa1-111a-11a1-a11a-1111a111a1a1"},"installUnpackCode":""}
[01:41:57.090] Persisting server connection details to /Users/andrey/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-68f7dbed-6cba118ac49a1b88332f312a8f67186f7f3c1643-0.65.8/data.json
[01:41:57.093] Starting forwarding server. localPort 56396 -> socksPort 56392 -> remotePort 52219
[01:41:57.093] Forwarding server listening on 56396
[01:41:57.093] Waiting for ssh tunnel to be ready
[01:41:57.095] Tunneled 52219 to local port 56396
[01:41:57.095] Resolved "ssh-remote+192.168.1.244" to "127.0.0.1:56396"
[01:41:57.097] [Forwarding server 56396] Got connection 0
[01:41:57.105] ------




[01:41:57.163] [Forwarding server 56396] Got connection 1
[01:41:57.219] [Forwarding server 56396] Got connection 2
[01:42:16.496] [Forwarding server 56396] Got connection 3

How to fix it?

@tanhakabir
Copy link
Contributor

Hmm @roblourens do you have an idea of what's going on here?

@roblourens roblourens assigned roblourens and alexdima and unassigned roblourens Oct 29, 2021
@alexdima alexdima transferred this issue from microsoft/vscode-remote-release Nov 1, 2021
@alexdima alexdima added the remote-connection Issues about the remote connection label Nov 1, 2021
@alexdima
Copy link
Member

alexdima commented Nov 1, 2021

@telnet01 Do you have any more information regarding the machine you are connecting to? I am really interested in reproducing this issue to begin looking into a fix, but I haven't been able to reproduce so far. Related: #134429

@alexdima alexdima added the info-needed Issue requires more information from poster label Nov 1, 2021
@telnet01
Copy link
Author

telnet01 commented Nov 2, 2021

@telnet01 Do you have any more information regarding the machine you are connecting to? I am really interested in reproducing this issue to begin looking into a fix, but I haven't been able to reproduce so far. Related: #134429

Beagleboard with Armstrong fs 2015.06. if necessary I can give you access via anydesk

@alexdima alexdima added bug Issue identified by VS Code Team member as probable bug and removed info-needed Issue requires more information from poster labels Nov 25, 2021
@alexdima alexdima added this to the November 2021 milestone Nov 25, 2021
@alexdima
Copy link
Member

Let's track in #134429

@alexdima alexdima added the *duplicate Issue identified as a duplicate of another issue(s) label Nov 25, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Jan 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug *duplicate Issue identified as a duplicate of another issue(s) remote-connection Issues about the remote connection
Projects
None yet
Development

No branches or pull requests

4 participants