go-http-tunnel icon indicating copy to clipboard operation
go-http-tunnel copied to clipboard

configuration error: tls invalid protocol "sni"

Open Abdo-Saleh opened this issue 4 years ago • 6 comments

tunnel.ymal file:

server_addr: 64.x.x.x:5223 tunnels: webui: proto: http addr: localhost:4200 host: chatbot.x.online tls: proto: sni addr: localhost:8000 host: developer.x.online

x was filled with my public server ip or its name, and it's hidden here.

when I am trying to connect, the following error is appearing configuration error: tls invalid protocol "sni"

Abdo-Saleh avatar Jan 25 '21 14:01 Abdo-Saleh

I'm having the same issue

synaption avatar Feb 16 '21 18:02 synaption

I just deleted the tls part of the config file. I think the error might have something to do with having a valid CNAME? I don't know a lot about that sort of thing, but it works for me now.

synaption avatar Feb 20 '21 20:02 synaption

i did remove that part and it works, but i needed it actually

Abdo-Saleh avatar Feb 23 '21 22:02 Abdo-Saleh

Hello, any news about it?

giper45 avatar Mar 24 '22 19:03 giper45

Think that it is not more release. Commit: https://github.com/mmatczuk/go-http-tunnel/commit/f48a09d2ab15c6f4fcbeec67864d39a584f22b30

should have added sni support. Issue #115 should be related. I try to build the master version to verify if it is supported.

giper45 avatar Mar 24 '22 19:03 giper45

Confirmed that when building master version (tunnel and tunneld), the sni is enabled.

giper45 avatar Mar 24 '22 19:03 giper45