Client throws panic error when creating the tunnel

I am running my boringproxy server on Digital Ocean droplet and my client is on my local Ubuntu VM.

Both server and client run perfectly fine until I create a tunnel using web dashboard.

When I create the tunnel, there is no error on server web interface but on my client terminal following panic error occurs

panic: runtime error: index out of range [0] with length 0

goroutine 1 [running]:
github.com/boringproxy/boringproxy.(*Client).PollTunnels(0xc0000c0240, {0x9da0f0, 0xc000022088})
/home/anders/code/boringproxy/client.go:205 +0x54e
github.com/boringproxy/boringproxy.(*Client).Run(0xc0000c0240, {0x9da0f0, 0xc000022088})
/home/anders/code/boringproxy/client.go:166 +0x685
main.main()
/home/anders/code/boringproxy/cmd/boringproxy/main.go:141 +0xe11

anyone please help

@anders please help. there has not been any reply from the community.
I also faced the same issue in my Windows Physical server and now facing this on my Ubuntu VM in Hyper V.

Hi @TalitMahmood. Sorry for the delay. boringproxy is a volunteer project and support is on a best-effort basis. I’d recommend using Cloudflare Tunnel or another project from the list if you need a reliable turnkey solution: GitHub - anderspitman/awesome-tunneling: List of ngrok/Cloudflare Tunnel alternatives and other tunneling software and services. Focus on self-hosting.

That said, just from looking at your error, it looks like the client isn’t properly receiving the ETag header from the server. Do you maybe have a proxy or something that’s stripping the headers?