I have a number of apps on GAE for Python and one based on AngularJS. The 
others are working fine, and the AngularJS one used to work OK. Now I get 
the following error:

XMLHttpRequest cannot load 
https://odorpatrol-toy.appspot.com/rest/loadlocale?locale=en. Redirect from 
'https://odorpatrol-toy.appspot.com/rest/loadlocale?locale=en' to 
'https://www.google.com/accounts/ServiceLogin?service=ah&passive=true&contin…wtdG95DBICYWgiFMpDF9nfp_N1BV6vlDLbk9fW6W52KAEyFCKyrQ1UB8dhlT02lpSU12eccFZu'
 
has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is 
present on the requested resource. Origin 
'http://odorpatrol-toy.appspot.com' is therefore not allowed access.

If I go to https://www.google.com/accounts/ServiceLogin explicitly from 
Chrome, the the app will work OK for a while. After a while (I assume when 
the login expires) the error crops up again. 

app.yaml has the following section:

- url: /rest/.*
  script: main.APP
  login: required
  secure: always


but removing "secure: always" makes no difference.


The error occurs at the first client http request, but the Python server code 
for the request handler shows not sign of ever being 

accessed.


Thanks, for any help.

-- 
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/a6be3304-9a8b-4e68-a2ca-bd34cb252bda%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to