Hello,
I'm facing a very odd issue with mod_pagespeed 1.4.26.2-2759 on CentOS 5.9. I don't really know how to reproduce this or even describe what is happening, but as far as I can see it on some VirtualHosts mod_pagespeed doesn't do what it is supposed to do.
I've been running mod_pagespeed for almost 1.5 years on my webserver without any issues, but today while I was doing some maintenance I saw that one of my websites source code wasn't modified by mod_pagespeed anymore. The header information still included the "X-Mod-Pagespeed" but it seemed like the corefilters were disabled. The same thing is happening to almost 10 other websites while it is working without any problems on 30 other websites on my web server. I tried to identify a certain pattern when it is not working...but no chance. It's like spinning the wheel of fortune. On some VirtualHosts it is working, on others it doesn't do anything.I also tried to activate some filters that are part of the core filter manually with "ModPagespeedEnableFilters" but I can only activate filters that are not part of the core filter.Another very odd thing is that this strange behavior seems to be related to the ServerName of the VirtualHost. When I switch it to another URL, it works...unfortunately I don't know why it is working with some URLs and with others not.I flushed the cache etc. but this didn't fix it either.Maybe you guys have some additional input.Thanks in advance.--
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.
For more options, visit https://groups.google.com/groups/opt_out.
UPDATE: Here is the exact same VirtualHost but with a ServerAlias to http://t1.anni-r.de/. For whatever reason here everything is working...I'm totally lost.
Am Donnerstag, 18. April 2013 17:33:43 UTC+2 schrieb Travis Botello:Hey Shawn, thanks for the quick reply.The subresources are hosted on the same domain as the website. I also did a couple of reloads but the core filters are simply not modifying anything. The odd thing is when switching the domain of website A (working) with website B (not working) then website B works and website a does not.Example of a not working domain would be http://www.anni-r.de. As you can see the pagespeed header is sent but only the remove_whitespace filter is working. Non of the core filters is active.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-discuss+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Yep, I can see some error msgs in the error.log, but I don't know if they are related to my issue:[Thu Apr 18 18:02:36 2013] [warn] [mod_pagespeed @9847] [0418/180236:WARNING:serf_url_async_fetcher.cc(1115)] Aborting fetch of http://xxx.xxx.xxx.xxx/assets/template/js/jquery.carouFredSel-5.6.4-packed.js[Thu Apr 18 18:02:38 2013] [error] [mod_pagespeed 1.4.26.2-2759 @9847] ServerContext: 1 leaked_rewrite_drivers on destruction[Thu Apr 18 20:08:10 2013] [warn] [mod_pagespeed 1.4.26.2-2759 @13357] [0418/200810:WARNING:resource_fetch.cc(193)] Fetch failed for resource url http://www.example.com/images/xsidQR.gif.pagespeed.ic.Ik6SK68R5g.png[Thu Apr 18 20:08:10 2013] [warn] [mod_pagespeed 1.4.26.2-2759 @13357] Fetch failed for http://www.example.com/images/xsidQR.gif.pagespeed.ic.Ik6SK68R5g.png, status=404Interestingly the last two error msgs are related to an URL on which the core filters are not working and the output is not modified.
Here is more output from the error.log. The same as in the output above. The URL is wrong because the server ip is used instead of the ServerName:[Thu Apr 18 17:22:56 2013] [warn] [mod_pagespeed @6081] [0418/172256:WARNING:serf_url_async_fetcher.cc(1115)] Aborting fetch of http://[server-ip]/cache/preview/a90175173a00a0b2322f923ed070cb4c.jpg[Thu Apr 18 17:22:56 2013] [warn] [mod_pagespeed @6081] [0418/172256:WARNING:serf_url_async_fetcher.cc(1115)] Aborting fetch of http://[server-ip/cache/preview/7d1f1dfcf08083cefb80903236e4f962.JPG[Thu Apr 18 17:22:56 2013] [warn] [mod_pagespeed @6081] [0418/172256:WARNING:serf_url_async_fetcher.cc(1115)] Aborting fetch of http:/[server-ip/cache/preview/cc523322a3dbeea9ebc3f2a9c215cc7f.JPG
Am Donnerstag, 18. April 2013 23:38:10 UTC+2 schrieb Travis Botello:Thanks for clarification. Hopefully the following will help us to narrow it down:/mod_pagespeed_messages output:[Thu Apr 18 23:08:51 2013] [Info] [17618] http://www.anni-r.de/js/jcarousellite1.0.1_min.js: Locking (lock c_yU05E20dI7RE2wUm81.lock) [Thu Apr 18 23:08:51 2013] [Info] [17618] Initiating async fetch for http://[Server-Ip]/js/jcarousellite1.0.1_min.js [Thu Apr 18 23:08:51 2013] [Info] [17619] Decoding of resource name http://www.anni-r.de/js/jcarousellite1.0.1_min.js failed because there is no filter with id jcarousellite1. [Thu Apr 18 23:08:51 2013] [Info] [17618] http://www.anni-r.de/js/jcarousellite1.0.1_min.js: Unlocking lock c_yU05E20dI7RE2wUm81.lock with cached=true, success=true [Thu Apr 18 23:08:51 2013] [Info] [17618] Fetch complete: http://[Server-Ip]/js/jcarousellite1.0.1_min.js
[Thu Apr 18 23:08:53 2013] [Info] [17621] Decoding of resource name http://www.anni-r.de/js/jcarousellite1.0.1_min.js failed because there is no filter with id jcarousellite1.Please let me know if you need more output/specific output. Some of these look very strange. Especially the ones with the "http://[Server-Ip]/js/jcarousellite1.0.1_min.js". These URLs are all wrong...I don't know why it is trying to grab it from there instead of using the real ServerName. I didn't see any messages referring to fetches from 224.0.0.1. Where should I look for these?Regarding your questions:
1) Is the www.example.com portion of the hostname correct?
> Yes, the hostname is correct. It's http://www.anni-r.de/images/xsidQR.gif.pagespeed.ic.Ik6SK68R5g.png . However I can't see any pagespeed links on www.anni-r.de
2) Is this a single server, or something more sophisticated?
> Shared hosting with CentOS 5.9 with usual LAMPP configuration
3) Do you have any FetchOriginDomain directives?
> I'm only using ModPagespeedShardDomain and ModPagespeedLoadFromFile directives in some VirtualHosts.
4) Do you have IP restrictions on Listen directives?
> No
Hey,it returns "2013-04-19 00:15:29 ERROR 404: Not Found."
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-discuss+unsub...@googlegroups.com.
[Sat Apr 20 13:40:33 2013] [Info] [28317] http://www.anni-r.de/js/jcarousellite1.0.1_min.js: Locking (lock /var/cache/mod_pagespeed/c_yU05E20dI7RE2wUm81.lock) [Sat Apr 20 13:40:33 2013] [Info] [28317] Initiating async fetch for http://127.0.0.1/js/jcarousellite1.0.1_min.js
As you can see here, the fetch is coming from localhost/127.0.0.1 instead of the servers IP address. Hopefully this helps to fix the bug in the current beta release.
Let me know if you need any additional input.Hey guys, this morning I had another look at the mod_pagespeed_message and if I'm not totally wrong I can identify a certain pattern in the messages that are thrown by ServerNames that are not working and ServerNames that are working:http://t1.anni-r.de (ServerAlias which is working):[Fri Apr 19 12:18:28 2013] [Info] [1162] Fetching resource http://t1.anni-r.de/A.style.css.pagespeed.cf.cNongg2haO.css... [Fri Apr 19 12:18:28 2013] [Info] [1162] Fetch succeeded for http://t1.anni-r.de/A.style.css.pagespeed.cf.cNongg2haO.css, status=304 [Fri Apr 19 12:18:28 2013] [Info] [1160] Fetching resource http://t1.anni-r.de/images/100xNxlogooo.png.pagespeed.ic.bHiJZR8Cin.png... [Fri Apr 19 12:18:28 2013] [Info] [1160] Fetch succeeded for http://t1.anni-r.de/images/100xNxlogooo.png.pagespeed.ic.bHiJZR8Cin.png, status=304 [Fri Apr 19 12:18:28 2013] [Info] [1164] Fetching resource http://t1.anni-r.de/images/xpage_background.png.pagespeed.ic.WDqUftEOKW.png... [Fri Apr 19 12:18:28 2013] [Info] [1164] Fetch succeeded for http://t1.anni-r.de/images/xpage_background.png.pagespeed.ic.WDqUftEOKW.png, status=304 [Fri Apr 19 12:18:28 2013] [Info] [1157] Fetching resource http://t1.anni-r.de/images/xyahoo.png.pagespeed.ic.3tqa4htrXc.png... [Fri Apr 19 12:18:28 2013] [Info] [1157] Fetch succeeded for http://t1.anni-r.de/images/xyahoo.png.pagespeed.ic.3tqa4htrXc.png, status=304 [Fri Apr 19 12:18:28 2013] [Info] [1158] Fetching resource http://t1.anni-r.de/images/xstumbleupon.png.pagespeed.ic.C08t6h2jIs.png... [Fri Apr 19 12:18:28 2013] [Info] [1158] Fetch succeeded for http://t1.anni-r.de/images/xstumbleupon.png.pagespeed.ic.C08t6h2jIs.png, status=304 [Fri Apr 19 12:18:28 2013] [Info] [1163] Fetching resource http://t1.anni-r.de/images/xfacebook.png.pagespeed.ic.i64dPJiD15.png... [Fri Apr 19 12:18:28 2013] [Info] [1163] Fetch succeeded for http://t1.anni-r.de/images/xfacebook.png.pagespeed.ic.i64dPJiD15.png, status=304]http://www.anni-r.de (ServerName which is not working):[Fri Apr 19 12:32:04 2013] [Info] [1161] http://www.anni-r.de/js/jquery.countdown.js: Unlocking lock l0adgd-jFV6vbuy0kqx2.lock with cached=true, success=true [Fri Apr 19 12:32:04 2013] [Info] [1161] Fetch complete: http://[server-ip]/js/jquery.countdown.js [Fri Apr 19 12:32:04 2013] [Info] [1161] http://www.anni-r.de/style.css: Unlocking lock ouHFlu5MHZ7WmYKpziRi.lock with cached=true, success=true [Fri Apr 19 12:32:04 2013] [Info] [1161] Fetch complete: http://[server-ip]/style.css
[Fri Apr 19 12:32:04 2013] [Info] [1161] http://www.anni-r.de/js/jcarousellite1.0.1_min.js: Unlocking lock c_yU05E20dI7RE2wUm81.lock with cached=true, success=true [Fri Apr 19 12:32:04 2013] [Info] [1161] Fetch complete: http://[server-ip]/js/jcarousellite1.0.1_min.jsWhen I compare this pattern to other ServerNames which are working/not working it's always the same:- For ServerNames that are not working pagespeed tries to fetch resources from the server ip adress instead of using the actual ServerName. (http://[server-ip]/js/jcarousellite1.0.1_min.js which always returns error 404) It also outputs "fetch complete"- For ServerNames that are working it uses the ServerName instead of the ip adress and it outputs "fetch success"Maybe this is all useless but I thought it might be helpful to find a solution for this problem.
Hey,
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-discuss+unsubscri...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-di...@googlegroups.com.