SSL routines:ssl3_get_record:wrong version

My domain is:
https://web-api.staging.manabie.io:31400

I ran this command:
openssl s_client -connect web-api.staging.manabie.io:31400

It produced this output:

CONNECTED(00000003)
139717383247040:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../ssl/record/ssl3_record.c:331:
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 5 bytes and written 328 bytes
Verification: OK
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
Early data was not sent
Verify return code: 0 (ok)
---

My web server is (include version):
Istio 1.4

The operating system my web server runs on is (include version):

My hosting provider, if applicable, is:
GKE

I can login to a root shell on my machine (yes or no, or I don’t know):
yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel):
no

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot):

cert-manager-controller:v0.14.1

Hi @nvcnvn

there are checks of your domain + port, 20 minutes old - https://check-your-website.server-daten.de/?q=web-api.staging.manabie.io%3A31400

That port

Domainname Http-Status redirect Sec. G
http://web-api.staging.manabie.io:31400/ 35.198.215.138 404 0.626 M
Not Found
http://www.web-api.staging.manabie.io:31400/ 35.198.215.138 404 0.617 M
Not Found
https://web-api.staging.manabie.io:31400/ 35.198.215.138 -4 1.213 W
SendFailure - The underlying connection was closed: An unexpected error occurred on a send.
https://www.web-api.staging.manabie.io:31400/ 35.198.215.138 -4 1.226 W
SendFailure - The underlying connection was closed: An unexpected error occurred on a send.

is a http port, not a https port.

Create a working https port if you want to use https with that port.

Thank you so much!!
By mistake I config the sever to serve HTTP … and this cost me a full day.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.