Page 1 of 1

Slow Response from Messenger Service

Posted: 22 May 2017, 22:48
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.

Re: Slow Response from Messenger Service

Posted: 03 Jul 2017, 02:54
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.