Try with myproject.appspot-preview.com, or more specifically,
service-dot-projectID.appspot-preview.com




On Sat, Nov 26, 2016 at 6:04 PM, Tommy Long <tommy5dol...@gmail.com> wrote:

> Hello,
>
> Apologies in advance if I've missed something stupid but after an entire
> evening of Googling and messing around I can't seem to get any further with
> this issue.
>
> I have a nodejs express API which has CORS enabled (allowing "*" for the
> time being) and works fine when uploaded to a web server I have outside of
> Google Cloud.
>
> I'm trying to use it with AppEngine though (for scalability among other
> things). This is where I'm running into issues though.
>
> The URL that is consistent for a service 
> (https://[service-name]dot[project-name][project-id]/)
> redirects to a deployment-specific URL (https://[deployment-
> timestamp][service-name]dot[project-name][project-id]/).
>
> If I use the deployment-specific URL in my code then again everything
> works fine. If, however, I swap out the deployment-specific URL for the
> consistent service URL (which redirects) then I simply get a 307 response
> (to the OPTIONS request) and the request fails at that point. I can't even
> get the location response header from the 307 OPTION response as this
> information is not given back to the JavaScript function that initiated the
> request.
>
> What can I do to get around this? This must be a common issue that people
> regularly run into but I can't for the life of me figure it out.
>
> Please help!
>
> Thanks in advance,
>
> Tommy
>
> --
> 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 google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> 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/87a58f33-e2d0-47de-832a-
> bc1f914aa887%40googlegroups.com
> <https://groups.google.com/d/msgid/google-appengine/87a58f33-e2d0-47de-832a-bc1f914aa887%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 


*  •  **Les Vogel*
*  •  *Cloud Developer Relations
*  •  *l...@google.com
*  •  *+1-4 <%2B1-650-338-7103>08-676-7023

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
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/CAGB1p5ibRmXMdG7tdrD0pN45S2BkrRKVbgK_PcRAmnikLno2uw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to