Hi, I've tested with this app.yaml
runtime: python27 api_version: 1 threadsafe: true handlers: - url: /hellocron script: main.app login: admin secure: always But nothing changed. Could you give me more details about how to test what you told me? Thanks El mié., 31 oct. 2018 a las 16:59, 'Sam (Google Cloud Support)' via Google App Engine (<[email protected]>) escribió: > Hi, > > Notice that the URL you run in chrome ( > https://myappname.appspot.com/hellocron) is SSL protected. It could be > that the URL which cron is using is 'http' which outputs the 302. So the > request to 'http' is being redirected 'https'. > > As you have set 'login: admin' for your cron job handler in the app.yaml > to secure this particular URL from unauthorized third parities, you will > have to disable the HTTPS requirements specifically for the cron URL in > your application's SSL configuration [1][2]. This article also discusses a > similar issue from a GAE Java app perspective [3]. > > [1] > https://cloud.google.com/appengine/docs/standard/python/config/appref#handlers_secure > > [2] > https://cloud.google.com/appengine/docs/standard/python/securing-custom-domains-with-ssl > [3] > http://dlinsin.blogspot.com/2009/08/cron-jobs-on-google-app-engine.html > > -- > 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 https://groups.google.com/group/google-appengine. > To view this discussion on the web visit > https://groups.google.com/d/msgid/google-appengine/9fa6269f-5e9b-42ba-8e24-b8cfd14cd346%40googlegroups.com > <https://groups.google.com/d/msgid/google-appengine/9fa6269f-5e9b-42ba-8e24-b8cfd14cd346%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CAH8aSOVW3gQ_H9PWWaUxL7s%2BfWHQcxwbqGjZR%3DNp2hGnPERTaA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
