Slow Response from Messenger Service

Post Reply
nigelpeck
Junior Member
Posts: 5
Joined: 15 Nov 2016, 19:26

Slow Response from Messenger Service

Post by nigelpeck »

Hi,

I am trying to configure the HTTPS messenger service to give an HTML error message when an IP address is blocked. It's working, but very slow. When I usee httpie, I get the following error:

Code: Select all

http: error: SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579) while doing GET request to URL: 
With Firefox, it works, but takes well over a minute before the page loads. I have no idea where the holdup is. There is nothing in the LFD log, which simply says that:

Code: Select all

May 22 21:46:41 melian lfd[20273]: Messenger HTTPS Service started for 2 domains
I have the SSL certificates set up using a file as so:

Code: Select all

<VirtualHost _default_:443>
    ServerName www.example.com

    # SSL Certs
    SSLCertificateFile /etc/letsencrypt-import/live/example.com/cert.pem
    SSLCertificateKeyFile /etc/letsencrypt-import/live/example.com/privkey.pem
    SSLCertificateChainFile /etc/letsencrypt-import/live/example.com/chain.pem
</VirtualHost>

<VirtualHost _default_:443>
    ServerName www.example.org

    # SSL Certs
    SSLCertificateFile /etc/letsencrypt-import/live/example.org/cert.pem
    SSLCertificateKeyFile /etc/letsencrypt-import/live/example.org/privkey.pem
    SSLCertificateChainFile /etc/letsencrypt-import/live/example.org/chain.pem
</VirtualHost>
Perhaps that's the problem? But as I say, it's working, just very slowly.
Tearabite
Junior Member
Posts: 26
Joined: 27 Dec 2008, 00:29
Contact:

Re: Slow Response from Messenger Service

Post by Tearabite »

I came here looking to cure the issue with the SLOW messenger service page..
What I've found is that if you remove the IMG link, it loads immediatly. I tried a remote image, but it also makes the page load slow. Remove the image, and BOOM! It loads instantly.
For me at least, it's not that the page loads slow, it's that images load super slow - so hoping for some guidance.
Post Reply