Dispatching to the new Flex VMs (beta) not working. Anybody else?

324 views
Skip to first unread message

Vishal Shah

unread,
Nov 17, 2016, 2:44:10 PM11/17/16
to Google App Engine
Hi guys,

I am unable to forward requests via dispatch.yaml to a module on the new flex vm (works with the older flexible vms). Any Google devs who can help? This is a critical issue for us. I am using golang.

Thanks.

Les Vogel

unread,
Nov 17, 2016, 6:24:41 PM11/17/16
to google-a...@googlegroups.com
Are you using a full URL, ie. blah.appspot.com/barbaz  or just /barbaz ??  There's currently an issue w/ 307's redirects that appear to be confusing things, you might wish to try using blah.appspot-preview.com/barbaz

--
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+unsubscribe@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/403416b3-e78a-4b8a-bae7-588654cf2b16%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

  •  
Les Vogel
  •  Cloud Developer Relations
  •  le...@google.com
  •  +1-408-676-7023 

Vishal Shah

unread,
Nov 17, 2016, 11:30:19 PM11/17/16
to Google App Engine
Thanks Les for your reply.

Yes, my website depends on the dispatch rules to make ajax calls to stay within my domain. But with the new flex vm's a 307 redirect is issued which the browser can not follow for an AJAX call as it breaks cross domain restriction. Hence, my website breaks. I have to go back to the old vms and can not really upgrade until this is resolved. I have other options like CORS but they have other side effects :(

Do you happen to have a link to the issue where its tracked? Would love to track the progress.



On Friday, November 18, 2016 at 4:54:41 AM UTC+5:30, Les Vogel wrote:
Are you using a full URL, ie. blah.appspot.com/barbaz  or just /barbaz ??  There's currently an issue w/ 307's redirects that appear to be confusing things, you might wish to try using blah.appspot-preview.com/barbaz
On Thu, Nov 17, 2016 at 2:50 AM, goldenv <gol...@gmail.com> wrote:
Hi guys,

I am unable to forward requests via dispatch.yaml to a module on the new flex vm (works with the older flexible vms). Any Google devs who can help? This is a critical issue for us. I am using golang.

Thanks.

--
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-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.

Nick (Cloud Platform Support)

unread,
Nov 18, 2016, 3:13:59 PM11/18/16
to Google App Engine
Hey goldenv,

This issue is currently being tracked at the Public Issue Tracker for App Engine, so you can follow up there for any updates. 

Cheers,

Nick
Cloud Platform Community Support

Vishal Shah

unread,
Nov 19, 2016, 1:06:49 PM11/19/16
to Google App Engine
Thanks Nick. Will track it there. Do you happen to know if this is going to be fixed or this is the intended behavior, the 307s I mean...

V

Fouad Almalki

unread,
Nov 19, 2016, 6:05:57 PM11/19/16
to Google App Engine
I got the same issue for endpoints v2.

I switched to env: flex and when I try to access the endpoints v2 APIs I got ERR_TOO_MANY_REDIRECTS in chrome and the logs have a lot of HTTP 307 responses:

structPayload: {
method: "GET" 
latencySeconds: "0.000" 
referer: "-" 
host: "-" 
user: "-" 
code: "307" 
remote: "***.***.***.***" 
agent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.52 Safari/537.36,gzip(gfe)" 
path: "/_ah/api/userAPI/v1/echo?message=abc" 
size: "180" 

Nick (Cloud Platform Support)

unread,
Nov 21, 2016, 1:14:20 PM11/21/16
to Google App Engine
Hey Folks,

We're currently taking a look at what we can do about this and we hope to be able to update the Public Issue Tracker thread shortly. Thanks for your patience, everyone.


Cheers,

Nick
Cloud Platform Community Support


Reply all
Reply to author
Forward
0 new messages