microsoft / microsoft/vscode-remote-release
Port Forwarding Fails Due to 'PortsPerTunnel' Limit Despite No Active Forwards
@connor4312 is already working on this.
Since Oct 8, 2024.
- Dominant language
- Dockerfile
- Stars
- 4.2k
- Forks
- 469
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
When I try to forward a port, I receive an error stating, "The request was denied because it would exceed the limit for 'PortsPerTunnel' (10)." However, I have not forwarded any ports, as shown in the image below:
-
VSCode Version: 1.94.1 (Darwin arm64 24.0.0)
-
Local OS Version: macOS 15.0.1
-
Remote OS Version: Docker 20.10.15 on an Ubuntu 20.04.4 LTS
-
Remote Extension/Connection Type: Tunnel
-
Logs:
Unable to forward localhost:6006. Could not forward port: Error: WrappedError(WrappedError { message: "error adding port to relay", original: "failed to add port to tunnel: response error: HTTP status 429 Too Many Requests from https://usw2.rel.tunnels.api.visualstudio.com/tunnels/[...]/ports/6006?api-version=2023-09-27-preview (request ID [...]-[...]-[...]-[...]-[...]): {"title":"Resource limit exceeded.","status":429,"detail":"The request was denied because it would exceed the limit for 'PortsPerTunnel' (10).","traceId":"00-[...]-[...]-00"}" })
Steps to Reproduce:
- Set up a VSCode tunnel in Docker on a remote server.
- Access the tunnel on a local machine and attempt to forward a port.
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.