Hi Jun!

Thanks for bringing this to our attention. I have successfully reproduced 
the behavior, and it seems as though we are now restricted to only one 
forwarded port. I have created a new Issue in the App Engine Issue Tracker 
here <https://code.google.com/p/googleappengine/issues/detail?id=12085> and 
have submitted the report to our engineering team. I highly recommend you 
star the issue, as any further updates will be posted there, which it will 
then notify you of.

Cheers!

On Friday, June 19, 2015 at 9:13:48 PM UTC-4, Jun Xie wrote:
>
> I am trying to build an elasticsearch service on top of Managed VM 
> environment. For elastic search, there are two ports which should be open, 
> including 9200 and 9300. I have the following network configuration in 
> appengine-web.xml:
>
> <network>
> <forwarded-port>9200</forwarded-port>
> <forwarded-port>9300</forwarded-port>
> <instance-tag>"test"</instance-tag>
> <name>"default"</name>
> </network>
>
> I always get this error:
> Bad configuration: XML error validating 
> /Users/jun.xie/Projects/gmanagedvm/java/elastic-search/target/guestbook-stage2-1.0-SNAPSHOT/WEB-INF/appengine-web.xml
>  
> against 
> /Users/jun.xie/.m2/repository/com/google/appengine/appengine-java-sdk/1.9.20/appengine-java-sdk/appengine-java-sdk-1.9.20/docs/appengine-web.xsd
> Caused by: cvc-complex-type.2.4.a: Invalid content was found starting with 
> element 'forwarded-port'. One of 
> '{"http://appengine.google.com/ns/1.0":instance-tag, 
> "http://appengine.google.com/ns/1.0":name}' is expected.
>
> If I delete one port line, for example, just have:
>
> <network>
> <forwarded-port>9200</forwarded-port>
> <instance-tag>"test"</instance-tag>
> <name>"default"</name>
> </network>
>
> I can deploy the application successfully (mvn cloud:deploy) and there is 
> no error.
>
> It is very strange. Any thought?
>

-- 
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 http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/89401785-e42b-404c-be83-2cfdc1f45093%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to