Exposing UDP Ports with flexible runtime environment

186 views
Skip to first unread message

Sargun Dhillon

unread,
Jun 10, 2016, 6:16:39 PM6/10/16
to Google App Engine
I was looking into running a UDP service on the flexible environment. Unfortunately, I'm running into some roadblocks. I read the guide here on how to setup port forwarding: https://cloud.google.com/appengine/docs/flexible/custom-runtimes/configuring-your-app-with-app-yaml#runtime-environment. It appears to be in the syntax of Docker forwards, and if you'd like Docker to forward udp you must forward a port like ${OUTSIDE_PORT}:${INSIDE_PORT}/udp. When I try to do this, I get the following error:

Updating service [default]...failed.

ERROR: (gcloud.preview.app.deploy) Error Response: [400] The validation strategy encountered errors


Details: [

  [

    {

      "@type": "type.googleapis.com/google.rpc.BadRequest",

      "fieldViolations": [

        {

          "description": "Value \"53:5353/udp\" does not match the pattern \"^(?:[0-9]+(:[0-9]+)?)$\"",

          "field": "version.network.forwarded_ports[0]"

        }

      ]

    }

  ]

]



Any ideas?

Adam (Cloud Platform Support)

unread,
Jun 11, 2016, 3:56:43 PM6/11/16
to Google App Engine
Unfortunately this is still a known issue. I'd advise starring the related public issue tracker to add visibility. 
Reply all
Reply to author
Forward
0 new messages