microsoft / microsoft/vscode-remote-release
VSCode Tunnel expires after 24 hours and have an error on refreshing the token.
@connor4312 is already working on this.
Since Sep 17, 2025.
- Dominant language
- Dockerfile
- Stars
- 4.2k
- Forks
- 469
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
I am getting every 24 hours this error:
Right now every 24 hours I am getting this issue: [2025-09-17 15:02:56] info error refreshing token: error requesting https://api.github.com/user: 401 {"message":"Bad credentials","documentation_url":"https://docs.github.com/rest","status":"401"} I am having issues with my remote tunnel and I started like this code tunnel --accept-server-license-terms --name ${VSCODE_TUNNEL_NAME}
- VSCode Version:
- Local OS Version:
- Remote OS Version:
- Remote Extension/Connection Type: Dev Containers/WSL/Remote - Tunnels/VS Code Server
- Logs:
Steps to Reproduce:
- Create a remote tunnel and logging with github
- The tunnel failed to update the refresh token
It was working perfectly, I suggest to add a headless way to create this tunnel with github authentication
This is a very bad issue for me, I will give a talk on Saturday about how to use this vscode tunnels and I can not show this failing please take this as an priority bug.
Does this issue occur when you try this locally?: Yes
Does this issue occur when you try this locally and all extensions are disabled?: Yes
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.