4xx status code, preventing rewriting of https | Cpanel

1,349 views
Skip to first unread message

Chris Vanek

unread,
Jul 4, 2017, 5:27:27 AM7/4/17
to mod-pagespeed-discuss
Hi,


The debug is littered with 4xx status code, preventing rewriting of https:// and isn't optimising anything.

The output of a header pull shows the following: curl -I https://www.easymodeloans.co.nz


HTTP/1.1 200 OK

Date: Tue, 04 Jul 2017 09:20:13 GMT

Server: Apache

Link: <https://www.easymodeloans.co.nz/wp-json/>; rel="https://api.w.org/", <https://www.easymodeloans.co.nz/>; rel=shortlink

X-Mod-Pagespeed: 1.12.34.2-0

Cache-Control: max-age=0, no-cache

Content-Type: text/html; charset=UTF-8



I had Xvarnish installed But I have now disabled it for testing as I was getting the same error. But disabling it seems to be having the same issues.


I have a completely default pagespeed.conf file currently. I have also tried adding X-Proto-Header parameter to on and it didn't make a difference.


It is a wordpress website - there is no caching plugins installed, and no https redirect plugins installed currently.


Any thoughts?

Otto van der Schaaf

unread,
Jul 4, 2017, 8:05:08 AM7/4/17
to mod-pagespeed-discuss
X-Posting my reply from https://github.com/pagespeed/mod_pagespeed/issues/1579
(I'll close that issue, is this place is more suitable.)

Can you try if explicitly mapping the origin helps?

Another thing on that page that is worth double checking is "Configuring SSL Certificates"

Otto

--
You received this message because you are subscribed to the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-di...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/bfb612a5-8017-4e21-b857-58aed9c012e5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Chris Vanek

unread,
Jul 4, 2017, 8:19:24 AM7/4/17
to mod-pagespeed-discuss
Hi Otto,

Thanks for the reply! - So, I've set the following now in the pagespeed.conf and flushed cache and restarted httpd

ModPagespeedSslCertDirectory /var/cpanel/ssl/installed/certs


This server will be hosting many many domains it is also running a public Cpanel environment so I don't think it has a http:// alternative to even map to in this case? I can't find any documentation on Cpanel stating that such a url would exist either (i.e. http version alternative to the https host domain).

I am still getting the 4xx error when using the debug url within the source code for the elements though. Thoughts?

Regards

Otto van der Schaaf

unread,
Jul 4, 2017, 9:31:20 AM7/4/17
to mod-pagespeed-discuss
By default, the module will use loopback fetching to get to the original images, css and js files. 
Could you try authorizing the www. domain?
That should make the module use dns when connecting to your server for fetching its inputs: https://modpagespeed.com/doc/domains

Otto

--
You received this message because you are subscribed to the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-di...@googlegroups.com.

Chris Vanek

unread,
Jul 4, 2017, 9:51:08 AM7/4/17
to mod-pagesp...@googlegroups.com
I added the following lines to the pagespeed conf:

ModPagespeedDomain *.easymodeloans.co.nz

ModPagespeedDomain www.easymodeloans.co.nz


Flushed cache and restarted httpd, however, still getting 404 errors.


On Tue, Jul 4, 2017 at 11:31 PM, Otto van der Schaaf <osc...@we-amp.com> wrote:
By default, the module will use loopback fetching to get to the original images, css and js files. 
Could you try authorizing the www. domain?
That should make the module use dns when connecting to your server for fetching its inputs: https://modpagespeed.com/doc/domains

Otto

On Tue, Jul 4, 2017 at 2:19 PM Chris Vanek <ch...@checkyweb.com.au> wrote:
Hi Otto,

Thanks for the reply! - So, I've set the following now in the pagespeed.conf and flushed cache and restarted httpd

ModPagespeedSslCertDirectory /var/cpanel/ssl/installed/certs


This server will be hosting many many domains it is also running a public Cpanel environment so I don't think it has a http:// alternative to even map to in this case? I can't find any documentation on Cpanel stating that such a url would exist either (i.e. http version alternative to the https host domain).

I am still getting the 4xx error when using the debug url within the source code for the elements though. Thoughts?

Regards

On Tuesday, July 4, 2017 at 10:05:08 PM UTC+10, Otto van der Schaaf wrote:
X-Posting my reply from https://github.com/pagespeed/mod_pagespeed/issues/1579
(I'll close that issue, is this place is more suitable.)

Can you try if explicitly mapping the origin helps?

Another thing on that page that is worth double checking is "Configuring SSL Certificates"

--
You received this message because you are subscribed to the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-discuss+unsub...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mod-pagespeed-discuss/HDs9AJZh7Ro/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mod-pagespeed-discuss+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/CAHqmWiMQmBv-QNab4B9dEYKR_hvbz5RT7jn65opK38nTmGHhFA%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.



--



Regards,
Chris Vanek
PPC + SEO Management

checkyweb.com.au

Otto van der Schaaf

unread,
Jul 4, 2017, 11:33:36 AM7/4/17
to mod-pagesp...@googlegroups.com
Does the access log show any trace of mod_pagespeed's fetcher? The user agent should mention mod_pagespeed.

Otto

To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-di...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mod-pagespeed-discuss/HDs9AJZh7Ro/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mod-pagespeed-di...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--



Regards,
Chris Vanek
PPC + SEO Management

checkyweb.com.au

--
You received this message because you are subscribed to the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-di...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/CAFfoz%2B6S_rYEsqt1OqXFFV8G1-xfx_zZYEipNCGgZt5ZK1Lhug%40mail.gmail.com.

Chris Vanek

unread,
Jul 4, 2017, 7:24:54 PM7/4/17
to mod-pagespeed-discuss
Hi Otto,

Here is the access log entries from the SSL Cpanel access log for this domain. (All entries are only like this that contain anything about mod_pagespeed

66.249.82.110 - - [04/Jul/2017:23:56:09 +1000] "POST /mod_pagespeed_beacon?url=https%3A%2F%2Fwww.easymodeloans.co.nz%2F HTTP/1.1" 204 - "https://www.easymodeloans.co.nz/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko; Google Page Speed Insights) Chrome/41.0.2272.118 Safari/537.36"

111.220.95.134 - - [05/Jul/2017:09:19:25 +1000] "POST /mod_pagespeed_beacon?url=https%3A%2F%2Fwww.easymodeloans.co.nz%2F HTTP/1.1" 204 - "https://www.easymodeloans.co.nz/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36"

111.220.95.134 - - [05/Jul/2017:09:19:33 +1000] "POST /mod_pagespeed_beacon?url=https%3A%2F%2Fwww.easymodeloans.co.nz%2F HTTP/1.1" 204 - "https://www.easymodeloans.co.nz/?PageSpeedFilters=%20debug" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36"
111.220.95.134 - - [05/Jul/2017:09:19:33 +1000] "GET /favicon.ico HTTP/1.1" 200 - "https://www.easymodeloans.co.nz/?PageSpeedFilters=%20debug" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36"


Chris

Otto van der Schaaf

unread,
Jul 5, 2017, 3:12:06 AM7/5/17
to mod-pagespeed-discuss
In the entries you posted there is not trace of mod_pagespeed attempting to fetch its inputs.
It may make sense to check Apache's error log and the messages page [1] in mod_pagespeed's admin console to see if there are any clues in there.


Otto

--
You received this message because you are subscribed to the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-di...@googlegroups.com.

Chris Vanek

unread,
Jul 6, 2017, 12:57:08 AM7/6/17
to mod-pagespeed-discuss
Hi Otto,

This is the only thing I'm seeing in the message history currently when I restart httpd and reload the page.

[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] HTTPCache key=https://www.easymodeloans.co.nz/wp-content/themes/Divi/includes/builder/styles/magnific_popup.css?ver=3.0.40 fragment=easymodeloans.co.nz: remembering recent failure for 299 seconds.
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] HTTPCache key=https://www.easymodeloans.co.nz/wp-content/themes/Divi/epanel/shortcodes/css/shortcodes_responsive.css?ver=3.0.40 fragment=easymodeloans.co.nz: remembering recent failure for 299 seconds.
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] HTTPCache key=https://www.easymodeloans.co.nz/wp-content/themes/Divi/epanel/shortcodes/css/shortcodes.css?ver=3.0.40 fragment=easymodeloans.co.nz: remembering recent failure for 299 seconds.
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] HTTPCache key=https://www.easymodeloans.co.nz/wp-content/themes/Divi-child/style.css?ver=7 fragment=easymodeloans.co.nz: remembering recent failure for 299 seconds.
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] HTTPCache key=https://www.easymodeloans.co.nz/wp-content/themes/Divi/style.css?ver=4.8 fragment=easymodeloans.co.nz: remembering recent failure for 299 seconds.
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] HTTPCache key=https://www.easymodeloans.co.nz/wp-content/plugins/youtube-embed/css/main.min.css?ver=4.8 fragment=easymodeloans.co.nz: remembering recent failure for 299 seconds.
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] HTTPCache key=https://www.easymodeloans.co.nz/wp-includes/js/wp-embed.min.js?ver=4.8 fragment=easymodeloans.co.nz: remembering recent failure for 299 seconds.
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] HTTPCache key=https://www.easymodeloans.co.nz/wp-content/themes/Divi/includes/builder/scripts/frontend-builder-scripts.js?ver=3.0.40 fragment=easymodeloans.co.nz: remembering recent failure for 299 seconds.
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] HTTPCache key=https://www.easymodeloans.co.nz/wp-includes/js/wp-embed.min.js?ver=4.8 fragment=easymodeloans.co.nz: remembering recent failure for 299 seconds.
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] HTTPCache key=https://www.easymodeloans.co.nz/wp-content/themes/Divi/includes/builder/scripts/frontend-builder-scripts.js?ver=3.0.40 fragment=easymodeloans.co.nz: remembering recent failure for 299 seconds.
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] HTTPCache key=https://www.easymodeloans.co.nz/wp-includes/js/wp-embed.min.js?ver=4.8 fragment=easymodeloans.co.nz: remembering recent failure for 299 seconds.
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] HTTPCache key=https://www.easymodeloans.co.nz/wp-content/themes/Divi/includes/builder/scripts/frontend-builder-scripts.js?ver=3.0.40 fragment=easymodeloans.co.nz: remembering recent failure for 299 seconds.
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] HTTPCache key=https://www.easymodeloans.co.nz/wp-content/themes/Divi/includes/builder/scripts/jquery.magnific-popup.js?ver=3.0.40 fragment=easymodeloans.co.nz: remembering recent failure for 299 seconds.
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] HTTPCache key=https://www.easymodeloans.co.nz/wp-content/themes/Divi/includes/builder/scripts/waypoints.min.js?ver=3.0.40 fragment=easymodeloans.co.nz: remembering recent failure for 299 seconds.
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] HTTPCache key=https://www.easymodeloans.co.nz/wp-content/themes/Divi/includes/builder/scripts/jquery.fitvids.js?ver=3.0.40 fragment=easymodeloans.co.nz: remembering recent failure for 299 seconds.
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] HTTPCache key=https://www.easymodeloans.co.nz/wp-content/themes/Divi/js/custom.js?ver=3.0.40 fragment=easymodeloans.co.nz: remembering recent failure for 299 seconds.
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] HTTPCache key=https://www.easymodeloans.co.nz/wp-content/themes/Divi/includes/builder/scripts/jquery.mobile.custom.min.js?ver=3.0.40 fragment=easymodeloans.co.nz: remembering recent failure for 299 seconds.
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] HTTPCache key=https://www.easymodeloans.co.nz/wp-content/themes/Divi-child/custom_script_footer.js?ver=5 fragment=easymodeloans.co.nz: remembering recent failure for 299 seconds.
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] HTTPCache key=https://www.easymodeloans.co.nz/wp-content/themes/Divi/includes/builder/scripts/frontend-builder-global-functions.js?ver=3.0.40 fragment=easymodeloans.co.nz: remembering recent failure for 299 seconds.
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] HTTPCache key=https://www.easymodeloans.co.nz/wp-content/themes/Divi/includes/builder/scripts/jquery.magnific-popup.js?ver=3.0.40 fragment=easymodeloans.co.nz: remembering recent failure for 299 seconds.
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] HTTPCache key=https://www.easymodeloans.co.nz/wp-content/themes/Divi/includes/builder/scripts/waypoints.min.js?ver=3.0.40 fragment=easymodeloans.co.nz: remembering recent failure for 299 seconds.
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] HTTPCache key=https://www.easymodeloans.co.nz/wp-content/themes/Divi/includes/builder/scripts/jquery.fitvids.js?ver=3.0.40 fragment=easymodeloans.co.nz: remembering recent failure for 299 seconds.
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] HTTPCache key=https://www.easymodeloans.co.nz/wp-content/themes/Divi/js/custom.js?ver=3.0.40 fragment=easymodeloans.co.nz: remembering recent failure for 299 seconds.
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] HTTPCache key=https://www.easymodeloans.co.nz/wp-content/themes/Divi/includes/builder/scripts/jquery.mobile.custom.min.js?ver=3.0.40 fragment=easymodeloans.co.nz: remembering recent failure for 299 seconds.
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] HTTPCache key=https://www.easymodeloans.co.nz/wp-content/themes/Divi-child/custom_script_footer.js?ver=5 fragment=easymodeloans.co.nz: remembering recent failure for 299 seconds.
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] HTTPCache key=https://www.easymodeloans.co.nz/wp-content/themes/Divi/includes/builder/scripts/frontend-builder-global-functions.js?ver=3.0.40 fragment=easymodeloans.co.nz: remembering recent failure for 299 seconds.
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] HTTPCache key=https://www.easymodeloans.co.nz/wp-content/themes/Divi/includes/builder/scripts/jquery.magnific-popup.js?ver=3.0.40 fragment=easymodeloans.co.nz: remembering recent failure for 299 seconds.
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] HTTPCache key=https://www.easymodeloans.co.nz/wp-content/themes/Divi/includes/builder/scripts/waypoints.min.js?ver=3.0.40 fragment=easymodeloans.co.nz: remembering recent failure for 299 seconds.
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] HTTPCache key=https://www.easymodeloans.co.nz/wp-content/themes/Divi/includes/builder/scripts/jquery.fitvids.js?ver=3.0.40 fragment=easymodeloans.co.nz: remembering recent failure for 299 seconds.
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] HTTPCache key=https://www.easymodeloans.co.nz/wp-content/themes/Divi/js/custom.js?ver=3.0.40 fragment=easymodeloans.co.nz: remembering recent failure for 299 seconds.
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] HTTPCache key=https://www.easymodeloans.co.nz/wp-content/themes/Divi/includes/builder/scripts/jquery.mobile.custom.min.js?ver=3.0.40 fragment=easymodeloans.co.nz: remembering recent failure for 299 seconds.
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] HTTPCache key=https://www.easymodeloans.co.nz/wp-content/themes/Divi-child/custom_script_footer.js?ver=5 fragment=easymodeloans.co.nz: remembering recent failure for 299 seconds.
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] HTTPCache key=https://www.easymodeloans.co.nz/wp-content/themes/Divi/includes/builder/scripts/frontend-builder-global-functions.js?ver=3.0.40 fragment=easymodeloans.co.nz: remembering recent failure for 299 seconds.
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] HTTPCache key=https://www.easymodeloans.co.nz/wp-content/plugins/youtube-embed/js/jquery.fitvids.js fragment=easymodeloans.co.nz: remembering recent failure for 299 seconds.
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] HTTPCache key=https://cdn.ravenjs.com/3.15.0/raven.min.js?ver=4.8 fragment=easymodeloans.co.nz: remembering recent failure for 299 seconds.
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] HTTPCache key=https://www.easymodeloans.co.nz/wp-content/themes/Divi-child/custom_script.js?ver=4 fragment=easymodeloans.co.nz: remembering recent failure for 299 seconds.
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] HTTPCache key=https://www.easymodeloans.co.nz/wp-content/plugins/youtube-embed/js/jquery.fitvids.js fragment=easymodeloans.co.nz: remembering recent failure for 299 seconds.
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] HTTPCache key=https://cdn.ravenjs.com/3.15.0/raven.min.js?ver=4.8 fragment=easymodeloans.co.nz: remembering recent failure for 299 seconds.
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] HTTPCache key=https://www.easymodeloans.co.nz/wp-content/themes/Divi-child/custom_script.js?ver=4 fragment=easymodeloans.co.nz: remembering recent failure for 299 seconds.
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] HTTPCache key=https://www.easymodeloans.co.nz/wp-content/plugins/youtube-embed/js/jquery.fitvids.js fragment=easymodeloans.co.nz: remembering recent failure for 299 seconds.
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] HTTPCache key=https://cdn.ravenjs.com/3.15.0/raven.min.js?ver=4.8 fragment=easymodeloans.co.nz: remembering recent failure for 299 seconds.
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] HTTPCache key=https://www.easymodeloans.co.nz/wp-content/themes/Divi-child/custom_script.js?ver=4 fragment=easymodeloans.co.nz: remembering recent failure for 299 seconds.
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] HTTPCache key=https://www.easymodeloans.co.nz/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1 fragment=easymodeloans.co.nz: remembering recent failure for 299 seconds.
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] HTTPCache key=https://www.easymodeloans.co.nz/wp-includes/js/jquery/jquery.js?ver=1.12.4 fragment=easymodeloans.co.nz: remembering recent failure for 299 seconds.
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] HTTPCache key=https://www.easymodeloans.co.nz/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1 fragment=easymodeloans.co.nz: remembering recent failure for 299 seconds.
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] HTTPCache key=https://www.easymodeloans.co.nz/wp-includes/js/jquery/jquery.js?ver=1.12.4 fragment=easymodeloans.co.nz: remembering recent failure for 299 seconds.
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] HTTPCache key=https://www.easymodeloans.co.nz/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1 fragment=easymodeloans.co.nz: remembering recent failure for 299 seconds.
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] HTTPCache key=https://www.easymodeloans.co.nz/wp-includes/js/jquery/jquery.js?ver=1.12.4 fragment=easymodeloans.co.nz: remembering recent failure for 299 seconds.
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] Cache entry is expired: https://www.easymodeloans.co.nz/wp-content/uploads/2017/05/shutterstock_466518659.jpg (fragment=easymodeloans.co.nz)
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] Cache entry is expired: https://www.easymodeloans.co.nz/wp-content/uploads/2017/05/check-bullet.png (fragment=easymodeloans.co.nz)
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] Cache entry is expired: https://www.easymodeloans.co.nz/wp-content/uploads/2017/04/background.jpg (fragment=easymodeloans.co.nz)
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] Cache entry is expired: https://www.easymodeloans.co.nz/wp-content/uploads/2017/05/shutterstock_413992471-300x300.jpg (fragment=easymodeloans.co.nz)
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] Cache entry is expired: https://www.easymodeloans.co.nz/wp-content/uploads/2017/05/get-cash-icon.png (fragment=easymodeloans.co.nz)
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] Cache entry is expired: https://www.easymodeloans.co.nz/wp-content/uploads/2017/05/easy-approval-icon-1.png (fragment=easymodeloans.co.nz)
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] Cache entry is expired: https://www.easymodeloans.co.nz/wp-content/uploads/2017/05/decide-now-icon-1.png (fragment=easymodeloans.co.nz)
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] Cache entry is expired: https://www.easymodeloans.co.nz/wp-content/uploads/2017/04/logo.png (fragment=easymodeloans.co.nz)
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] Cache entry is expired: https://www.facebook.com/tr?id=1853426858245034&ev=PageView&noscript=1 (fragment=easymodeloans.co.nz)
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] Cache entry is expired: https://www.easymodeloans.co.nz/wp-content/themes/Divi/includes/builder/styles/magnific_popup.css?ver=3.0.40 (fragment=easymodeloans.co.nz)
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] Cache entry is expired: https://www.easymodeloans.co.nz/wp-content/themes/Divi/epanel/shortcodes/css/shortcodes_responsive.css?ver=3.0.40 (fragment=easymodeloans.co.nz)
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] Cache entry is expired: https://www.easymodeloans.co.nz/wp-content/themes/Divi/epanel/shortcodes/css/shortcodes.css?ver=3.0.40 (fragment=easymodeloans.co.nz)
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] Cache entry is expired: https://fonts.googleapis.com/css?family=Montserrat:400,700&subset=latin (fragment=easymodeloans.co.nz)
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] Cache entry is expired: https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800&subset=latin,latin-ext (fragment=easymodeloans.co.nz)
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] Cache entry is expired: https://www.easymodeloans.co.nz/wp-content/themes/Divi-child/style.css?ver=7 (fragment=easymodeloans.co.nz)
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] Cache entry is expired: https://www.easymodeloans.co.nz/wp-content/themes/Divi/style.css?ver=4.8 (fragment=easymodeloans.co.nz)
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] Cache entry is expired: https://www.easymodeloans.co.nz/wp-content/plugins/youtube-embed/css/main.min.css?ver=4.8 (fragment=easymodeloans.co.nz)
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] Cache entry is expired: https://www.easymodeloans.co.nz/wp-includes/js/wp-embed.min.js?ver=4.8 (fragment=easymodeloans.co.nz)
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] Cache entry is expired: https://www.easymodeloans.co.nz/wp-content/themes/Divi/includes/builder/scripts/frontend-builder-scripts.js?ver=3.0.40 (fragment=easymodeloans.co.nz)
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] Cache entry is expired: https://www.easymodeloans.co.nz/wp-content/themes/Divi/includes/builder/scripts/jquery.magnific-popup.js?ver=3.0.40 (fragment=easymodeloans.co.nz)
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] Cache entry is expired: https://www.easymodeloans.co.nz/wp-content/themes/Divi/includes/builder/scripts/waypoints.min.js?ver=3.0.40 (fragment=easymodeloans.co.nz)
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] Cache entry is expired: https://www.easymodeloans.co.nz/wp-content/themes/Divi/includes/builder/scripts/jquery.fitvids.js?ver=3.0.40 (fragment=easymodeloans.co.nz)
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] Cache entry is expired: https://www.easymodeloans.co.nz/wp-content/themes/Divi/js/custom.js?ver=3.0.40 (fragment=easymodeloans.co.nz)
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] Cache entry is expired: https://www.easymodeloans.co.nz/wp-content/themes/Divi/includes/builder/scripts/jquery.mobile.custom.min.js?ver=3.0.40 (fragment=easymodeloans.co.nz)
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] Cache entry is expired: https://www.easymodeloans.co.nz/wp-content/themes/Divi-child/custom_script_footer.js?ver=5 (fragment=easymodeloans.co.nz)
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] Cache entry is expired: https://www.easymodeloans.co.nz/wp-content/themes/Divi/includes/builder/scripts/frontend-builder-global-functions.js?ver=3.0.40 (fragment=easymodeloans.co.nz)
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] Cache entry is expired: https://www.easymodeloans.co.nz/wp-content/plugins/youtube-embed/js/jquery.fitvids.js (fragment=easymodeloans.co.nz)
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] Cache entry is expired: https://cdn.ravenjs.com/3.15.0/raven.min.js?ver=4.8 (fragment=easymodeloans.co.nz)
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] Cache entry is expired: https://www.easymodeloans.co.nz/wp-content/themes/Divi-child/custom_script.js?ver=4 (fragment=easymodeloans.co.nz)
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] Cache entry is expired: https://www.easymodeloans.co.nz/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1 (fragment=easymodeloans.co.nz)
[Thu, 06 Jul 2017 04:51:33 GMT] [Info] [858] Cache entry is expired: https://www.easymodeloans.co.nz/wp-includes/js/jquery/jquery.js?ver=1.12.4 (fragment=easymodeloans.co.nz)
[Thu, 06 Jul 2017 04:51:32 GMT] [Info] [858] HTTPCache key=https://www.easymodeloans.co.nz/ fragment=easymodeloans.co.nz: remembering recent failure for 141 seconds.
[Thu, 06 Jul 2017 04:51:32 GMT] [Info] [858] HTTPCache key=https://www.easymodeloans.co.nz/ fragment=easymodeloans.co.nz: remembering recent failure for 141 seconds.
[Thu, 06 Jul 2017 04:51:28 GMT] [Info] [863] Reusing shared memory for path: /var/mod_pagespeed/cache/ flush .
[Thu, 06 Jul 2017 04:51:28 GMT] [Info] [861] Reusing shared memory for path: /var/mod_pagespeed/cache/ flush .
[Thu, 06 Jul 2017 04:51:28 GMT] [Info] [860] Reusing shared memory for path: /var/mod_pagespeed/cache/ flush .
[Thu, 06 Jul 2017 04:51:28 GMT] [Info] [859] Reusing shared memory for path: /var/mod_pagespeed/cache/ flush .
[Thu, 06 Jul 2017 04:51:28 GMT] [Info] [858] Reusing shared memory for path: /var/mod_pagespeed/cache/ flush .
[Thu, 06 Jul 2017 04:51:28 GMT] [Info] [854] Initializing shared memory for path: /var/mod_pagespeed/cache/ flush .


If this offers any more clues? I'm not sure where to go from here. Someone mentioned it may be a DNS issue so I set the servers name servers to 8.8.8.8 and 8.8.4.4 (googles name servers) and that hasn't seemed to help either.

Regards

On Wednesday, July 5, 2017 at 5:12:06 PM UTC+10, Otto van der Schaaf wrote:
In the entries you posted there is not trace of mod_pagespeed attempting to fetch its inputs.
It may make sense to check Apache's error log and the messages page [1] in mod_pagespeed's admin console to see if there are any clues in there.


Otto

On Wed, Jul 5, 2017 at 1:24 AM Chris Vanek <ch...@checkyweb.com.au> wrote:
Hi Otto,

Here is the access log entries from the SSL Cpanel access log for this domain. (All entries are only like this that contain anything about mod_pagespeed

66.249.82.110 - - [04/Jul/2017:23:56:09 +1000] "POST /mod_pagespeed_beacon?url=https%3A%2F%2Fwww.easymodeloans.co.nz%2F HTTP/1.1" 204 - "https://www.easymodeloans.co.nz/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko; Google Page Speed Insights) Chrome/41.0.2272.118 Safari/537.36"

111.220.95.134 - - [05/Jul/2017:09:19:25 +1000] "POST /mod_pagespeed_beacon?url=https%3A%2F%2Fwww.easymodeloans.co.nz%2F HTTP/1.1" 204 - "https://www.easymodeloans.co.nz/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36"

111.220.95.134 - - [05/Jul/2017:09:19:33 +1000] "POST /mod_pagespeed_beacon?url=https%3A%2F%2Fwww.easymodeloans.co.nz%2F HTTP/1.1" 204 - "https://www.easymodeloans.co.nz/?PageSpeedFilters=%20debug" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36"
111.220.95.134 - - [05/Jul/2017:09:19:33 +1000] "GET /favicon.ico HTTP/1.1" 200 - "https://www.easymodeloans.co.nz/?PageSpeedFilters=%20debug" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36"


Chris

--
You received this message because you are subscribed to the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-discuss+unsub...@googlegroups.com.

Chris Vanek

unread,
Jul 6, 2017, 2:43:18 AM7/6/17
to mod-pagespeed-discuss
Hi Otto,

As per the additional log I've tried the following additional parameters with no success as well:

ModPagespeedEnableFilters rewrite_images,extend_cache
ModPagespeedDangerPermitFetchFromUnknownHosts on
ModPagespeedPreserveUrlRelativity on

It seems like there must be some weird https business going on with this. 

Another url on this server is normal http and it's optimising okay: http://overzealousgamers.com (if that helps).

But all HTTPS sites are not optimising at all with this 4xx error.

Further ideas possibly? Thanks so much for the help so far too! 

Chris

Otto van der Schaaf

unread,
Jul 6, 2017, 3:27:09 AM7/6/17
to mod-pagespeed-discuss
Perhaps you can take a look at the serf_fetch_* stats in the admin pages to see if anything stands out?:

Maybe turning on ssl failure logging will shed some light on the problem.

Otto

Chris Vanek

unread,
Jul 6, 2017, 6:17:23 AM7/6/17
to mod-pagespeed-discuss
Hi Otto,

Have done both and the results are - 

Serf_fetch_ returns nothing abnormal as per seen here: https://gyazo.com/5283b2ac874afeaf960c9d58f9dda62a

When SSL debugging is enabled it doesn't show anything except for a random domain that had ssl actually configured wrong. But now there's nothing about errors or serf or mod page speed in it either.

I'ts just HTTPS fetching that's causing an issue, also I still cant' see the logs of mod_pagespeed as a user-agent in any log file local or global or otherwise. The console shows mod page speed is doing stuff though so it is getting it.

I can't understand what is causing just HTTPS to fail, I do assume it's the servesr ability to fetch https locally but I'm out of ideas how to further debug it. 

P.S Sorry for the super tough issue - fingers crossed you have a secret up your sleeve we can use to solve this one still.

Regards

Otto van der Schaaf

unread,
Jul 6, 2017, 6:54:26 AM7/6/17
to mod-pagespeed-discuss
I'm not sure that the serf stats you posted look normal:
They show a serf request count of 75, out of which 69 failed on cert errors?

It wouldn' be the proper resolution  but you could try relaxing some of the SSL constraints (allow_self_signed, allow_unknown_certificate_authority, allow_certificate_not_yet_valid), to see if  fetches start working with that. ( the proper resolution would be to figure out why you run into those).


Otto


On Thu, Jul 6, 2017 at 12:17 PM Chris Vanek <ch...@checkyweb.com.au> wrote:
Hi Otto,

Chris Vanek

unread,
Jul 6, 2017, 7:14:08 AM7/6/17
to mod-pagespeed-discuss
Hi Otto,

That has solved the issue all request counts and 0 failure counts now and it looks to be caching.. 

I added this line:

# SSL Relax
  ModPagespeedFetchHttps enable,allow_self_signed,allow_unknown_certificate_authority,allow_certificate_not_yet_valid

So my question is I have this line as well from a while back:

ModPagespeedSslCertDirectory /var/cpanel/ssl/installed/certs  (this is the place cpanel stores all the client ssls (of .crt  and .crt.cache files)

Would having that wrong cause this issue? Shouldn't I see errors somewhere if that was the case though?

I feel a bit closer now to victory.. not quite there we're so close (once again thank you for your amazing help through this whole thing too!)

Regards
Reply all
Reply to author
Forward
0 new messages