wmnnd / nginx-certbot

Boilerplate configuration for nginx and certbot with docker-compose

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to connect to the app via https or browser

nicksowl opened this issue · comments

Hi,
Hope this project is still somewhat alive and someone can give me a hand :)

After following the tutorial back and forth, I'm continuously getting the following error in my browser when trying to connect:

ERR_SSL_PROTOCOL_ERROR (Chrome) / SSL_ERROR_RX_RECORD_TOO_LONG (Firefox)

If I try to https via cli I'm getting this:

https: error: SSLError: HTTPSConnectionPool(host='xxx.xxx', port=80): Max retries exceeded with url: / (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:997)'))) while doing a GET request to URL: https://xxx.xxx:80/

I can https to other ports, and I'm getting 301 from nginx.

Thanks in advance and have a beautiful day.

Not sure exacty what youa re doing but the port 80 is more thatn a bit suspicious! 443 surely.

Hope that helps. Port 80 (not 443) is mentioned here as a problem.