Error starting agent - failed to peek sni and alpns #31
-
I have gone through the basic tutorial, skipping the client for now as I'm publishing a web server through following that guide. I have the gateway running and am attempting to start an agent that I've configured with a
The agent treats this as the gateway hanging up the connection. Any ideas as to what this would point to that's misconfigured? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
This error indicates that the TLS server received a malformed TLS connection – a connection that either lacks an SNI extension or sends a non-TLS packet to the TLS server. It may not necessarily be the fault of the connecting agent to the gateway and could result from internet scanning services or similar factors. However, if you use the You can also set the
|
Beta Was this translation helpful? Give feedback.
This error indicates that the TLS server received a malformed TLS connection – a connection that either lacks an SNI extension or sends a non-TLS packet to the TLS server. It may not necessarily be the fault of the connecting agent to the gateway and could result from internet scanning services or similar factors.
However, if you use the
Wss
(HTTPS+Websocket
) protocol to connect to the gateway, you need to use a domain name. I suspect that you intended to connect to the gateway using theWss
protocol but used an IP address in the agent's configuration field.You can also set the
RUST_LOG=narrowlink_gateway=trace
environment variable in your gateway's terminal and run it again to obtain…