I get the following errors in status report:
Error
Adv CSS/JS Agg - HTTP Request HTTP requests to advagg for js files are not getting through.
AdvAgg will issue a request for a file that does not exist inside of the AdvAgg directory. If AdvAgg sends a 404, everything is ok; if something else sends a 404 then that means that AdvAgg will not be able to generate an aggregate if it is missing as something else is handling the 404 before AdvAgg has a chance to do it. If you are reading this, it means that something else is handling the 404 before AdvAgg can. Raw request info:stdClass Object ( [url] => http:///files/advagg_js/js__1392655545.js [status] => Done. [code] => 404 [chunk_size] => 32768 [data] => <html> <head><title>Error 404: Not Found</title></head> <body> <h1>Error 404: Not Found</h1> </body> </html> [request] => GET /files/advagg_js/js__1392655545.js HTTP/1.0 User-Agent: Drupal (+http://drupal.org/) Connection: close Host: www..com [options] => Array ( [timeout] => 11.812188148499 [dns_timeout] => 12 [connect_timeout] => 12 [ttfb_timeout] => 12 [headers] => Array ( [User-Agent] => Drupal (+http://drupal.org/) [Connection] => close [Host] => www..com ) [method] => GET [data] => [max_redirects] => 3 [context] => [secure_socket_transport] => ssl [blocking] => 1 [version] => 1.0 [referrer] => [domain_connections] => 2 [global_connections] => 128 [global_timeout] => 120 [chunk_size_read] => 32768 [chunk_size_write] => 1024 [async_connect] => 1 [ping_db] => 20 ) [socket] => tcp://www..com:80 [flags] => 6 [uri] => Array ( [scheme] => http [host] => www..com [path] => /files/advagg_js/js__1392655545.js ) [running_time] => 0.18781185150146 [fp] => Resource id #1420 [bytes_sent] => 139 [time_to_first_byte] => 0.18787884712219 [protocol] => HTTP/1.0 [status_message] => Not Found [headers] => Array ( [connection] => close [content-length] => 109 [date] => Mon, 17 Feb 2014 16:45:52 GMT [expires] => 0 ) [error] => Not Found )
Error
Adv CSS/JS Agg - HTTP Request HTTP requests to advagg for css files are not getting through.
AdvAgg will issue a request for a file that does not exist inside of the AdvAgg directory. If AdvAgg sends a 404, everything is ok; if something else sends a 404 then that means that AdvAgg will not be able to generate an aggregate if it is missing as something else is handling the 404 before AdvAgg has a chance to do it. If you are reading this, it means that something else is handling the 404 before AdvAgg can. Raw request info:stdClass Object ( [url] => http://www..com/files/advagg_css/css__1392655545.css [status] => Done. [code] => 404 [chunk_size] => 32768 [data] => <html> <head><title>Error 404: Not Found</title></head> <body> <h1>Error 404: Not Found</h1> </body> </html> [request] => GET /files/advagg_css/css__1392655545.css HTTP/1.0 User-Agent: Drupal (+http://drupal.org/) Connection: close Host: www..com [options] => Array ( [timeout] => 6.8341009616852 [dns_timeout] => 12 [connect_timeout] => 12 [ttfb_timeout] => 12 [headers] => Array ( [User-Agent] => Drupal (+http://drupal.org/) [Connection] => close [Host] => www..com ) [method] => GET [data] => [max_redirects] => 3 [context] => [secure_socket_transport] => ssl [blocking] => 1 [version] => 1.0 [referrer] => [domain_connections] => 2 [global_connections] => 128 [global_timeout] => 120 [chunk_size_read] => 32768 [chunk_size_write] => 1024 [async_connect] => 1 [ping_db] => 20 ) [socket] => tcp://www..com:80 [flags] => 6 [uri] => Array ( [scheme] => http [host] => www..com [path] => /files/advagg_css/css__1392655545.css ) [running_time] => 5.1658990383148 [fp] => Resource id #1419 [bytes_sent] => 142 [time_to_first_byte] => 5.1659650802612 [protocol] => HTTP/1.0 [status_message] => Not Found [headers] => Array ( [connection] => close [content-length] => 109 [date] => Mon, 17 Feb 2014 16:45:52 GMT [expires] => 0 ) [error] => Not Found )
The SymkatCDN is configured usind Drupal Module "CDN" + this patch which is recommended in the page of "AdvAgg" module. But anyway that's the result :S
Thank you in advance.
Comments
Comment #1
mikeytown2 CreditAttribution: mikeytown2 commentedThe [data] key shows that the 404 is not coming from advagg. AdvAgg 404's look like this
Comment #2
mikeytown2 CreditAttribution: mikeytown2 commentedFrom looking at the code I think the Google app engine needs to be configured to pass along custom 404 pages. What you are getting back is the app engine standard 404 page from my understanding. SymPullCDN needs to pass along origin requests unmodified; currently it is not doing so.
https://github.com/symkat/SymPullCDN
http://www.symkat.com/sympull-cdn
http://stackoverflow.com/questions/189751/google-app-engine-and-404-error
In this case you could probably set a AdvAgg hidden setting in your settings.php file after you have verified that requesting a valid missing aggregate creates the aggregate. See readme.txt for more details.
Comment #3
RaulMuroc CreditAttribution: RaulMuroc commentedYou are right @mikeytown2.
I have verified that requesting a valid missing aggregate creates the aggregate and so added to settings.php:
Thank you very much.