Google App Engine “Error parsing ./app.yaml: Unknown url handler type”

1,184 views
Skip to first unread message

Feng Zhou

unread,
Mar 29, 2016, 2:43:42 PM3/29/16
to Google App Engine
I am trying to redirect http to https after I upload ssl certificate for my custom domain by patching app.yaml file with:
handlers:
- url: /*
  secure: always
“Error parsing ./app.yaml: Unknown url handler type” returned when I deploy.
I am using node on app engine. Any ideas? Thank you.

Feng Zhou

unread,
Mar 29, 2016, 2:50:42 PM3/29/16
to Google App Engine

Zeehad (Cloud Platform Support)

unread,
Mar 29, 2016, 5:54:31 PM3/29/16
to Google App Engine
Hello Feng,

It looks like you've found the answer. For this thread's sake, your handler needs to be corrected to:

handlers:
- url: /.*
  secure
: always

Cheers!
Reply all
Reply to author
Forward
0 new messages