Hi,

I'm using this handler in app.yaml

--------------  app.yaml
runtime: python27
api_version: 1
threadsafe: true

handlers:
- url: /hellocron
  script: main.app
  login: admin
------------

When I run it on google chrome with this url  (
https://myappname.appspot.com/hellocron) it's working, it returns what is
expected
https://myappname.appspot.com/hellocron

It's returning 302 when I run it by cron.

I tested to deploy the same application to another project and the error is
the same.

Thanks in advance!



El mar., 30 oct. 2018 a las 15:54, 'George (Cloud Platform Support)' via
Google App Engine (<[email protected]>) escribió:

> Your cron correctly calls /hellocron. The 302 error is returned from the
> call, so your handler needs attention, not cron. Error code 302 means
> "Found: Resource temporarily located elsewhere according to the Location
> header". You may read more detail on the "HTTP Status and Error Codes for
> JSON" page
> <https://cloud.google.com/storage/docs/json_api/v1/status-codes#302_Found>
> .
>
> --
> 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/e8c27e1b-0708-436a-ab2f-5709cf15184a%40googlegroups.com
> <https://groups.google.com/d/msgid/google-appengine/e8c27e1b-0708-436a-ab2f-5709cf15184a%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/CAH8aSOXe41vprRky8SoC9pzQzWWMNw_GPXxvxEoUGFzT_0-QGQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-appeng... Pedro Perez Garcia
    • [google-a... 'George (Cloud Platform Support)' via Google App Engine
      • Re: [... Pedro Perez Garcia
        • R... 'George (Cloud Platform Support)' via Google App Engine
          • ... Pedro Perez Garcia
            • ... 'Sam (Google Cloud Support)' via Google App Engine
              • ... Pedro Perez Garcia
    • [google-a... 'Mohammad I (Cloud Platform Support)' via Google App Engine
    • [google-a... Pedro Perez Garcia

Reply via email to