Page 1 of 1

Error 500 on all websites

Posted: Wed Jun 10, 2020 6:59 am
by Spheerys
Hi,

Since this morning, all hosted websites on one server are on Error 500.
On the log, I have this :

Code: Select all

2020/06/10 08:58:31 [error] 6035#6035: *289 SSL_do_handshake() failed (SSL: error:1408F10B:SSL routines:ssl3_get_record:wrong version number) while SSL handshaking to upstream, client: 216.bbb.ccc.82, server: domain.fr, request: "GET / HTTP/1.1", upstream: "https://51.eee.yyy.37:8443/", host: "www.domain.fr", referrer: "https://www.domain.fr"
I tryed to restart apache2 and nginx, and also regerenate SSL LE's certificate but nothing change.

What's going on ?

Re: Error 500 on all websites

Posted: Wed Jun 10, 2020 10:10 am
by Spheerys
I don't explain why it was happen, but I solved the issue wy changing this line in /usr/local/vesta/nginx/conf/nginx.conf :

Code: Select all

    server {
        listen          8083;
to

Code: Select all

    server {
        listen          8083 default_server ssl;
And after I did a :

Code: Select all

v-rebuild-web-domains USER

Re: Error 500 on all websites

Posted: Wed Jun 10, 2020 12:41 pm
by dpeca
dude, vesta nginx has nothing with main nginx SSL.

changing vesta nginx conf [1] and rebuilding domains [2] is like you said:
i prevented flooding my house with changing lock on my house door [1] and replacing broken water pipe [2].

you fixed issue just by running v-rebuild-web-domains USER

Re: Error 500 on all websites

Posted: Wed Jun 10, 2020 1:17 pm
by Spheerys
oh you are absolutely right !