Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
in the admin/reports/status page i become this msg from Adv CSS/JS Agg - Async Mode
You need to flush your menu cache. This can be done near the bottom of the performance page. If this does not fix the issue copy this info below when opening up an issue for advagg:
i flush all my cache + boost cache but the msg is not going away
Comment | File | Size | Author |
---|---|---|---|
#7 | advagg-debug.txt | 15.01 KB | chicagomom |
#1 | advagg-1207178-1.patch | 374 bytes | mikeytown2 |
Comments
Comment #1
mikeytown2 CreditAttribution: mikeytown2 commentedBug due to some code refactoring that recently went in. Patch below has been committed & should fix this issue for you.
Comment #2
chicagomom CreditAttribution: chicagomom commentedThanks for the patch. This has made the warning msg go away for my site, but now I get a warning that "Generate CSS/JS files on request (async mode)" is off, and it's grayed out/unavailable on the advagg config page. Flushed caches & forced a rebuild of the caches didn't help. Do I need to uninstall/reinstall?
Comment #3
mikeytown2 CreditAttribution: mikeytown2 commentedwhat does the status page say?
Comment #4
chicagomom CreditAttribution: chicagomom commentedAdv CSS/JS Agg - Asynchronous Mode Set to FALSE.
Check to see if you have fast 404s, if so create an exception for this module. The readme file explains what needs to be changed. You can try flushing the menu cache as well. If you are still having issues you can go to the AdvAgg information tab and select Asynchronous debug info. If creating an issue on d.o be sure to include this information .
(I don't have Fast 404s.)
Comment #5
mikeytown2 CreditAttribution: mikeytown2 commentedCan you get the debug info and paste it here?
Comment #6
Chad_Dupuis CreditAttribution: Chad_Dupuis commentedFrom my other post... this is the debug information as I'm now seeing this menu cache error as well:
-even after applying the additional patch from above...-
stdClass Object ( [request] => GET /files/advagg_css/css_missing17060983091310005649_0.css HTTP/1.0 Host: www.yinyanghouse.com User-Agent: Drupal (+http://drupal.org/) [data] =>
Not Found
The requested URL was not found on this server.
And I checked and there are not files even close to that name in the css directory... they look like:
css_ea74a0e703efea29c6d1615127fca18b_0.css
css_ef08b7c3a62d4754fd0c96ce68be41c4_0.css
css_f0ce4ee7374bf8da811415b4d253ce7a_2.css
....
Comment #7
chicagomom CreditAttribution: chicagomom commentedHere you go.
Comment #8
mikeytown2 CreditAttribution: mikeytown2 commented@chicagomom
You have something that redirects all anonymous traffic to a login screen correct? Do you know what module does this for you, or how that was setup?
Comment #9
mikeytown2 CreditAttribution: mikeytown2 commented@Chad_Dupuis
css_missing17060983091310005649_0.css is a test to see if the advagg menu callback works on your server. Something is intercepting that callback.
Comment #11
Chad_Dupuis CreditAttribution: Chad_Dupuis commentedI have the secure pages module? But only a few pages on the site are actually secured, but perhaps it makes a call on every page that would effect this? The strange this is, that until I upgraded to 1.1 everything appeared to be fine...
Comment #12
mikeytown2 CreditAttribution: mikeytown2 commented@Chad_Dupuis
Can I get the full debug output from you like #7
Comment #13
Chad_Dupuis CreditAttribution: Chad_Dupuis commentedI went to grab the whole debug list and for some reason (I haven't touched the site) the error is gone. I'm going to upgrade to 1.3 and see how things go. Thanks for your time on this!
Comment #14
Chad_Dupuis CreditAttribution: Chad_Dupuis commentedSo in 1.3 I get a error (maybe it would go away again, and I don't have fast 404's but I am running pressflow w/boost if that makes any difference)... I went ahead and added -1 to the async lookup anyhow, but still got the same error... The error is a little different now below is the error and the debugging information:
-the error-
Adv CSS/JS Agg - Asynchronous Mode Set to FALSE.
Check to see if you have fast 404s, if so create an exception for this module. The readme file explains what needs to be changed. You can try flushing the menu cache as well. If you are still having issues you can go to the AdvAgg information tab and select Asynchronous debug info. If creating an issue on d.o be sure to include this information .
-the debugging info-
stdClass Object (
[request] => GET /files/advagg_css/css_missing8099190921310300714_0.css HTTP/1.0
Host: www.yinyanghouse.com
User-Agent: Drupal (+http://drupal.org/)
[data] =>
404 Not Found
Not Found
The requested URL was not found on this server.
Home
[protocol] => HTTP/1.0
[status_message] => Not Found
[headers] => Array (
[Date] => Sun, 10 Jul 2011 12:25:14 GMT
[Server] => --removed--
[X-Powered-By] => PHP/5.2.13-0.dotdeb.1
[X-Drupal-Cache] => MISS
[Last-Modified] => Sun, 10 Jul 2011 12:25:14 +0000
[Cache-Control] => must-revalidate
[ETag] => "1310300714"
[X-AdvAgg] => Failed Validation. Wrong Pattern.
[Connection] => close
[Expires] => Sun, 19 Nov 1978 05:00:00 GMT
[Content-Length] => 307
[Vary] => Accept-Encoding
[Content-Type] => text/html; charset=utf-8
)
[error] => Not Found
[code] => 404
[timer] => Array (
[count] => 1
[time] => 335.56
)
)
Comment #15
mikeytown2 CreditAttribution: mikeytown2 commented@Chad_Dupuis
Async should be working for you on your site. Does the status report complain about it? In the header
X-AdvAgg
is there; which means it should work.Comment #16
Chad_Dupuis CreditAttribution: Chad_Dupuis commentedYes, the error above is from the status page:
-the error-
Adv CSS/JS Agg - Asynchronous Mode Set to FALSE.
Check to see if you have fast 404s, if so create an exception for this module. The readme file explains what needs to be changed. You can try flushing the menu cache as well. If you are still having issues you can go to the AdvAgg information tab and select Asynchronous debug info. If creating an issue on d.o be sure to include this information .
Occasionally, oddly enough, the error goes away - like just a second ago, then I checked again to copy the new statement about being able to enable it and it's back... And on the modules settings page I still see:
Current State: Set to FALSE. Check to see if you have fast 404s, if so create an exception for this module. The readme file explains what needs to be changed. You can try flushing the menu cache as well. If you are still having issues you can go to the AdvAgg information tab and select Asynchronous debug info. If creating an issue on d.o be sure to include this information .
Comment #17
Chad_Dupuis CreditAttribution: Chad_Dupuis commentedComment #18
mikeytown2 CreditAttribution: mikeytown2 commented@Chad_Dupuis
Create a new issue as you no longer have the "flush your caches" bug correct?
Comment #19
mikeytown2 CreditAttribution: mikeytown2 commented@Chad_Dupuis
Jump into this issue
#1171244: Asynchronous debug info troubleshooting
Comment #21
RAFA3L CreditAttribution: RAFA3L commentedI got the same messages like @Chad_Dupuis and I follow the README file.
I'm using Boost and CloudFlare
Maybe all work fine after the installation proccess, I see that all my css and js are reduced, but I have a problem. Admin pages like
admin/settings/advagg
admin/settings/advagg/*
admin/reports/status
Take a loooong time to load, sometimes more than 2 min and sometimes the server timeout. At the moment to load some of this pages all the site turn really slow, but not the server, another sites under the same server run fine.
The debug info only show this:
stdClass Object (
[request] => GET /sites/default/files/advagg_css/css_missing12025633731319042235_0.css HTTP/1.0
Host: www.mydomain.com
User-Agent: Drupal (+http://drupal.org/)
Connection: close
[data] =>
[protocol] =>
[status_message] =>
[headers] => Array (
)
[error] =>
[code] => 0
[timer] => Array (
[count] => 1
[time] => 60000.23
)
)
Comment #22
mikeytown2 CreditAttribution: mikeytown2 commented[time] => 60000.23
Yeah the server is timing out (60 seconds). What happens when you go towww.mydomain.com/sites/default/files/advagg_css/css_missing12025633731319042235_0.css
in your browser?Comment #23
RAFA3L CreditAttribution: RAFA3L commentedthe link is:
http://myip/sites/default/files/advagg_css/css_missing904247730131904823...
*notice that the link have is the IP, and at the end have ":"
and show:
Not Found
The requested document was not found on this server.
Thanks!
Comment #24
RAFA3L CreditAttribution: RAFA3L commentedI change IP Address to send all asynchronous requests to -1 and now the debug link is
http://www.mydomain.com/sites/default/files/advagg_css/css_missing140163...
but still 404 not found
I check the folder /sites/default/files/advagg_css/ and have a lot of .css files but nothing like css_missing...
Comment #25
mikeytown2 CreditAttribution: mikeytown2 commentedThat link should be a 404 not found. If you view the source of the html there should be a html comment containing advagg_missing_fast404. If this is working then there is something on your server preventing it from making requests to its self via HTTP. In any case, I should change the timeout to be a lot lower.
Does the text say "The requested URL was not found on this server." ?
Comment #26
RAFA3L CreditAttribution: RAFA3L commentedOn my dev localhost the site open all the admin pages fast and under Asynchronous debug info appear "advagg_missing_fast404":
But in production server only show this under Asynchronous debug info:
Yes, the link say "The requested URL was not found on this server." in both cases, in dev and production server
Edit: I understand, in the source of the link in the production server don't appear "advagg_missing_fast404", in the dev server yes.
Comment #27
mikeytown2 CreditAttribution: mikeytown2 commentedWhen hitting that URL on production, if "advagg_missing_fast404" does not show up in the source, then something else is intercepting that call and preventing the AdvAgg callback from getting fired. I would look into fixing this first as it might fix the timeout issues your having on production.
Comment #28
RAFA3L CreditAttribution: RAFA3L commentedI did a fresh instalation of Drupal in the same server and in another domain, installed Boost and Advagg, all work perfect and fast without any changes in .httaccess, settings.php or in the module configuration. I think at this point is a conflict with another module.
I enable Cloudflare for this domain, but this take a few hours to propagate
My Status report show
Adv CSS/JS Agg - Asynchronous Mode Already set to TRUE
Adv CSS/JS Agg - Socket Timeout Already set to 1 seconds. Raw timer: 168.99
AdvAgg JS Compress - Callback The callback is working correctly.
And Asynchronous debug info show
stdClass Object (
[request] => GET /test/sites/default/files/advagg_css/css_missing19386028701319070790_0.css HTTP/1.0
Host: mydomain.com
User-Agent: Drupal (+http://drupal.org/)
Connection: close
[data] =>
404 Not Found
Not Found
The requested URL was not found on this server.
Home
[protocol] => HTTP/1.1
[status_message] => Not Found
[headers] => Array (
[Date] => Thu, 20 Oct 2011 00:33:10 GMT
[Server] => Apache
[X-Powered-By] => PHP/5.3.5
[X-AdvAgg] => Failed Validation. Wrong Pattern.
[Expires] => Sun, 19 Nov 1978 05:00:00 GMT
[Cache-Control] => no-cache, must-revalidate
[Connection] => close
[Set-Cookie] => SESS65d70237ddf7b12dc830f74d13db5a34=1584bf5f570611bee3610ac20977935d; expires=Sat, 12-Nov-2011 04:06:30 GMT; path=/; domain=.mydomain.com
[Last-Modified] => Thu, 20 Oct 2011 00:33:10 GMT
[Content-Length] => 314
[Vary] => Accept-Encoding
[Content-Type] => text/html; charset=utf-8
)
[error] => Not Found
[code] => 404
[timer] => Array (
[count] => 1
[time] => 165.99
)
)
Comment #29
mikeytown2 CreditAttribution: mikeytown2 commentedis Cloudflare Origin Pull?
Comment #30
RAFA3L CreditAttribution: RAFA3L commentedI think yes, they cache the static files too
https://www.cloudflare.com/features-optimizer.html
Comment #31
RAFA3L CreditAttribution: RAFA3L commentedI installed the Advagg module in another but small site wich is already working with Cloudflare and same problem. The weird thing is that the js and css files are generated by Advagg well, all the js files are grouped in one file and the same with css.
The problems:
- Admin pages take a long time to load (Status and Advagg Conf)
- On Status page show Adv CSS/JS Agg - Asynchronous Mode Set to FALSE
- The debug info don't show "advagg_missing_fast404"
In another test, I install the same small site with the problem in another domain without Cloudflare and work fine, the same domain where I install the fresh drupal with Boost and Advagg. I activate Cloudflare for this domain and tomorrow I'll see if the problems appear
Comment #32
RAFA3L CreditAttribution: RAFA3L commentedOk, I found the problem, is the FastCGI.
On the test domain I had disabled the FastCGI, after activate it the problems occur