cloudflared icon indicating copy to clipboard operation
cloudflared copied to clipboard

🐛 Page with websockets renders blank

Open jongio opened this issue 3 weeks ago • 0 comments

Describe the bug I have a webpage that uses ws, wss, and http and it doesn't render anything.

To Reproduce

Create config:

tunnel: 
credentials-file: 

ingress:
  - hostname: hostname
    service: https://localhost:7292
  - service: http_status:404

Start the tunnel

Hit the page on public domain

You will see requests for ws://localhost:port, wss://localhost:/post, and http:requests.

How do I configure cloudflared to work in this setup? I have tried originRequest/httpHostHeader setting to localhost.

Expected behavior Page renders

Environment and versions

  • OS: [e.g. MacOS] Windows
  • Architecture: [e.g. AMD, ARM]
  • Version: [e.g. 2022.02.0]

Logs and errors If applicable, add logs or errors to help explain your problem.

Additional context Add any other context about the problem here.

jongio avatar Jun 12 '24 14:06 jongio