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

mikeytown2’s picture

Issue summary: View changes

The [data] key shows that the 404 is not coming from advagg. AdvAgg 404's look like this

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>404 Not Found</title><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body><h1>Not Found</h1><p>The requested URL was not found on this server.</p><p><a href="/">Home</a></p><!-- advagg_missing_fast404 --></body></html>
mikeytown2’s picture

Title: When combined with SymkatCDN, advagg reports: "HTTP requests to advagg for js files are not getting though." » When combined with symkat's SymPullCDN, AdvAgg reports: "HTTP requests to advagg for js files are not getting though."
Category: Bug report » Support request
Status: Active » Closed (works as designed)

From 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.

// Skip the 404 check on status page.
$conf['advagg_skip_404_check'] = TRUE;
RaulMuroc’s picture

You are right @mikeytown2.

I have verified that requesting a valid missing aggregate creates the aggregate and so added to settings.php:

<?php
// Skip the 404 check on status page.
$conf['advagg_skip_404_check'] = TRUE;
?>

Thank you very much.