xjq233p_1
xjq233p_1

Reputation: 8060

Appengine Cron job failed but no log whatsoever

Right now I am only seeing this:

enter image description here

I've checked my logs and couldn't find any reason for this failure.

I've written test cases to verify that this query returns status code 200

How can I find out what's causing this?

Upvotes: 4

Views: 1552

Answers (2)

matt burns
matt burns

Reputation: 25390

You will find a log entry using that timestamp. Then you have to look at the http status code return by the server for clues:

                                                                    _______
                                                                   |       |
                                                                   | Here! |
                                                                   |__   __|
                                                                      \ /
                                                                       V 
0.1.0.1 - - [26/Jul/2014:17:55:58 -0700] "GET /device/alive HTTP/1.1" 404 87
 - "AppEngine-Google; (+http://code.google.com/appengine)"
"saslkdalskdn.appspot.com" ms=6 cpu_ms=0 cpm_usd=0.000010 ...

Here you can see the response code was 404, ie. "Not Found". (See other http status codes)

Any excuse for a bit of ascii art!

Upvotes: 4

xjq233p_1
xjq233p_1

Reputation: 8060

If you dig deep enough, the log entry is actually DEBUG not ERROR or anything.

0.1.0.1 - - [26/Jul/2014:17:55:58 -0700] "GET /device/alive HTTP/1.1" 404 87 - "AppEngine-Google; (+http://code.google.com/appengine)" "saslkdalskdn.appspot.com" ms=6 cpu_ms=0 cpm_usd=0.000010 ...

Upvotes: 1

Related Questions