Hey Thomas,

This is just a guess, but it could be that it's necessary to update the 
client as well. Does that error occur when you deploy, or when you receive 
a request? That would be the way to determine if the issue is in the client 
needing to be updated or another issue (not clarified as yet) in the server 
code. 

As a quick side-note, this forum is meant for general high level discussion 
of the platform and services, design patterns, etc. So a thread like this 
should actually be a Stack Overflow <http://stackoverflow.com> post. Not to 
worry as we watch that forum as well. You are more likely to find more 
users who can help, though, with a technical question in that forum.

Cheers,

Nick
Cloud Platform Community Support

On Tuesday, September 27, 2016 at 9:29:27 PM UTC-4, Thomas Wiradikusuma 
wrote:
>
> Hi guys,
>
> I'm a longtime user of Cloud Endpoints (v1), and decided to give v2 a try. 
> So I followed 
> https://cloud.google.com/appengine/docs/java/endpoints/migrating and 
> here's my diff:
>
> - compile 'com.google.appengine:appengine-endpoints:1.9.42'
>
> + compile 'com.google.endpoints:endpoints-framework:2.0.0-beta.8'
>
>
> - 
> <servlet-class>com.google.api.server.spi.SystemServiceServlet</servlet-class>
>
> + 
> <servlet-class>com.google.api.server.spi.EndpointsServlet</servlet-class>
>
>
> - <url-pattern>/_ah/spi/*</url-pattern>
>
> + <url-pattern>/_ah/api/*</url-pattern>
>
>
> I did *not* run the "generating client lib" as documented in 
> https://cloud.google.com/endpoints/docs/frameworks/java/generate-client-libraries-android
>  as I thought, "from the client perspective it should be the same".
>
>
> I hit this error in the server:
>
>
> SEVERE: javax.servlet.ServletContext log: unavailable
>
> com.google.api.server.spi.config.validation.InconsistentApiConfigurationException:
>  
> api: API-wide configuration does not match between the classes 
> com.foobar.ApiV2Public and com.foobar.ApiV2. All API classes with the same 
> API name and version must have the exact same API-wide configuration. 
> Differing property: issuers 
> (com.google.api.server.spi.config.model.ApiIssuerConfigs@0 vs 
> com.google.api.server.spi.config.model.ApiIssuerConfigs@d03e1481).
>
>         at 
> com.google.api.server.spi.config.validation.ApiConfigValidator.validate(ApiConfigValidator.java:89)
>
>         at 
> com.google.api.server.spi.SystemService.registerLoadedService(SystemService.java:218)
>
>         at 
> com.google.api.server.spi.SystemService.registerService(SystemService.java:193)
>
>
> How do I fix this?
>

-- 
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/f19f2f67-cc93-4108-8b68-e1f2b45f5a8a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-appengine] E... Thomas Wiradikusuma
    • [google-appengi... 'Nick (Cloud Platform Support)' via Google App Engine
      • [google-app... Thomas Wiradikusuma
        • [google... 'Nick (Cloud Platform Support)' via Google App Engine
          • [go... Thomas Wiradikusuma
            • ... 'Nick (Cloud Platform Support)' via Google App Engine
              • ... 'Nick (Cloud Platform Support)' via Google App Engine
                • ... Thomas Wiradikusuma
                • ... 'Nick (Cloud Platform Support)' via Google App Engine
                • ... Thomas Wiradikusuma
                • ... 'Nick (Cloud Platform Support)' via Google App Engine
                • ... 'Nick (Cloud Platform Support)' via Google App Engine

Reply via email to