app-engine-flexible

(gcloud.app.deploy) Error Response: [13] Unexpected Error. ()

天涯浪子 提交于 2020-02-23 05:53:50
问题 I'm unable to deploy with the App Engine (Java Flexible) and receive only the information in the header, which is not very informative. I've tried to deploy the helloworld-servlet sample app (https://github.com/GoogleCloudPlatform/getting-started-java/tree/master/helloworld-servlet) using the tutorial just to really keep it simple but I still get the same fault. Here is the laterm, failing, part of the log (with http-logging turned on): [INFO] GCLOUD: -- headers start -- [INFO] GCLOUD:

Putting models in a callback function from ctypes library

自作多情 提交于 2020-01-16 18:34:28
问题 I am trying to setup an application based on the Google App Engine using the Managed VM feature. I am using a shared library written in C++ using ctypes cdll.LoadLibrary('./mylib.so') which registers a callback function CB_FUNC_TYPE = CFUNCTYPE(None, eSubscriptionType) cbFuncType = CB_FUNC_TYPE(scrptCallbackHandler) in which i want to save data to the ndb datastore def scrptCallbackHandler(arg): model = Model(name=str(arg.data)) model.put() I am registering a callback function in which i want

Google app engine TCP connection Failed

我的梦境 提交于 2020-01-16 14:05:09
问题 Spring boot application deployed to google app engine and a request to an endpoint respond correctly with hard-coded text as expected. Apart from the default port 8080 exposed, another TCP:8595 is also exposed where data with be published to that port by tracking devices. The problem is when i tested to get tcp connection with telnet projectid.appspot.com 8595 i get this response Connecting To projectid.appspot.com...Could not open connection to the host, on port 8595: Connect failed ,

GAE Microservices with dedicated Cron Jobs per microservice

安稳与你 提交于 2020-01-16 07:32:13
问题 Can different microservices in GAE, own dedicated cron jobs? Background We have written multiple services on GAE microservices application. One micronservice say Service1(default) [JAVA in GAE Standard environment] has 10 cron jobs, wheareas another microservice say, Service2 [Python in GAE Flexible environment] has 5 other cronjobs. When we deploy both the services, cron jobs get replaced with the latest service cron jobs. I know that Task Queue is shared resource in GAE Microservices and

AppEngine service name and version in the GAE flexible env from my code at runtime in Java/Jetty?

≡放荡痞女 提交于 2020-01-06 16:01:33
问题 How do I get the AppEngine service name and version in the GAE flexible env from my Java code at runtime in the Java 8/Jetty runtime? I need the service and version to populate the ServiceContext info in the stackdriver error reporting on GCP. https://cloud.google.com/error-reporting/docs/formatting-error-messages 回答1: I am the Stackdriver Error Reporting product manager. To answer your question: While I cannot find a clear documentation page for it. It seems that the environment variables

ERROR: (gcloud.app.deploy) INVALID_ARGUMENT: unable to resolve source

浪子不回头ぞ 提交于 2020-01-01 07:40:01
问题 I am trying to deploy a go 1.11 runtime that used to work, but recently I've been getting: ERROR: (gcloud.app.deploy) INVALID_ARGUMENT: unable to resolve source errors. Nothing in my app.yaml has changed, and the error message isn't helpful to understand what the issue could be. I ran it with the --verbosity=debug flag and get: Building and pushing image for service [apiv1] DEBUG: Could not call git with args ('config', '--get-regexp', 'remote\\.(.*)\\.url'): Command '['git', 'config', '--get

ERROR: (gcloud.app.deploy) INVALID_ARGUMENT: unable to resolve source

旧街凉风 提交于 2020-01-01 07:39:46
问题 I am trying to deploy a go 1.11 runtime that used to work, but recently I've been getting: ERROR: (gcloud.app.deploy) INVALID_ARGUMENT: unable to resolve source errors. Nothing in my app.yaml has changed, and the error message isn't helpful to understand what the issue could be. I ran it with the --verbosity=debug flag and get: Building and pushing image for service [apiv1] DEBUG: Could not call git with args ('config', '--get-regexp', 'remote\\.(.*)\\.url'): Command '['git', 'config', '--get