gocs
(go je)
1
a. System environment:
Ubuntu 20.04.1 LTS (GNU/Linux 5.4.0-45-generic x86_64)
go version go1.15.1 linux/amd64
3. The problem I’m having:
r := mux.NewRouter()
r.HandleFunc("/", HomeHandler)
...
err := certmagic.HTTPS([]string{"something.com"}, r)
...
4. Error messages and/or full log output:
TLS handshake error from <ip:port>: tls: first record does not look like a TLS handshake
matt
(Matt Holt)
2
This just means that the client sent a non-TLS request to a TLS server. Usually, the client is trying HTTP but the server is expecting HTTPS.
gocs
(go je)
3
I thought maybe if there is something I could do to clear this error message, but I don’t have the client.
Thanks.
system
(system)
Closed
4
This topic was automatically closed after 30 days. New replies are no longer allowed.