I have been seeing intermittent failures when opening a GitHub workspace in VS Code. The error message says that the server returned a 502 status (but nothing more, that I see). Right now it is not returning an error (at least, as quickly as it was), but it is also apparently stalled indefinitely before it opens any content or starts a terminal, with green spinner that simply says “Opening Remote…”
The full error message is:
Failed to connect to the remote extension host server (Error: Codespace token exchange request failed with status 502)
It would be delightful if there were some self-service way to see more information about this failure. It would, of course, be even more delightful if this weren’t happening, but we all know that failures are inevitable, so I’d settle for more visibility into the inevitable failure.