Skip to content

Instantly share code, notes, and snippets.

@thereisnotime
Last active March 20, 2024 21:27
Show Gist options
  • Save thereisnotime/7f160b0261e2647b3c7ea7719ecf365e to your computer and use it in GitHub Desktop.
Save thereisnotime/7f160b0261e2647b3c7ea7719ecf365e to your computer and use it in GitHub Desktop.
VSCode Tunnels Bug Workaround

If you get the error "The workbench failed to connect to the server (Error: Connection error: Unauthorized client refused: auth mismatch)" when trying to connect from one VS Code instance to VS Code tunnel on another machine do the following workaround:

  1. Open the remote URL in the browser.
  2. Close the tab few times before "Yes I Trust" popup appears, press it.
  3. Done. Now you can again use the desktop version to connect to a tunnel.

Thanks Microsoft...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment