Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

error 500 on https after update

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
6 posts • Page 1 of 1
willowmagrini
Posts: 4
Joined: Fri Aug 25, 2017 1:10 pm

Os: Ubuntu 15x
Web: apache + nginx
error 500 on https after update
  • Quote

Post by willowmagrini » Fri Jan 05, 2018 6:06 pm

I was using vesta on auto update mode and with the last update every https website is returning a 500 error.
I´m using Ubuntu 16.04.2 and vesta 0.9.8 release 18.
I´ve already tried to recreate the user, disable and enable ssl certificate for the domain, restart web, restart server.
here is the apache error log for my domain:

Code: Select all

2018/01/05 19:03:02 [error] 8043#8043: *162 SSL_do_handshake() failed (SSL: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol) while SSL handshaking to upstream, client: 177.45.131.20, server: brunomagrini.com.br, request: "GET / HTTP/1.1", upstream: "https://176.31.254.186:8443/", host: "brunomagrini.com.br"
2018/01/05 19:03:02 [error] 8043#8043: *162 SSL_do_handshake() failed (SSL: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol) while SSL handshaking to upstream, client: 177.45.131.20, server: brunomagrini.com.br, request: "GET /favicon.ico HTTP/1.1", upstream: "https://176.31.254.186:8443/favicon.ico", host: "brunomagrini.com.br", referrer: "https://brunomagrini.com.br/"
Anybody has a similar issue?
Thanks.
Top

Hallek
Posts: 1
Joined: Sat Jan 06, 2018 10:34 am

Os: CentOS 6x
Web: apache + nginx
Re: error 500 on https after update
  • Quote

Post by Hallek » Sat Jan 06, 2018 10:36 am

Same problem. Anybody can help?
Top

wedge1001
Posts: 7
Joined: Thu Jan 04, 2018 9:18 am

Os: Debian 7x
Web: nginx + php-fpm
Re: error 500 on https after update
  • Quote

Post by wedge1001 » Tue Jan 09, 2018 7:28 am

have you tried upgrading the system you are using?

normally such an error only applies if you are having problems with creating the ssl connection with an endpoint that want to have an encryption your server can't handle
ergo don't answer with a HELO after SSL
normally the server is backwards compatible; but perhaps in the 18 release they have changed some security settings?
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: error 500 on https after update
  • Quote

Post by mehargags » Tue Jan 09, 2018 7:50 am

update & upgrade your server to latest updates
restart apache or restart full server once
"rebuild web" for the website
Top

willowmagrini
Posts: 4
Joined: Fri Aug 25, 2017 1:10 pm

Os: Ubuntu 15x
Web: apache + nginx
Re: error 500 on https after update
  • Quote

Post by willowmagrini » Thu Jan 11, 2018 5:48 am

Hello,

The error we were getting seamed like a nginx configuration problem but I cannot tell exactly what was. After a lot of attempts what solved our problem was running v-update-web-templates.
Top

Elizine
Posts: 50
Joined: Wed Aug 12, 2015 12:11 pm
Contact:
Contact Elizine
Website

Re: error 500 on https after update
  • Quote

Post by Elizine » Tue Jan 16, 2018 4:36 am

While using SSL, you need dedicated IP address per vHost (this example clearly show the request has been sent to the localhost IP. You probably have the wrong IP set in proxy_pass statement).

1. Ensure the Apache vHost/site is responding on the non-standard port (browse to : https://www.domain.tld:8443).

2. If its loading properly, then note the IP address contained within <VirtualHost 0.0.0.0:8443> of your SSL vHost, otherwise double check your Apache configuration.

3. Under your Nginx SSL vHost configuration, make sure the same IP address is in that statement “proxy_pass https://0.0.0.0:8443;“.
Top


Post Reply
  • Print view

6 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password