Skip to content

fix: force HTTP/2 protocol on all Cloudflare tunnels#1

Open
applesnort wants to merge 1 commit into
credential-handler:mainfrom
applesnort:fix/cloudflare-tunnel-http2
Open

fix: force HTTP/2 protocol on all Cloudflare tunnels#1
applesnort wants to merge 1 commit into
credential-handler:mainfrom
applesnort:fix/cloudflare-tunnel-http2

Conversation

@applesnort

Copy link
Copy Markdown

Summary

  • cloudflared defaults to QUIC (UDP) transport to Cloudflare's edge
  • On networks where UDP/443 is blocked, all four tunnels silently fail with timeout: no recent network activity
  • Adding --protocol http2 forces TCP, making the stack work regardless of UDP availability
  • Applies to all four tunnel services: mediator-tunnel, wallet-tunnel, issuer-tunnel, verifier-tunnel

Test plan

  • Run stack on a network where UDP to Cloudflare is blocked and confirm tunnels come up
  • Run stack on an unrestricted network and confirm no regression (HTTP/2 works fine there too)
  • Full wallet → issue → present flow on a phone via tunnel URLs

🤖 Generated with Claude Code

QUIC (UDP) is blocked on some networks, causing all four cloudflared
tunnels to silently fail with timeout errors. Adding --protocol http2
forces TCP fallback so the stack works regardless of UDP availability.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants