Yeah, you will want to drill down on that and figure where it is failing. 
If this consistently happens, the problem is most likely not taskqueue 
related.

On Wednesday, February 19, 2014 4:52:53 AM UTC-6, Rohan Malhotra wrote:
>
> Hi,
>
> I am trying to send a mail via mandrill using GAE tasks. On first attempt 
> task fails with a 500 error and I get an error that *Task failed to 
> execute. This task will retry in 100.000 seconds. *On second attempt, 200 
> response is received and task completes. In both attempts mail is sent 
> successfully. Here is code snippet. In both attempts, result.status_code is 
> 200.
>
> result = urlfetch.fetch(url=<MANDRILL_SEND_URL>,
>                                 method=urlfetch.POST,
>                                 deadline=60,
>                                 payload=json.dumps(mail_params))
>  if result.status_code == 200:
>        # using python flask response 200
>        return "", 200
>
>
>
> Any pointers?
>
> Thanks
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to