4
votes

I have an App Engine app that requires SSL for access to any URL.

Tasks execute without any issues and required https (SSL).

The cron job I am trying to run also requires SSL (it's checked at the Base Handler level) but it fails to run. I am fairly certain that is the issue because the URL runs fine from a browser using GET but it does require https. I don't really want to have to change the Base Handler (in python) to allow some requests to go through without SSL.

There is no log entry in App Engine logs at the time the job ran (which ran according to schedule).

The status of the job is "failed".

Is there a configuration parameter for App Engine cron jobs to use SSL or is this a feature request of the App Engine team?

1

1 Answers

1
votes

You may first read Securing URLs for Cron and then implement some (or all) of the proposed methods, I think that by requiring "admin" permissions for Cron tasks and by checking X-Appengine-Cron: true you are getting quite safe even without using SSL.

You don't have to change your Base Handler, just create another handler just for Cron jobs.