Questions tagged [google-cloud-endpoints-v2]

Google Cloud Endpoints Frameworks v2 replaces v1. Migration to v2 encouraged now, required as of August 2, 2018.

Google Cloud Endpoints Frameworks v1 is deprecated as of August 2, 2017. Users of v1 are encouraged to migrate to Cloud Endpoints Frameworks v2 at their earliest convenience. The v1 Endpoints Frameworks will cease to serve traffic on August 2, 2018.

Google Cloud Endpoints Frameworks v2 (in both Java and Python) have been generally available since February 2017. They have a streamlined serving path and include several improvements over v1:

  • they reduce warmup time,
  • they reduce latency per-call, and
  • they have a much better local debugging experience.

They also support custom paths and custom domain names, and they optionally allow API management features such as monitoring and API keys. The new versions are also open sourced (Java, Python).

201 questions
3
votes
0 answers

Confusion about google cloud endpoints ESP and ESP v2 beta

I'm a little confused about the support of cloud endpoints for cloud functions in GCP. In the documentation page for endpoints for cloud functions it states that right now there's a beta phase for ESP v2 and clearly explains how to configure them.…
3
votes
1 answer

Google Appengine Standard Python 2.7: Can't run Google Endpoints on localhost dev_appserver.py anymore

Went to go work on an older Python2.7 AppEngine Standard project today but I can't seem to get Endpoints to work. I downloaded the sample code to see if my project was the culprit, but the sample doesn't work either. …
3
votes
0 answers

gcloud throws a lot of info/warn "scanned from multiple locations" when running standard Java appengine app on local machine

Since yesterday, when running my standard Java AppEngine app on local development machine, I got a lot of messages like this for different classes: [INFO] GCLOUD: 2018-11-10 09:29:59.763:WARN:oeja.AnnotationParser:qtp1335050193-20:…
3
votes
3 answers

Google App Engine Application Suddenly Stopped Working, returning 503

I have an application running on Google App Engine, I deployed the last version of latest version of the application on Sep 6, 2018 but today the application stopped serving request and it is returning error 503 with the following …
3
votes
1 answer

Is it possible to enable using Google Cloud Endpoints Portal without granting extra permissions to access GCP projects on client side?

I have successfully deployed a Google Cloud Endpoints Developer Portal for my API running on Endpoints. I would like to provide access to testing to people outside my organisation that are not using GCP in their projects. Login to the portal works…
3
votes
1 answer

Google cloud endpoint: migrating v1 to v2 getting error in discovery call

We are migrating google cloud endpoint v1 to v2 using following google document. https://cloud.google.com/endpoints/docs/frameworks/python/migrating After deployment of migrated version getting below error. "RuntimeError: A tasklet should not yield…
3
votes
1 answer

Debug localhost on app engine with Intellij Idea and gradle

I am using IntelliJ community addition and building an app engine standard environment application with Gradle. I was using Android Studio before migrating to IntelliJ and endpoint framework. I am not able to debug my localhost. I added jvmFlags as…
3
votes
2 answers

GAE Endpoints Exception: service name mismatch

I'm trying to setup REST API for my project on Google App Engine, and the has been deployed. However, calling the API causes an error 500 to be returned to the client, and in GAE's log, the following stack trace is shown. Stack…
3
votes
2 answers

Google Cloud Endpoints slower

We just migrated to google cloud endpoints v2 / java8 and found that latency has gone up. We see this kind of request in traces often: https://servicecontrol.googleapis.com/v1/services/.endpoints..cloud.goog:check Which uses around…
3
votes
1 answer

App Engine Cloud Endpoints Frameworks (Java) - NullPointerException when run locally

I've followed the directions for the Quickstart for Cloud Endpoints Frameworks on App Engine (Java), and everything works except running it locally. When I run mvn appengine:run I receive failure messages, receive only 503's for the /_ah/start…
3
votes
1 answer

Migrating to Cloud Endpoints Framework v2, iOS Client

My Google App Engine application uses the old (v1) version of the Cloud Endpoints, as far as I see in the documentation it is recommended to migrate to v2 Cloud Endpoints Framework. The application uses Java Standard Environment and it is a backend…
3
votes
4 answers

Google Cloud Endpoints + Firebase Auth: method_info is not set

So I am running the sample code provided by Google: package com.neat.backend; /** * An endpoint class we are exposing */ @Api( name = "myApi", version = "v1", namespace = @ApiNamespace( ownerDomain =…
2
votes
1 answer

Gradle plugin endpoints-framework-gradle-plugin no longer maintained?

When trying to migrate my Android project from Gradle 7 to 8 I'm stumbling upon this: Unable to find method ''void org.gradle.api.tasks.bundling.Zip.setArchiveName(java.lang.String)'' 'void…
2
votes
1 answer

How to set up pro-guard rules for Cloud Endpoints v2 in Android project

What should my proguard-rules.pro file look like so that minifyEnabled true works with Cloud Endpoints v2? When I release my app to Google Play and I have minifyEnabled true in my gradle, I get class not found or nulls for the Cloud Endpoints…
2
votes
0 answers

Invalid Caller IP in Google Cloud Endpoints based API

Started seeing this exception in the logs for Google Cloud Endpoints based API recently even though we haven't changed any code. The call still goes thru but we see this exception even when the HTTP Status returned for the request is 200. The API is…
abhideep
  • 125
  • 6
1
2
3
13 14