Internal server error 500 after update to 1.4.2

System: Ubuntu 18.04
Hestia CP: 1.4.2

All services are up and runnig.
The controlpanel is up running.

I try nginx -t & apache2ctl configtest
nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful

apache2ctl configtest
Syntax OK

In /var/log/apache2/domains I found several times the following entry:

2021/06/13 11:27:24 [error] 10354#10354: *297 SSL_do_handshake() failed (SSL: error:1408F10B:SSL routines:ssl3_get_record:wrong version number) while SSL handshaking to upstream, client: xx.xx.xx.xx, server: , request: “GET /favicon.ico HTTP/2.0”, upstream: “https://xx.xx.xx.xx:8443/favicon.ico”, host: “www.”

Best regards

Tom

What’s in the weblog of the related domain? Check /home/user/web/domain.tld/logs

Hello ScIT,

there is no entry in the log.

Best regards

Tom

For an 500 internal server error there should be a message - usualy it gets logged as soon as you request the related domain. Without any log informations, it’s hard to say what’s wrong - I can’t access your server from my side.

I will write you a PM with temporary access data. You will see there are no entries except in the error log.

I currently have no time for a remote debug, maybe someone else will step in.

Websites should be working again. It was caused by the fact that SSL information was missing from:

/etc/apache2/conf.d/ip.conf

Listen ip:8443
Listen ip:8080
<VirtualHost ip:8080>
    ServerName ip
    DocumentRoot /var/www/html/
    Alias /error/ /var/www/document_errors/

</VirtualHost>

<VirtualHost ip:8443>
    ServerName ip
    DocumentRoot /var/www/html/
    Alias /error/ /var/www/document_errors/
</VirtualHost>

vs

Listen ip:8443
Listen ip:8080
<VirtualHost ip:8080>
    ServerName ip
    DocumentRoot /var/www/html/
    Alias /error/ /var/www/document_errors/

</VirtualHost>

<VirtualHost ip:8443>
    ServerName ip
    DocumentRoot /var/www/html/
    Alias /error/ /var/www/document_errors/

    SSLEngine on
    SSLVerifyClient none
    SSLCertificateFile         /usr/local/hestia/ssl/certificate.crt
    SSLCertificateKeyFile      /usr/local/hestia/ssl/certificate.key
 
</VirtualHost>

See:

Please donate something to Hestia / https://hestiacp.com/donate/

If you have a European VAT number I can also send you an invoice if you want.

1 Like

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