Troubleshoot and debug
Troubleshoot and debug errors commonly associated with Workers VPC.
Workers VPC may return errors at runtime when connecting to private services through Cloudflare Tunnel.
| Error Message | Details | Recommended fixes |
|---|---|---|
Error: ProxyError: dns_error | DNS resolution failed when attempting to connect to your private service through the tunnel. | This error may occur if your cloudflared version is outdated. Ensure you are running cloudflared version 2025.7.0 or later (latest version recommended). See Cloudflare Tunnel update instructions. |
Error: ProxyError: dns_error | Cloudflare Tunnel may be configured with http2 protocol (TUNNEL_TRANSPORT_PROTOCOL:http2), which works for Cloudflare Zero Trust (see note) traffic but prevents DNS resolution from Workers VPC. | Workers VPC requires Cloudflare Tunnel to connect using the QUIC transport protocol. Ensure outbound UDP traffic on port 7844 is allowed through your firewall. |
| Requests not staying within VPC | Worker requests using .fetch() with a public hostname are routing out of the VPC to the hostname configured for the VPC Service. | Ensure your Worker code and the VPC Service use the internal VPC hostname for backend services, not a public hostname. |
If you cannot view, create, or bind VPC Services and Tunnels in the dashboard or via Wrangler, ensure your user has the required roles.
Workers VPC uses the following account roles:
Connectivity Directory Readto view Workers VPC Services and Tunnels.Connectivity Directory Bindto list/read services and bind them in Workers.Connectivity Directory Adminto create, update, and delete services.
For role definitions, refer to Roles.
If your roles were recently updated and commands are still failing, refresh Wrangler authentication:
npx wrangler logoutnpx wrangler loginIf you authenticate with an API token (CLOUDFLARE_API_TOKEN), ensure the token belongs to a user with the required roles.
Was this helpful?
- Resources
- API
- New to Cloudflare?
- Directory
- Sponsorships
- Open Source
- Support
- Help Center
- System Status
- Compliance
- GDPR
- Company
- cloudflare.com
- Our team
- Careers
- © 2026 Cloudflare, Inc.
- Privacy Policy
- Terms of Use
- Report Security Issues
- Trademark
-