Welcome! Log In Create A New Profile


v1.1.19 Https SSL Stream Timeout and 502

September 28, 2017 12:59PM
Hello, I have nginx v 1.1.19 Im trying to configure one revese proxy with an outside ip, I had many problems who its being registered in the log showing:

connect() failed (110: Connection timed out) while connecting to upstream and
SSL_do_handshake() failed (SSL: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
depending if I change in the upstream the :443 post number after the ip example externalip:443.

Some help to know the wrong parameter o what´s more I need to add.

Thanks in advance.

The config file is:
server {
listen ip:443 ssl;
ssl on;
root /var/www;

ssl_certificate /etc/nginx/certs/3/server.crt;
ssl_certificate_key /etc/nginx/certs/3/server.key;
ssl_protocols SSLv2 SSLv3 TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers RC4:HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
keepalive_timeout 60;
ssl_session_cache shared:SSL:10m;
ssl_verify_client off;
proxy_ssl_session_reuse on;
ssl_session_timeout 10m;
large_client_header_buffers 4 32K;
access_log /var/log/nginx/ssl.access.log combinedhackmultiple;
error_log /var/log/nginx/ssl.error.log;
location / {
proxy_pass https://nametoacessexternalssl;
And the upstream is:
upstream nametoacessexternalssl{
server externalipaddress:443;
Subject Author Posted

v1.1.19 Https SSL Stream Timeout and 502

fabian_uy September 28, 2017 12:59PM

SOLVED Re: v1.1.19 Https SSL Stream Timeout and 502

fabian_uy September 28, 2017 02:37PM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 329
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready