[google-appengine] App Engine PHP environment: MongoDB extension not found

2022-07-14 Thread 磯上樹
Hi,

I am trying to deploy PHP application to GAE Standard PHP8.1 environment, 
to find the errors below:
```
File upload done.
Updating service [api-sandbox-1]...failed.
...
 Problem 1
- mongodb/mongodb is locked to version 1.11.0 and an update of this 
package was not requested.
- mongodb/mongodb 1.11.0 requires ext-mongodb ^1.12.0 -> it is missing 
from your system. Install or enable PHP's mongodb extension.
...
```

I have put php.ini in my root directory (same directory where the app.yaml 
file exists) with the contents below:
```
extension=mongodb.so
extension=redis.so
```

This was not happening before June 30th, when I last deployed my 
application successfully.

If anyone knows how to fix this, please kindly let us know.

Thanks



-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/6d51d672-c912-473f-a79f-70f747a7e052n%40googlegroups.com.


[google-appengine] App Engine Python3 - Error creating public url for Google Cloud Storage files

2022-06-28 Thread Daniel Kramer
I'm creating a very simple server to pass images to a mobile app. My images 
are stored in Google Cloud Storage. I'm new to App Engine in the py3 env, 
I've been running a py2.7 app for years.  I'm also new to Cloud Storage.

I have a bucket in storage with a bunch of images. I am able to access that 
bucket from appengine and iterate over the objects. If I make the bucket's 
permissions public I can simply pass the url to my app to display the 
images. 

Ideally I don't have to make the bucket's permissions public. It seems 
there are a couple of options

1) Looks like google.appengine.api.blobstore can create a url:

*blobkey = blobstore.create_gs_key(gs_path) serving_url = 
images.get_serving_url(blobkey, secure_url=False)*

Running this I get an error in my logs:
*AssertionError: No api proxy found for service "blobstore"*

If I create the *BlobKey* directly and pass that to the images function I 
get
*AssertionError: No api proxy found for service "images"*

2)  Looks like theres a way to generate a url that times out after a 
certain period of time:
*blobs = storage_client.list_blobs(bucket_name, prefix=myPrefix, 
delimiter=None)*
*for blob in blobs:* 
* exp = datetime.timedelta(minutes=15)*
* blob.generate_signed_url(version="v4",expiration=**exp*
*,method="GET")*

Running that I get a diff error:
*AttributeError: you need a private key to sign credentials.the credentials 
you are currently using  just contains a 
token. see 
https://googleapis.dev/python/google-api-core/latest/auth.html#setting-up-a-service-account
 
for more details.*

I've found others with the *no api proxy error* and it seems in all those 
cases it's when people are trying to use these api's outside of the 
AppEngine Environment. But I am running it within an AppEngine app so those 
posts aren't helpful. 

My *requirements.txt* is:
Flask==2.0.1
urlfetch
googleapis_common_protos
appengine-python-standard
google-cloud-ndb
google-cloud-logging
google-cloud-storage

Any advice would be helpful, been banging my head on this for several hours.

Thanks!

Daniel

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/961fa55c-a0d7-4cbb-8486-61be6c0f00f3n%40googlegroups.com.


[google-appengine] App Engine Phishing Website

2022-06-16 Thread Dan Babbitt
Hello,
I used the form 
 to report a 
phishing website 10 days ago and the site, while difficult to reach, is 
still publicly accessible.

What can we do to escalate?

IP address: 34.145.113.173
https://34.145.113.173/
*Hostname:* 173.113.145.34.bc.googleusercontent.com.

That's a fraudulent clone of First Republic Bank's online banking website.


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/2a0b704f-6721-4ccc-a84e-16284fb0555en%40googlegroups.com.


[google-appengine] App Engine & Cloud Run in VPC

2022-06-06 Thread 'Stuart Henderson' via Google App Engine
Hi
I am setting up a front-end in App Engine which speaks to a back-end in 
Cloud Run and I'd like all the traffic to be private (internal only). 

Is it necessary to use a serverless VPC Connector for this?

I had pictured just adding these resources to the VPC subnet for the 
relevant region. Any pointers would be very welcome!

Thanks.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/77a92131-80e2-4c2b-b9fc-cbc47095d94cn%40googlegroups.com.


[google-appengine] App Engine down? Multiple App Engine Apps throw HTTP 500

2022-04-28 Thread Andrin von Rechenberg
Hi all

We have multiple independent AppEngine apps that are not responsive anymore.

The logs show:
*The request failed because the instance could not start successfully*

We didn't do any releases.

An example of a failing app is https://airconsole.appspot.com/ (
www.airconsole.com)

Anyone else experiencing this issue?

Cheers,
-Andrin

-- 

 Andrin von Rechenberg - CEO
 Löwenstrasse 65, 8001 Zurich, Switzerland (map
)
 N-Dream AG - www.n-dream.com
 LinkedIn: https://ch.linkedin.com/in/andrinvonrechenberg
 Phone: +41 43 535 49 08 /  Skype: n-dream
 Try out www.airconsole.com - the next-gen game console

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CAJx01PCA6HQ-q0N6hqU0z_ACZuYqQWwm%3DzwhF2PZcdf6nJPkDQ%40mail.gmail.com.


[google-appengine] App Engine doesn't send response leads to timeout at client

2022-04-17 Thread 'Nikhil Patil' via Google App Engine
I have Django application deployed on App Engine standard environment. Not 
all the time but sometimes App engine doesn't send response back which 
leads to timeout at client side. I have logged the response contents just 
before sending response in django code and the contents are correct. All 
the source code execution is as expected just no response . Please suggest 
me if anyone had same kind of issue.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/407bfd59-6cf1-46dd-94e9-f0d63bc2cd34n%40googlegroups.com.


[google-appengine] app engine location change .

2022-02-17 Thread 'Sumit Pawar' via Google App Engine
hello , i created the app engine in gcp its location was 'us' now .i want 
to change the location into 'london'.so please guide for that .

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/2ab465bb-1aeb-4acb-a97b-c62792bea9d1n%40googlegroups.com.


[google-appengine] App Engine Standard - app:invalid port 8080

2022-02-06 Thread Chong Zhen Yang
Hello, 

I'm trying to deploy my react app to app engine using port 8080.

The logs payloads as below:
1. textPayload: "[start] 2022/02/06 04:52:28.768200 Waiting for network 
connection open. Subject:"app/invalid" Address:127.0.0.1:8080"
2.  textPayload: "[start] 2022/02/06 04:52:28.768200 Waiting for network 
connection open. Subject:"app/valid" Address:127.0.0.1:8081"

NGINX started on port 8080.

I'm keep getting CANNOT GET/ from gcloud app browse.

I could not find any resources about app:invalid issue, I do not how to 
approach this issue.

What should I do now?


 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/3f8d2235-de72-49e7-8d55-840fac7f82b0n%40googlegroups.com.


[google-appengine] App Engine Access After Leaving Google Workspace

2022-01-28 Thread Steven Prosser
I have been using the free version of GAE & Google Apps since pretty much 
the very beginning of each. They have sort of melded together in my recall. 
Thinking about the forced migration to Google Workspace I think that 
Microsoft 365 better suites my companies needs for essentially the same 
cost. Want to ensure that if we make this move our access the the GAE, GAE 
Admin console, etc. will not be affected if we do not subscribe to 
GWorkspace. Thanks in Advance.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/cbbc9006-9c78-4da9-bdaa-9039e42dd351n%40googlegroups.com.


[google-appengine] App Engine Flexible Environment Deployed Version Management

2022-01-20 Thread Maha Farhat
Hi,
We use App engine Flexible environment for executing long running 
asynchronous tasks.
When we make changes to the app and deploy a new version using the command: 
"gcloud app deploy app.yaml", it deploys the new version routes 100% 
traffic to the newly deployed version, and stops the old version. This 
results in the failure of any request that was in process on the old 
version.

We have tried keeping the old version alive by using the flag 
--no-stop-previous-version 
but in this case, even after the new version is deployed and the latest 
version is serving 100% requests the new request keeps getting served by 
the older version. 1. Is there a way to keep the old version running until 
the requests it is processing are completed? 2. How to make sure in the 2nd 
scenario that all the new requests after new deployment are served by the 
latest version instead of the old one?

Thanks,

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/f21fbaca-6a83-40d3-8ce0-1bd1d0f1151en%40googlegroups.com.


[google-appengine] App Engine standard and compressed requests

2022-01-12 Thread 'Samu Lahti' via Google App Engine
We use App Engine standard with Java 8. We have a client that sends HTTP 
POST (post body as JSON) requests as gzip-compressed. In normal cases, 
everything works just fine. The frontend will uncompress the requests and 
the App Engine will see the uncompressed request.

But with some requests (large ones?) uncompressing is not done by the 
frontend. This is seen as the request header *content-encoding=[gzip] *is 
still in the request headers and content is binary when the request arrives 
in App Engine. Our application is not prepared to uncompress the request 
but relies on the frontend to uncompress it. We couldn't find much 
information about the rules of uncompressing requests. The page 
https://cloud.google.com/appengine/docs/standard/java/how-requests-are-handled#request_limits
 
says only that the request limit is 32 megabytes. Our failing requests are 
far below that limit in both compressed and uncompressed.

   - Is there a way to find out why some requests are not uncompressed?
   - If it is the size of the request, can the limit be 
   configured/increased?
   - Is the best practice that the application must handle compressed 
   requests also even frontend is taking care of the majority of the 
   compressed requests?
   - Is there documentation somewhere telling more about compressed request 
   limits/handling in App Engine standard? 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/4cfbce8b-4a74-4f96-b940-ab908f1ca028n%40googlegroups.com.


Re: [google-appengine] App Engine Flex ERROR: (gcloud.beta.app.deploy) NOT_FOUND

2021-11-18 Thread 'goya' via Google App Engine
The changes that caused this issue have been rolled back, so it should not 
be happening anymore.

On Wednesday, November 17, 2021 at 4:50:28 PM UTC+1 xmlot...@gmail.com 
wrote:

>
>
> PS://Phai
>
> ในวันที่ พ. 10 พ.ย. 2021 23:15 น. 'Matt Lowden' via Google App Engine <
> google-a...@googlegroups.com> เขียนว่า:
>
>> Hello,
>>
>> I have a collection of App Engine Flex services that are deployed using 
>> `gcloud beta app deploy` due to needing the `beta_settings` app.yaml 
>> property in order to connect to a Cloud SQL instance (
>> https://cloud.google.com/sql/docs/mysql/connect-app-engine-flexible#public-ip-default_1
>> ).
>>
>> These deployment processes are executed using GitLab's CI/CD and have 
>> been untouched for around a year.
>>
>> Yesterday these deployments started failing with the following error 
>> (Both as part of the GitLab pipeline and on my local machine):
>>
>> *Please bear in mind I've removed all of the account specific data.*
>>
>> gcloud beta app deploy app.yaml
>> Services to deploy:
>>
>> descriptor:  [pathtoyaml\app.yaml]
>> source:  [ pathtoyaml  ]
>> target project:  []
>> target service:  []
>> target version:  []
>> target url:  [https://appengineservice.appspot.com]
>> target service account:  [App Engine default service account]
>>
>>
>> Do you want to continue (Y/n)?  y
>>
>> Beginning deployment of service [ appengineservice  ]...
>> ##
>> #= Uploading 0 files to Google Cloud Storage=#
>> ##
>> File upload done.
>> Updating service [ appengineservice  ] (this may take several 
>> minutes)...done.
>> ERROR: (gcloud.beta.app.deploy) NOT_FOUND: Requested entity was not found.
>>
>>
>> *If I run the command with --log-http I can see the following request at 
>> the bottom which returns the error in question*
>>
>> ===
>>  request start 
>> uri: 
>> https://cloudbuild.googleapis.com/v1/projects/topsify-tools/locations/global/builds/ca6dfd3d-eeb4-4748-8fd5-930257e47b64?alt=json
>> method: GET
>> == headers start ==
>> b'accept': b'application/json'
>> b'accept-encoding': b'gzip, deflate'
>> b'authorization': --- Token Redacted ---
>> b'content-length': b'0'
>> b'user-agent': b'google-cloud-sdk gcloud/364.0.0 
>> command/gcloud.beta.app.deploy 
>> invocation-id/d1f77d7d4a28468d91c14ca149993995 environment/None 
>> environment-version/None interactive/True from-script/False python/3.8.10 
>> term/ (Windows NT 10.0.19042)'
>> == headers end ==
>> == body start ==
>>
>> == body end ==
>>  request end 
>>  response start 
>> status: 404
>> -- headers start --
>> -content-encoding: gzip
>> alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-Q050=":443"; 
>> ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; 
>> ma=2592000,quic=":443"; ma=2592000; v="46,43"
>> cache-control: private
>> content-length: 114
>> content-type: application/json; charset=UTF-8
>> date: Wed, 10 Nov 2021 11:32:52 GMT
>> server: ESF
>> transfer-encoding: chunked
>> vary: Origin, X-Origin, Referer
>> x-content-type-options: nosniff
>> x-frame-options: SAMEORIGIN
>> x-xss-protection: 0
>> -- headers end --
>> -- body start --
>> {
>>   "error": {
>> "code": 404,
>> "message": "Requested entity was not found.",
>> "status": "NOT_FOUND"
>>   }
>> }
>>
>> -- body end --
>> total round trip time (request+response): 0.294 secs
>>  response end 
>> --
>>
>> Apologies if this is something that I'm doing from my end as I haven't 
>> seen any other reports of this issue aside from a single thread on Stack 
>> Overflow that was started yesterday.
>>
>> Thank you in advance & if you have any question please don't hesitate to 
>> ask.
>>
>> Thanks,
>> Matt.
>>
>> -- 
>> 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-appengi...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-appengine/40cfda3a-5a39-464b-8db3-06cd21a38832n%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/8135f651-8d5b-40f1-b4b0-5c38f2798216n%40googlegroups.com.


Re: [google-appengine] App Engine Flex ERROR: (gcloud.beta.app.deploy) NOT_FOUND

2021-11-17 Thread Khomsan Nawiang
PS://Phai

ในวันที่ พ. 10 พ.ย. 2021 23:15 น. 'Matt Lowden' via Google App Engine <
google-appengine@googlegroups.com> เขียนว่า:

> Hello,
>
> I have a collection of App Engine Flex services that are deployed using
> `gcloud beta app deploy` due to needing the `beta_settings` app.yaml
> property in order to connect to a Cloud SQL instance (
> https://cloud.google.com/sql/docs/mysql/connect-app-engine-flexible#public-ip-default_1
> ).
>
> These deployment processes are executed using GitLab's CI/CD and have been
> untouched for around a year.
>
> Yesterday these deployments started failing with the following error (Both
> as part of the GitLab pipeline and on my local machine):
>
> *Please bear in mind I've removed all of the account specific data.*
>
> gcloud beta app deploy app.yaml
> Services to deploy:
>
> descriptor:  [pathtoyaml\app.yaml]
> source:  [ pathtoyaml  ]
> target project:  []
> target service:  []
> target version:  []
> target url:  [https://appengineservice.appspot.com]
> target service account:  [App Engine default service account]
>
>
> Do you want to continue (Y/n)?  y
>
> Beginning deployment of service [ appengineservice  ]...
> ##
> #= Uploading 0 files to Google Cloud Storage=#
> ##
> File upload done.
> Updating service [ appengineservice  ] (this may take several
> minutes)...done.
> ERROR: (gcloud.beta.app.deploy) NOT_FOUND: Requested entity was not found.
>
>
> *If I run the command with --log-http I can see the following request at
> the bottom which returns the error in question*
>
> ===
>  request start 
> uri:
> https://cloudbuild.googleapis.com/v1/projects/topsify-tools/locations/global/builds/ca6dfd3d-eeb4-4748-8fd5-930257e47b64?alt=json
> method: GET
> == headers start ==
> b'accept': b'application/json'
> b'accept-encoding': b'gzip, deflate'
> b'authorization': --- Token Redacted ---
> b'content-length': b'0'
> b'user-agent': b'google-cloud-sdk gcloud/364.0.0
> command/gcloud.beta.app.deploy
> invocation-id/d1f77d7d4a28468d91c14ca149993995 environment/None
> environment-version/None interactive/True from-script/False python/3.8.10
> term/ (Windows NT 10.0.19042)'
> == headers end ==
> == body start ==
>
> == body end ==
>  request end 
>  response start 
> status: 404
> -- headers start --
> -content-encoding: gzip
> alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-Q050=":443";
> ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443";
> ma=2592000,quic=":443"; ma=2592000; v="46,43"
> cache-control: private
> content-length: 114
> content-type: application/json; charset=UTF-8
> date: Wed, 10 Nov 2021 11:32:52 GMT
> server: ESF
> transfer-encoding: chunked
> vary: Origin, X-Origin, Referer
> x-content-type-options: nosniff
> x-frame-options: SAMEORIGIN
> x-xss-protection: 0
> -- headers end --
> -- body start --
> {
>   "error": {
> "code": 404,
> "message": "Requested entity was not found.",
> "status": "NOT_FOUND"
>   }
> }
>
> -- body end --
> total round trip time (request+response): 0.294 secs
>  response end 
> --
>
> Apologies if this is something that I'm doing from my end as I haven't
> seen any other reports of this issue aside from a single thread on Stack
> Overflow that was started yesterday.
>
> Thank you in advance & if you have any question please don't hesitate to
> ask.
>
> Thanks,
> Matt.
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/40cfda3a-5a39-464b-8db3-06cd21a38832n%40googlegroups.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CAO5Q6uqY8PX%2B6uSLhb2yLjOpwetZtVNQ1HDxLB2S4g6f5QkXQQ%40mail.gmail.com.


[google-appengine] App Engine PHP developers… the Google Cloud team needs you!

2021-11-10 Thread wesley chun
Six weeks ago, the Google Cloud serverless team released many of the
original App Engine APIs/bundled services

for most of the second-generation runtimes (Python 3, Java 11, Go 1.12+),
and PHP 7 is next! To ensure product readiness for customer workloads,
we're seeking App Engine app developers ready to upgrade their apps to PHP
7. Here is a chart illustrating the available services (Datastore,
Memcache, Task Queues, URLfetch, Mail, Users):


Please sign-up at this form  to
request access to the private preview program. After registering, we will
grant access to the private preview, its documentation, and the
announcements mailing list. For more information, see this thread
 in the App Engine Subreddit.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"A computer never does what you want... only what you tell it."
wesley chun :: @wescpy  :: Software
Architect & Engineer
Developer Advocate at Google
 by day; at
night: Core Python 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CAB6eaA7do5GqLRr6K9e6%3DgieByBT%3DeRj%2BxyfkfTDkjmJMz2BvA%40mail.gmail.com.


[google-appengine] App Engine Flex ERROR: (gcloud.beta.app.deploy) NOT_FOUND

2021-11-10 Thread 'Matt Lowden' via Google App Engine
Hello,

I have a collection of App Engine Flex services that are deployed using 
`gcloud beta app deploy` due to needing the `beta_settings` app.yaml 
property in order to connect to a Cloud SQL instance 
(https://cloud.google.com/sql/docs/mysql/connect-app-engine-flexible#public-ip-default_1).

These deployment processes are executed using GitLab's CI/CD and have been 
untouched for around a year.

Yesterday these deployments started failing with the following error (Both 
as part of the GitLab pipeline and on my local machine):

*Please bear in mind I've removed all of the account specific data.*

gcloud beta app deploy app.yaml
Services to deploy:

descriptor:  [pathtoyaml\app.yaml]
source:  [ pathtoyaml  ]
target project:  []
target service:  []
target version:  []
target url:  [https://appengineservice.appspot.com]
target service account:  [App Engine default service account]


Do you want to continue (Y/n)?  y

Beginning deployment of service [ appengineservice  ]...
##
#= Uploading 0 files to Google Cloud Storage=#
##
File upload done.
Updating service [ appengineservice  ] (this may take several 
minutes)...done.
ERROR: (gcloud.beta.app.deploy) NOT_FOUND: Requested entity was not found.


*If I run the command with --log-http I can see the following request at 
the bottom which returns the error in question*

===
 request start 
uri: 
https://cloudbuild.googleapis.com/v1/projects/topsify-tools/locations/global/builds/ca6dfd3d-eeb4-4748-8fd5-930257e47b64?alt=json
method: GET
== headers start ==
b'accept': b'application/json'
b'accept-encoding': b'gzip, deflate'
b'authorization': --- Token Redacted ---
b'content-length': b'0'
b'user-agent': b'google-cloud-sdk gcloud/364.0.0 
command/gcloud.beta.app.deploy 
invocation-id/d1f77d7d4a28468d91c14ca149993995 environment/None 
environment-version/None interactive/True from-script/False python/3.8.10 
term/ (Windows NT 10.0.19042)'
== headers end ==
== body start ==

== body end ==
 request end 
 response start 
status: 404
-- headers start --
-content-encoding: gzip
alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-Q050=":443"; 
ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; 
ma=2592000,quic=":443"; ma=2592000; v="46,43"
cache-control: private
content-length: 114
content-type: application/json; charset=UTF-8
date: Wed, 10 Nov 2021 11:32:52 GMT
server: ESF
transfer-encoding: chunked
vary: Origin, X-Origin, Referer
x-content-type-options: nosniff
x-frame-options: SAMEORIGIN
x-xss-protection: 0
-- headers end --
-- body start --
{
  "error": {
"code": 404,
"message": "Requested entity was not found.",
"status": "NOT_FOUND"
  }
}

-- body end --
total round trip time (request+response): 0.294 secs
 response end 
--

Apologies if this is something that I'm doing from my end as I haven't seen 
any other reports of this issue aside from a single thread on Stack 
Overflow that was started yesterday.

Thank you in advance & if you have any question please don't hesitate to 
ask.

Thanks,
Matt.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/40cfda3a-5a39-464b-8db3-06cd21a38832n%40googlegroups.com.


Re: [google-appengine] App Engine 11 with Cloud SQL mysql "No suitable driver"

2021-10-18 Thread 'Ludovic Champenois' via Google App Engine
Related 
documentation: 
https://dev.mysql.com/doc/connector-j/8.0/en/connector-j-usagenotes-connect-drivermanager.html

On Monday, October 18, 2021 at 4:42:24 PM UTC+2 Ludovic Champenois wrote:

> So it seems a generic Java well known error
>
> https://stackoverflow.com/questions/22384710/java-sql-sqlexception-no-suitable-driver-found-for-jdbcmysql-localhost3306
> Maybe the GAE Java8 runtime is a bit smarter and does this for you.
> Anyway, it seems what your are doing is now the right thing,
> Cheers,
> Ludo
>
> On Wednesday, October 13, 2021 at 7:40:38 PM UTC+2 t...@terratrue.com 
> wrote:
>
>>
>> No, we are using pure app.yaml, no more appengine-web.xml in our modules.
>>
>> On Mon, Oct 11, 2021 at 5:24 PM 'Ludovic Champenois' via Google App 
>> Engine  wrote:
>>
>>> Hi,
>>> Thanks for the update and the solution,
>>> We are looking and trying to understand the delta between the 2 
>>> runtimes...
>>> Just to be sure, you are using the new Beta Java11 runtime with bundled 
>>> APIs (so using appengine-web.xml), right?
>>> Ludo
>>>
>>> On Monday, October 11, 2021 at 1:04:24 PM UTC-7 t...@terratrue.com 
>>> wrote:
>>>
 I posted this a week ago, and I solved this issue - I just had to add a 
 `Class.forName("com.mysql.cj.jdbc.Driver")` call, which was not needed in 
 App Engine 8 with Java 8 when running in the cloud, but apparently it is 
 now required. Without this, the database connection pool just 
 cannot initialize, and all you get is a stack trace which ultimately ends 
 with "No suitable driver".

 Thanks,
 Tom Harris


 On Mon, Oct 11, 2021 at 6:45 AM Tom Harris  wrote:

> Hi all, running into a very thorny issue that I have spent 
> considerable time on now, without a working solution.
>
> We have a set of Java 8 AppEngine-based microservices that I am 
> upgrading to Java 11 and Spring Boot. The services are using MySQL via 
> Cloud SQL with Google's socket factory. Locally, we use the MySQL driver 
> directly and the services run as expected.
>
> However when I try to deploy out to a cloud environment, when the code 
> tries to instantiate the Hikari connection pool using Cloud SQL, I 
> receive 
> the dreaded "No suitable driver" error from the JDBC DriverManager.
>
> Our project includes these two dependencies:
> 
>   com.google.cloud.sql
>   mysql-socket-factory-connector-j-8
>   1.3.3
> 
> 
>   mysql
>   mysql-connector-java
>   8.0.26
> 
>
> Here is the code that is failing:
> HikariConfig config = new HikariConfig();
> config.addDataSourceProperty("useSSL", "false");
> config.addDataSourceProperty("useUnicode", "true");
> config.addDataSourceProperty("characterEncoding", "UTF-8");
> config.setRegisterMbeans(true);
>
> config.setJdbcUrl("jdbc:mysql:///dbname");
> config.setUsername(dbUser);
> config.setPassword(dbPassword);
> config.addDataSourceProperty("socketFactory", 
> "com.google.cloud.sql.mysql.SocketFactory");
> config.addDataSourceProperty("cloudSqlInstance", 
> instanceConnectionName);
>
> return new HikariDataSource(config);
>
> And every time I try to fire up the service after deploying it to the 
> cloud, I am seeing the error:
>
> Caused by: java.lang.RuntimeException: Failed to get driver instance 
> for jdbcUrl=jdbc:mysql:///dbname  at 
> com.zaxxer.hikari.util.DriverDataSource.(DriverDataSource.java:114) 
> at 
> com.zaxxer.hikari.pool.PoolBase.initializeDataSource(PoolBase.java:331) 
> at com.zaxxer.hikari.pool.PoolBase.(PoolBase.java:114) at 
> com.zaxxer.hikari.pool.HikariPool.(HikariPool.java:108) at 
> com.zaxxer.hikari.HikariDataSource.(HikariDataSource.java:81) at 
> com.terratrue.db.DataSources.initDataSourceForCloudEnvironmentForUser(DataSources.java:276)
> Caused by: java.sql.SQLException: No suitable driver at 
> java.sql/java.sql.DriverManager.getDriver(DriverManager.java:298) at 
> com.zaxxer.hikari.util.DriverDataSource.(DriverDataSource.java:106) 
> ... 53 common frames omitted"
>
> I have searched the internet for anything that would help resolve this 
> issue, but I can't seem to find a relevant solution. The jar files for 
> both 
> libs are found in the app-staging folder, so I know they are getting 
> deployed with the service.
>
> Does anyone have suggestions as to what to do next?
>
> Thanks,
> Tom Harris
>
> -- 
> 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-appengi...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/google-appengine/792e5183-dea5-458f-8c44-abf185d5f8ebn%40googlegroups.com
>  

Re: [google-appengine] App Engine 11 with Cloud SQL mysql "No suitable driver"

2021-10-18 Thread 'Ludovic Champenois' via Google App Engine
So it seems a generic Java well known error
https://stackoverflow.com/questions/22384710/java-sql-sqlexception-no-suitable-driver-found-for-jdbcmysql-localhost3306
Maybe the GAE Java8 runtime is a bit smarter and does this for you.
Anyway, it seems what your are doing is now the right thing,
Cheers,
Ludo

On Wednesday, October 13, 2021 at 7:40:38 PM UTC+2 t...@terratrue.com wrote:

>
> No, we are using pure app.yaml, no more appengine-web.xml in our modules.
>
> On Mon, Oct 11, 2021 at 5:24 PM 'Ludovic Champenois' via Google App Engine 
>  wrote:
>
>> Hi,
>> Thanks for the update and the solution,
>> We are looking and trying to understand the delta between the 2 
>> runtimes...
>> Just to be sure, you are using the new Beta Java11 runtime with bundled 
>> APIs (so using appengine-web.xml), right?
>> Ludo
>>
>> On Monday, October 11, 2021 at 1:04:24 PM UTC-7 t...@terratrue.com wrote:
>>
>>> I posted this a week ago, and I solved this issue - I just had to add a 
>>> `Class.forName("com.mysql.cj.jdbc.Driver")` call, which was not needed in 
>>> App Engine 8 with Java 8 when running in the cloud, but apparently it is 
>>> now required. Without this, the database connection pool just 
>>> cannot initialize, and all you get is a stack trace which ultimately ends 
>>> with "No suitable driver".
>>>
>>> Thanks,
>>> Tom Harris
>>>
>>>
>>> On Mon, Oct 11, 2021 at 6:45 AM Tom Harris  wrote:
>>>
 Hi all, running into a very thorny issue that I have spent considerable 
 time on now, without a working solution.

 We have a set of Java 8 AppEngine-based microservices that I am 
 upgrading to Java 11 and Spring Boot. The services are using MySQL via 
 Cloud SQL with Google's socket factory. Locally, we use the MySQL driver 
 directly and the services run as expected.

 However when I try to deploy out to a cloud environment, when the code 
 tries to instantiate the Hikari connection pool using Cloud SQL, I receive 
 the dreaded "No suitable driver" error from the JDBC DriverManager.

 Our project includes these two dependencies:
 
   com.google.cloud.sql
   mysql-socket-factory-connector-j-8
   1.3.3
 
 
   mysql
   mysql-connector-java
   8.0.26
 

 Here is the code that is failing:
 HikariConfig config = new HikariConfig();
 config.addDataSourceProperty("useSSL", "false");
 config.addDataSourceProperty("useUnicode", "true");
 config.addDataSourceProperty("characterEncoding", "UTF-8");
 config.setRegisterMbeans(true);

 config.setJdbcUrl("jdbc:mysql:///dbname");
 config.setUsername(dbUser);
 config.setPassword(dbPassword);
 config.addDataSourceProperty("socketFactory", 
 "com.google.cloud.sql.mysql.SocketFactory");
 config.addDataSourceProperty("cloudSqlInstance", 
 instanceConnectionName);

 return new HikariDataSource(config);

 And every time I try to fire up the service after deploying it to the 
 cloud, I am seeing the error:

 Caused by: java.lang.RuntimeException: Failed to get driver instance 
 for jdbcUrl=jdbc:mysql:///dbname  at 
 com.zaxxer.hikari.util.DriverDataSource.(DriverDataSource.java:114) 
 at com.zaxxer.hikari.pool.PoolBase.initializeDataSource(PoolBase.java:331) 
 at com.zaxxer.hikari.pool.PoolBase.(PoolBase.java:114) at 
 com.zaxxer.hikari.pool.HikariPool.(HikariPool.java:108) at 
 com.zaxxer.hikari.HikariDataSource.(HikariDataSource.java:81) at 
 com.terratrue.db.DataSources.initDataSourceForCloudEnvironmentForUser(DataSources.java:276)
 Caused by: java.sql.SQLException: No suitable driver at 
 java.sql/java.sql.DriverManager.getDriver(DriverManager.java:298) at 
 com.zaxxer.hikari.util.DriverDataSource.(DriverDataSource.java:106) 
 ... 53 common frames omitted"

 I have searched the internet for anything that would help resolve this 
 issue, but I can't seem to find a relevant solution. The jar files for 
 both 
 libs are found in the app-staging folder, so I know they are getting 
 deployed with the service.

 Does anyone have suggestions as to what to do next?

 Thanks,
 Tom Harris

 -- 
 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-appengi...@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/google-appengine/792e5183-dea5-458f-8c44-abf185d5f8ebn%40googlegroups.com
  
 
 .

>>> -- 
>> 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 

Re: [google-appengine] App Engine 11 with Cloud SQL mysql "No suitable driver"

2021-10-13 Thread Tom Harris
No, we are using pure app.yaml, no more appengine-web.xml in our modules.

On Mon, Oct 11, 2021 at 5:24 PM 'Ludovic Champenois' via Google App Engine <
google-appengine@googlegroups.com> wrote:

> Hi,
> Thanks for the update and the solution,
> We are looking and trying to understand the delta between the 2 runtimes...
> Just to be sure, you are using the new Beta Java11 runtime with bundled
> APIs (so using appengine-web.xml), right?
> Ludo
>
> On Monday, October 11, 2021 at 1:04:24 PM UTC-7 t...@terratrue.com wrote:
>
>> I posted this a week ago, and I solved this issue - I just had to add a
>> `Class.forName("com.mysql.cj.jdbc.Driver")` call, which was not needed in
>> App Engine 8 with Java 8 when running in the cloud, but apparently it is
>> now required. Without this, the database connection pool just
>> cannot initialize, and all you get is a stack trace which ultimately ends
>> with "No suitable driver".
>>
>> Thanks,
>> Tom Harris
>>
>>
>> On Mon, Oct 11, 2021 at 6:45 AM Tom Harris  wrote:
>>
>>> Hi all, running into a very thorny issue that I have spent considerable
>>> time on now, without a working solution.
>>>
>>> We have a set of Java 8 AppEngine-based microservices that I am
>>> upgrading to Java 11 and Spring Boot. The services are using MySQL via
>>> Cloud SQL with Google's socket factory. Locally, we use the MySQL driver
>>> directly and the services run as expected.
>>>
>>> However when I try to deploy out to a cloud environment, when the code
>>> tries to instantiate the Hikari connection pool using Cloud SQL, I receive
>>> the dreaded "No suitable driver" error from the JDBC DriverManager.
>>>
>>> Our project includes these two dependencies:
>>> 
>>>   com.google.cloud.sql
>>>   mysql-socket-factory-connector-j-8
>>>   1.3.3
>>> 
>>> 
>>>   mysql
>>>   mysql-connector-java
>>>   8.0.26
>>> 
>>>
>>> Here is the code that is failing:
>>> HikariConfig config = new HikariConfig();
>>> config.addDataSourceProperty("useSSL", "false");
>>> config.addDataSourceProperty("useUnicode", "true");
>>> config.addDataSourceProperty("characterEncoding", "UTF-8");
>>> config.setRegisterMbeans(true);
>>>
>>> config.setJdbcUrl("jdbc:mysql:///dbname");
>>> config.setUsername(dbUser);
>>> config.setPassword(dbPassword);
>>> config.addDataSourceProperty("socketFactory",
>>> "com.google.cloud.sql.mysql.SocketFactory");
>>> config.addDataSourceProperty("cloudSqlInstance", instanceConnectionName);
>>>
>>> return new HikariDataSource(config);
>>>
>>> And every time I try to fire up the service after deploying it to the
>>> cloud, I am seeing the error:
>>>
>>> Caused by: java.lang.RuntimeException: Failed to get driver instance for
>>> jdbcUrl=jdbc:mysql:///dbname  at
>>> com.zaxxer.hikari.util.DriverDataSource.(DriverDataSource.java:114)
>>> at com.zaxxer.hikari.pool.PoolBase.initializeDataSource(PoolBase.java:331)
>>> at com.zaxxer.hikari.pool.PoolBase.(PoolBase.java:114) at
>>> com.zaxxer.hikari.pool.HikariPool.(HikariPool.java:108) at
>>> com.zaxxer.hikari.HikariDataSource.(HikariDataSource.java:81) at
>>> com.terratrue.db.DataSources.initDataSourceForCloudEnvironmentForUser(DataSources.java:276)
>>> Caused by: java.sql.SQLException: No suitable driver at
>>> java.sql/java.sql.DriverManager.getDriver(DriverManager.java:298) at
>>> com.zaxxer.hikari.util.DriverDataSource.(DriverDataSource.java:106)
>>> ... 53 common frames omitted"
>>>
>>> I have searched the internet for anything that would help resolve this
>>> issue, but I can't seem to find a relevant solution. The jar files for both
>>> libs are found in the app-staging folder, so I know they are getting
>>> deployed with the service.
>>>
>>> Does anyone have suggestions as to what to do next?
>>>
>>> Thanks,
>>> Tom Harris
>>>
>>> --
>>> 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-appengi...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/google-appengine/792e5183-dea5-458f-8c44-abf185d5f8ebn%40googlegroups.com
>>> 
>>> .
>>>
>> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/cbbd3ab0-e63e-470f-8415-11a8b3c11697n%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop 

Re: [google-appengine] App Engine 11 with Cloud SQL mysql "No suitable driver"

2021-10-11 Thread 'Ludovic Champenois' via Google App Engine
Hi,
Thanks for the update and the solution,
We are looking and trying to understand the delta between the 2 runtimes...
Just to be sure, you are using the new Beta Java11 runtime with bundled 
APIs (so using appengine-web.xml), right?
Ludo

On Monday, October 11, 2021 at 1:04:24 PM UTC-7 t...@terratrue.com wrote:

> I posted this a week ago, and I solved this issue - I just had to add a 
> `Class.forName("com.mysql.cj.jdbc.Driver")` call, which was not needed in 
> App Engine 8 with Java 8 when running in the cloud, but apparently it is 
> now required. Without this, the database connection pool just 
> cannot initialize, and all you get is a stack trace which ultimately ends 
> with "No suitable driver".
>
> Thanks,
> Tom Harris
>
>
> On Mon, Oct 11, 2021 at 6:45 AM Tom Harris  wrote:
>
>> Hi all, running into a very thorny issue that I have spent considerable 
>> time on now, without a working solution.
>>
>> We have a set of Java 8 AppEngine-based microservices that I am upgrading 
>> to Java 11 and Spring Boot. The services are using MySQL via Cloud SQL with 
>> Google's socket factory. Locally, we use the MySQL driver directly and the 
>> services run as expected.
>>
>> However when I try to deploy out to a cloud environment, when the code 
>> tries to instantiate the Hikari connection pool using Cloud SQL, I receive 
>> the dreaded "No suitable driver" error from the JDBC DriverManager.
>>
>> Our project includes these two dependencies:
>> 
>>   com.google.cloud.sql
>>   mysql-socket-factory-connector-j-8
>>   1.3.3
>> 
>> 
>>   mysql
>>   mysql-connector-java
>>   8.0.26
>> 
>>
>> Here is the code that is failing:
>> HikariConfig config = new HikariConfig();
>> config.addDataSourceProperty("useSSL", "false");
>> config.addDataSourceProperty("useUnicode", "true");
>> config.addDataSourceProperty("characterEncoding", "UTF-8");
>> config.setRegisterMbeans(true);
>>
>> config.setJdbcUrl("jdbc:mysql:///dbname");
>> config.setUsername(dbUser);
>> config.setPassword(dbPassword);
>> config.addDataSourceProperty("socketFactory", 
>> "com.google.cloud.sql.mysql.SocketFactory");
>> config.addDataSourceProperty("cloudSqlInstance", instanceConnectionName);
>>
>> return new HikariDataSource(config);
>>
>> And every time I try to fire up the service after deploying it to the 
>> cloud, I am seeing the error:
>>
>> Caused by: java.lang.RuntimeException: Failed to get driver instance for 
>> jdbcUrl=jdbc:mysql:///dbname  at 
>> com.zaxxer.hikari.util.DriverDataSource.(DriverDataSource.java:114) 
>> at com.zaxxer.hikari.pool.PoolBase.initializeDataSource(PoolBase.java:331) 
>> at com.zaxxer.hikari.pool.PoolBase.(PoolBase.java:114) at 
>> com.zaxxer.hikari.pool.HikariPool.(HikariPool.java:108) at 
>> com.zaxxer.hikari.HikariDataSource.(HikariDataSource.java:81) at 
>> com.terratrue.db.DataSources.initDataSourceForCloudEnvironmentForUser(DataSources.java:276)
>> Caused by: java.sql.SQLException: No suitable driver at 
>> java.sql/java.sql.DriverManager.getDriver(DriverManager.java:298) at 
>> com.zaxxer.hikari.util.DriverDataSource.(DriverDataSource.java:106) 
>> ... 53 common frames omitted"
>>
>> I have searched the internet for anything that would help resolve this 
>> issue, but I can't seem to find a relevant solution. The jar files for both 
>> libs are found in the app-staging folder, so I know they are getting 
>> deployed with the service.
>>
>> Does anyone have suggestions as to what to do next?
>>
>> Thanks,
>> Tom Harris
>>
>> -- 
>> 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-appengi...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-appengine/792e5183-dea5-458f-8c44-abf185d5f8ebn%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/cbbd3ab0-e63e-470f-8415-11a8b3c11697n%40googlegroups.com.


Re: [google-appengine] App Engine 11 with Cloud SQL mysql "No suitable driver"

2021-10-11 Thread Tom Harris
I posted this a week ago, and I solved this issue - I just had to add a
`Class.forName("com.mysql.cj.jdbc.Driver")` call, which was not needed in
App Engine 8 with Java 8 when running in the cloud, but apparently it is
now required. Without this, the database connection pool just
cannot initialize, and all you get is a stack trace which ultimately ends
with "No suitable driver".

Thanks,
Tom Harris


On Mon, Oct 11, 2021 at 6:45 AM Tom Harris  wrote:

> Hi all, running into a very thorny issue that I have spent considerable
> time on now, without a working solution.
>
> We have a set of Java 8 AppEngine-based microservices that I am upgrading
> to Java 11 and Spring Boot. The services are using MySQL via Cloud SQL with
> Google's socket factory. Locally, we use the MySQL driver directly and the
> services run as expected.
>
> However when I try to deploy out to a cloud environment, when the code
> tries to instantiate the Hikari connection pool using Cloud SQL, I receive
> the dreaded "No suitable driver" error from the JDBC DriverManager.
>
> Our project includes these two dependencies:
> 
>   com.google.cloud.sql
>   mysql-socket-factory-connector-j-8
>   1.3.3
> 
> 
>   mysql
>   mysql-connector-java
>   8.0.26
> 
>
> Here is the code that is failing:
> HikariConfig config = new HikariConfig();
> config.addDataSourceProperty("useSSL", "false");
> config.addDataSourceProperty("useUnicode", "true");
> config.addDataSourceProperty("characterEncoding", "UTF-8");
> config.setRegisterMbeans(true);
>
> config.setJdbcUrl("jdbc:mysql:///dbname");
> config.setUsername(dbUser);
> config.setPassword(dbPassword);
> config.addDataSourceProperty("socketFactory",
> "com.google.cloud.sql.mysql.SocketFactory");
> config.addDataSourceProperty("cloudSqlInstance", instanceConnectionName);
>
> return new HikariDataSource(config);
>
> And every time I try to fire up the service after deploying it to the
> cloud, I am seeing the error:
>
> Caused by: java.lang.RuntimeException: Failed to get driver instance for
> jdbcUrl=jdbc:mysql:///dbname  at
> com.zaxxer.hikari.util.DriverDataSource.(DriverDataSource.java:114)
> at com.zaxxer.hikari.pool.PoolBase.initializeDataSource(PoolBase.java:331)
> at com.zaxxer.hikari.pool.PoolBase.(PoolBase.java:114) at
> com.zaxxer.hikari.pool.HikariPool.(HikariPool.java:108) at
> com.zaxxer.hikari.HikariDataSource.(HikariDataSource.java:81) at
> com.terratrue.db.DataSources.initDataSourceForCloudEnvironmentForUser(DataSources.java:276)
> Caused by: java.sql.SQLException: No suitable driver at
> java.sql/java.sql.DriverManager.getDriver(DriverManager.java:298) at
> com.zaxxer.hikari.util.DriverDataSource.(DriverDataSource.java:106)
> ... 53 common frames omitted"
>
> I have searched the internet for anything that would help resolve this
> issue, but I can't seem to find a relevant solution. The jar files for both
> libs are found in the app-staging folder, so I know they are getting
> deployed with the service.
>
> Does anyone have suggestions as to what to do next?
>
> Thanks,
> Tom Harris
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/792e5183-dea5-458f-8c44-abf185d5f8ebn%40googlegroups.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CAB9U9Q8aoaCaKy4wnH%3DJU7mCfZu27jBkZmdSNgitDD2HxYD-7g%40mail.gmail.com.


[google-appengine] App Engine 11 with Cloud SQL mysql "No suitable driver"

2021-10-11 Thread Tom Harris
Hi all, running into a very thorny issue that I have spent considerable 
time on now, without a working solution.

We have a set of Java 8 AppEngine-based microservices that I am upgrading 
to Java 11 and Spring Boot. The services are using MySQL via Cloud SQL with 
Google's socket factory. Locally, we use the MySQL driver directly and the 
services run as expected.

However when I try to deploy out to a cloud environment, when the code 
tries to instantiate the Hikari connection pool using Cloud SQL, I receive 
the dreaded "No suitable driver" error from the JDBC DriverManager.

Our project includes these two dependencies:

  com.google.cloud.sql
  mysql-socket-factory-connector-j-8
  1.3.3


  mysql
  mysql-connector-java
  8.0.26


Here is the code that is failing:
HikariConfig config = new HikariConfig();
config.addDataSourceProperty("useSSL", "false");
config.addDataSourceProperty("useUnicode", "true");
config.addDataSourceProperty("characterEncoding", "UTF-8");
config.setRegisterMbeans(true);

config.setJdbcUrl("jdbc:mysql:///dbname");
config.setUsername(dbUser);
config.setPassword(dbPassword);
config.addDataSourceProperty("socketFactory", 
"com.google.cloud.sql.mysql.SocketFactory");
config.addDataSourceProperty("cloudSqlInstance", instanceConnectionName);

return new HikariDataSource(config);

And every time I try to fire up the service after deploying it to the 
cloud, I am seeing the error:

Caused by: java.lang.RuntimeException: Failed to get driver instance for 
jdbcUrl=jdbc:mysql:///dbname  at 
com.zaxxer.hikari.util.DriverDataSource.(DriverDataSource.java:114) 
at com.zaxxer.hikari.pool.PoolBase.initializeDataSource(PoolBase.java:331) 
at com.zaxxer.hikari.pool.PoolBase.(PoolBase.java:114) at 
com.zaxxer.hikari.pool.HikariPool.(HikariPool.java:108) at 
com.zaxxer.hikari.HikariDataSource.(HikariDataSource.java:81) at 
com.terratrue.db.DataSources.initDataSourceForCloudEnvironmentForUser(DataSources.java:276)
Caused by: java.sql.SQLException: No suitable driver at 
java.sql/java.sql.DriverManager.getDriver(DriverManager.java:298) at 
com.zaxxer.hikari.util.DriverDataSource.(DriverDataSource.java:106) 
... 53 common frames omitted"

I have searched the internet for anything that would help resolve this 
issue, but I can't seem to find a relevant solution. The jar files for both 
libs are found in the app-staging folder, so I know they are getting 
deployed with the service.

Does anyone have suggestions as to what to do next?

Thanks,
Tom Harris

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/792e5183-dea5-458f-8c44-abf185d5f8ebn%40googlegroups.com.


Re: [google-appengine] App engine sub domain SSL not working

2021-09-16 Thread Adam Jack
H, sorry ... looking closer, your screenshot is the screen I was
showing you.

The more I poke about the more I see the same stuff you are showing.

That said, I don't have the wildcard pattern you seem to have at the end of
the dispatch.yaml. I have nothing for the default service.

Sorry I couldn't help.

regards

Adam

On Thu, Sep 16, 2021 at 8:22 PM Adam Jack  wrote:

> I'm no expert, but I did find instructions on how to set it up [I forget
> where] but I think you (at least) need to go here (after DNS is set up) and
> see the "SSL security"
>
>https://console.cloud.google.com/appengine/settings/domains?project=
> ...
>
> ... mine says "Google-managed, auto-renewing".
>
> regards
>
> Adam
>
> On Thu, Sep 16, 2021 at 8:46 AM Alexander Crosson 
> wrote:
>
>> Hi,
>>
>> I'm trying to get my app to run on app engine with subdomains for the
>> frontend and backend services. I'm able to get my apps to run at their app
>> spot URL https://dev-api-dot-.ue.r.appspot.com , but when
>> i try hitting https://dev.api..com I get "This site can’t
>> provide a secure connection", meaning the SSL cert handshake doesn't pass.
>> Can someone please suggest how to fix this? I've search all over the
>> internet but cannot find a solution.
>>
>> Here is the *dispatch.yaml* file
>> dispatch:
>> - url: "dev.app..com/*"
>>   service: dev-app
>> - url: "dev.api..com/*"
>>   service: dev-api
>> - url: "*/.*"
>>   service: default
>>
>> Here is the dev-api.yaml:
>> service: dev-api
>> runtime: nodejs16
>>
>> inbound_services:
>> - warmup
>> automatic_scaling:
>> max_instances: 1
>> resources:
>> cpu: 1
>> memory_gb: 0.5
>> disk_size_gb: 10
>> handlers:
>> - url: /.*
>> secure: always
>> redirect_http_response_code: 301
>> script: auto
>>
>>
>>
>> --
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/google-appengine/fb7ad98b-3989-4df7-b648-9a8102711624n%40googlegroups.com
>> 
>> .
>>
>
>
> --
> Responserack
> - incidents happen, response is crafted...
> https://www.responserack.com
> (720) 340-2048 <720-340-2048> | LinkedIn
>  | Facebook
>  | Twitter
>  | Capterra
> 
>


-- 
Responserack
- incidents happen, response is crafted...
https://www.responserack.com
(720) 340-2048 <720-340-2048> | LinkedIn
 | Facebook
 | Twitter
 | Capterra


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CAMT-FFL2a-%3DDtUNeGrY%3DHTrju8%3DnH2sz_sog2viFD1CwasZBRg%40mail.gmail.com.


Re: [google-appengine] App engine sub domain SSL not working

2021-09-16 Thread Adam Jack
I'm no expert, but I did find instructions on how to set it up [I forget
where] but I think you (at least) need to go here (after DNS is set up) and
see the "SSL security"

   https://console.cloud.google.com/appengine/settings/domains?project= ...

... mine says "Google-managed, auto-renewing".

regards

Adam

On Thu, Sep 16, 2021 at 8:46 AM Alexander Crosson 
wrote:

> Hi,
>
> I'm trying to get my app to run on app engine with subdomains for the
> frontend and backend services. I'm able to get my apps to run at their app
> spot URL https://dev-api-dot-.ue.r.appspot.com , but when i
> try hitting https://dev.api..com I get "This site can’t provide a
> secure connection", meaning the SSL cert handshake doesn't pass. Can
> someone please suggest how to fix this? I've search all over the internet
> but cannot find a solution.
>
> Here is the *dispatch.yaml* file
> dispatch:
> - url: "dev.app..com/*"
>   service: dev-app
> - url: "dev.api..com/*"
>   service: dev-api
> - url: "*/.*"
>   service: default
>
> Here is the dev-api.yaml:
> service: dev-api
> runtime: nodejs16
>
> inbound_services:
> - warmup
> automatic_scaling:
> max_instances: 1
> resources:
> cpu: 1
> memory_gb: 0.5
> disk_size_gb: 10
> handlers:
> - url: /.*
> secure: always
> redirect_http_response_code: 301
> script: auto
>
>
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/fb7ad98b-3989-4df7-b648-9a8102711624n%40googlegroups.com
> 
> .
>


-- 
Responserack
- incidents happen, response is crafted...
https://www.responserack.com
(720) 340-2048 <720-340-2048> | LinkedIn
 | Facebook
 | Twitter
 | Capterra


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CAMT-FFLVmTzrbSgvb37c18Eis9kMU86uasD%3DY%2BEGMTDrEk857g%40mail.gmail.com.


Re: [google-appengine] App Engine costs rocket in recent months?

2021-09-03 Thread Tapir
Surely not this reason. The costs of all my low-traffic websites becomes 
10x more.
The traffics of these websites are on par with two months ago.

On Thursday, September 2, 2021 at 10:57:16 AM UTC-4 Joshua Smith wrote:

> The thing that I've noticed is that the amount of bot traffic hitting my 
> sites has been steadily increasing. I've addressed this through a 
> combination of robots.txt and blocking certain IP address blocks in the 
> firewall (I block the ones that don't respect crawl-delay or don't respect 
> robots.txt).
>
> It's a never-ending battle against these bots that all seem to be building 
> their own google-scale web databases.
>
> If your costs are coming from frontend instances, the simple solution to 
> that is to just limit the maximum number of those. Although that means when 
> you do get a traffic spike, users will suffer.
>
> -Joshua
>
> On Sep 2, 2021, at 10:48 AM, Tapir  wrote:
>
>
> The costs of my projects rocketed from $5 to $50 in the previous months.
> Anyone else also got the same experience?
>
> My websites are very small.
>
> -- 
> 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-appengi...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/google-appengine/e122d075-4147-4151-b156-693c21484afdn%40googlegroups.com
>  
> 
> .
>
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/1d934cd5-4bf5-437a-a401-306173928ce4n%40googlegroups.com.


Re: [google-appengine] App Engine costs rocket in recent months?

2021-09-02 Thread Joshua Smith
The thing that I've noticed is that the amount of bot traffic hitting my sites 
has been steadily increasing. I've addressed this through a combination of 
robots.txt and blocking certain IP address blocks in the firewall (I block the 
ones that don't respect crawl-delay or don't respect robots.txt).

It's a never-ending battle against these bots that all seem to be building 
their own google-scale web databases.

If your costs are coming from frontend instances, the simple solution to that 
is to just limit the maximum number of those. Although that means when you do 
get a traffic spike, users will suffer.

-Joshua

> On Sep 2, 2021, at 10:48 AM, Tapir  wrote:
> 
> 
> The costs of my projects rocketed from $5 to $50 in the previous months.
> Anyone else also got the same experience?
> 
> My websites are very small.
> 
> -- 
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/google-appengine/e122d075-4147-4151-b156-693c21484afdn%40googlegroups.com
>  
> .

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/ACCBBA77-EABA-45CF-8E83-EA43DFFF0280%40gmail.com.


[google-appengine] App Engine costs rocket in recent months?

2021-09-02 Thread Tapir

The costs of my projects rocketed from $5 to $50 in the previous months.
Anyone else also got the same experience?

My websites are very small.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/e122d075-4147-4151-b156-693c21484afdn%40googlegroups.com.


[google-appengine] App Engine Service account missing

2021-08-24 Thread 'Shalini Khullar' via Google App Engine
I am trying to set up server side container for a client using GTM 
following 
https://developers.google.com/tag-manager/serverside/script-user-guide#create_a_google_cloud_platform_gcp_project
 
for manual provisioning of tagging server. 
But when I follow the instructions, I get attached error. 

Have editor permissions. 

Can someone help?


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/1e2bcb4a-552a-450f-b30d-1861ea0c16efn%40googlegroups.com.


[google-appengine] App Engine running Python 3.7 via Docker

2021-08-04 Thread Robin Kurtz
Hello,

I have a simple application running on a App Engine Standard with the 
runtime set to python37. Locally, I am using Docker and python image from 
Google, but it seems like I cannot match the version.

*Dockerfile*

FROM gcr.io/google-appengine/python # Results in 3.6.8

ENV PIPENV_VENV_IN_PROJECT=/home/vmagent/app/.venv

RUN pip3 install pipenv==2018.11.26

*app.yaml*
service: name
runtime: python37

manual_scaling:
instances: 1

handlers:
- url: /.*
secure: always
redirect_http_response_code: 301
script: auto

Thanks!

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/75d02291-8156-4032-b215-7410e495a861n%40googlegroups.com.


[google-appengine] App Engine Flex - PHP - Custom Domain SSL - Not Working

2021-06-28 Thread Bilal Haidar

Hi,
I've added a subdomain today to my app on App Engine. The app is PHP 
Laravel.

The app makes use of the default Google Managed SSL.

In addition, I added a middleware to make sure to add the following header:

$response->headers->set('Strict-Transport-Security', 'max-age=31536000; 
includeSubDomains; preload');

Now, when I access the app via the custom domain, I can see the response 
header there. However, the app stays on the HTTP and is not being served on 
HTTPS.

Is there anything else to do to make sure the custom domain is always 
accessed via SSL?

Thanks
Bill

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/fe7edbec-ecda-4e08-a0cc-50f1ef936387n%40googlegroups.com.


[google-appengine] App Engine legacy bundled services private preview

2021-06-07 Thread wesley chun
To Java 8, Python 2, and Go 1.11 (or earlier) App Engine users:

In order to help with modernizing your apps to newer language releases, the
App Engine team is broadening the participation in our private preview of
the legacy bundled services. Previously, users have had to migrate from
bundled services like App Engine Datastore, Memcache, Task Queues, etc., to
their standalone, unbundled equivalent, i.e., Cloud Datastore, Cloud
Memorystore, Cloud Tasks, etc., before upgrading to the second generation
App Engine Java 11, Python 3, PHP 7, and Go 1.12 (and newer) runtimes.

Now by accessing these private preview features, you can do the vice versa:
upgrade to the modern language runtimes, then migrate to the new standalone
services on your own time. The legacy services we are making available are
meant to aid you as a migration tool. Be aware that new features and
product innovations will only take place in the newer standalone services,
so we do recommend upgrading when possible. Here is what's currently
available in the private preview (with more on the way soon):

Feature

Java 11

Python 3

Go 1.12+

Datastore
✔ ✔ ✔

Memcache
✔ ✔ ✔

Blobstore
✔
✔

Task Queues
✔
✔

URLfetch
✔ ✔ ✔

Mail
✔

Users
✔
✔

Images
✔


If you would like to register for the private preview, please fill out this
registration form

. Registering will get you in the queue to access the private preview, its
documentation, and the announcements mailing list.
--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"A computer never does what you want... only what you tell it."
wesley chun :: @wescpy  :: Software
Architect & Engineer
Developer Advocate at Google Cloud by day; at night...
Python training & consulting : http://CyberwebConsulting.com
"Core Python" books : http://CorePython.com
Python blog: http://wescpy.blogspot.com

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CAB6eaA5b_ryFHPAvCTkSHy7BUaxRqe-RhN%2BvmB1RSX5SoJy-Gw%40mail.gmail.com.


[google-appengine] App Engine Flexible - Instances Timeout issue

2021-05-06 Thread 'Lior Pardo' via Google App Engine
Hi, we are working on laravel using App Engine Flexible scaling 
but our instances keep getting Timeout and we can't find the reason 
all are settings are default
Our app is tracking pixel that just fire on a website visit (like facebook 
pixel for example)
Please help 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/c676b83f-ecbd-43e4-9b0d-85684645db7en%40googlegroups.com.


[google-appengine] App engine network and internet provider issue

2021-05-03 Thread Mhmdsaad
Hello Geeks

Iam facing an issue in my server as after deploying thr backend on app 
engine and everything is working good but i monitered that the server is 
running and my backend and fronteend are running without anu obstacles on 
one internet provider called we adsl and not working in 4g netwrok like 
Vodafone egypt and this happen in reverse another times in thr same day and 
all this issues is occured in cairo while my developers works without any 
obstacles and everytjing is working probably outside cairo in another 
Egyptian cities 

I don't know what are missing and what are the issue could i facing and how 
to sopve this issue because its a critical issue

Thanks for support 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/14378df1-898b-4138-b110-c4404875c422n%40googlegroups.com.


[google-appengine] App Engine - Deployment Failing

2021-04-20 Thread Stephen Heron
 

Hello,

I am seeing a strange issue when I am attempting to deploy to App Engine. 
My deployments have been working for months now with no issues but in the 
last few days I am getting a strange error. I have redacted some 
information. 

My deployment command is pretty standard: 

`*gcloud --quiet app deploy app.yaml dispatch.yaml --project=XXX*`

And all looks good until the very end 





*Stopping version [].Sent request to stop version [XXX]. This operation 
may take some time to complete. If you would like to verify that it 
succeeded, run: $ gcloud app versions describe -s XXX until it shows that 
the version has stopped.Deployed service [XXX] to [XXX]Updating config 
[dispatch]failed.ERROR: (gcloud.app.deploy) Apps instance [XXX] is the 
subject of a conflict: Cannot operate on XXX because an operation is 
already in progress for  by 4143835e-704c-470a-965d-94087c37ab39. *

The GUID in the error message changes every time and it looks to be 
referring to the current deployment. If I run ‘gcloud app operations list’ 
and look for the GUID then I can see it in the list and it has a status of 
complete. 

It almost as if updating the dispatch config is failing due to the current 
deployment being in progress but this hasn't been an issue before.

This is all done through our CI system which hasn’t changed. We use the 
‘google/cloud-sdk:alpine’ Docker image to preform the deployment. 

At a bit of a loss if I am being honest. 

Any advice or a point in the right direction would be great.

Thanks,
Stephen 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/845af186-e52c-4668-8510-24da8f3986b0n%40googlegroups.com.


[google-appengine] App Engine - Enable Cloud Debugging for PHP

2021-04-12 Thread Bilal Haidar

Hi,
I followed the instructions on the page 
https://cloud.google.com/debugger/docs/setup/php?authuser=1

I am using App Engine Flex. At once the docs asks to do the following:


App Engine flexible environment pecl install stackdriver_debugger-alpha

If your php.ini file does not include extension=stackdriver_debugger.so 
after running this step, add it manually.


On App Engine Flex, how can I access the php.ini to include that extension?

I did the rest of steps, however, when running cloud_build on App Engine, I 
get error something like "install google/cloud or google/error-reporting 
packages". I already have Google/cloud installed.

Most probably, the extension is missing from php.ini and that's why it's 
not working.


I appreciate your help.

Thanks

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/560e3b35-ef85-4d64-a026-d571ca7b73bfn%40googlegroups.com.


[google-appengine] App Engine microservices + IAP + API Gateway

2021-02-26 Thread Dulce Hernandez Cruz
Hello,

I'm using API Gateway for different App Engine microservices, I'm following 
the tutorial here 
 but when 
I turn on the IAP for App Engine and I try to make a request through the 
Gateway, I get a redirection response. If I test this through the browser, 
I login with my google account and I see the response. But If I test this 
through Postman or curl, I don't get any results.

The documentation says that  *To grant access to your App Engine app, you 
will need to configure a service account 

 with 
the correct permissions for your API Gateway. *
I added the permission "IAP-secured Web App User" to the service account 
used for the gateway.

I thought that the API Gateway should handle the authentication part and I 
could access to the App Engine endpoint. 

What is the correct behavior of the IAP - API Gateway configuration?



-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/f2b8b6e7-8d84-4e06-8ecf-40116be5f6d1n%40googlegroups.com.


[google-appengine] App engine with GCS works locally but when deployed doesn't work

2021-02-04 Thread Rich Pilsbury
Hello all,

I've been struggling with this one for a little while now I've tried a few 
different options but none seem to work. I have this code which takes and 
image and then uploads it to a bucket which like I say works fine on my 
machine but when I deploy it, it doesn't work.

Storage storage = 
StorageOptions.newBuilder().setProjectId(projectId).build().getService(); 
private Bucket bucket = storage.get(bucketName); if(bucket == null) { 
bucket = storage.create(BucketInfo.of(bucketName)); } 
System.out.println("storage: "+storage); BlobInfo blobInfo = 
storage.create( BlobInfo .newBuilder(bucketName, fileName) .setAcl(new 
ArrayList<>(Arrays.asList(Acl.of(com.google.cloud.storage.Acl.User.ofAllUsers(),
 
com.google.cloud.storage.Acl.Role.READER .setContentType("image/jpeg") 
.build(), fileStream.getBytes()); //Don't get this print line :/ 
System.out.println("File: "+fileStream.getBytes()); String fileUrl = 
blobInfo.getMediaLink();

It appears as if I can't get access to the Storage for my instance. I have 
all the latest versions of gcloud and google-app-engine.

I am running it inside a Spring Boot application on Java 8 with Maven 

Here is my Pom.xml


http://maven.apache.org/POM/4.0.0; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd;>
4.0.0

org.springframework.boot
spring-boot-starter-parent
2.1.4.RELEASE
 

com.myapp
myapp
0.0.1-SNAPSHOT
war
My_app
 My_app  


1.8
Greenwich.SR1
1.8
1.8




org.springframework.boot
spring-boot-starter-data-rest


org.springframework.boot
spring-boot-starter-web


org.springframework.cloud
spring-cloud-gcp-starter







org.springframework.boot
spring-boot-starter-data-jpa



com.google.code.gson
gson



org.springframework.boot
spring-boot-starter-security



io.jsonwebtoken
jjwt
0.9.1



org.springframework.cloud
spring-cloud-gcp-starter-sql-mysql
   


org.springframework.boot
spring-boot-devtools
runtime




mysql
mysql-connector-java
runtime


org.springframework.boot
spring-boot-starter-test
test



javax.servlet
javax.servlet-api
3.1.0
provided



com.sendgrid
sendgrid-java



com.paypal.sdk
checkout-sdk
1.0.2


javax.xml.bind
jaxb-api
2.3.0


com.google.cloud
google-cloud-storage


com.google.firebase
firebase-admin
7.0.0


com.google.appengine
appengine-api-1.0-sdk
1.9.63







org.springframework.cloud
spring-cloud-dependencies
${spring-cloud.version}
pom
import







maven-compiler-plugin

1.8
1.8



org.springframework.boot
spring-boot-maven-plugin



com.google.cloud.tools
appengine-maven-plugin
2.4.0

GCLOUD_CONFIG
main







I don't get any errors just my server responds with a 500 but no details 
around that, so if anyone can give me any pointers that would be excellent, 
Thanks in advance

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/2346ac9a-8699-4e9d-bff9-60751c7dbbb6n%40googlegroups.com.


[google-appengine] App Engine and Python

2021-02-01 Thread Mélanie Fontaine
Hello everybody,

I'am a newbie and,  actually I can't found answer to my questions on the 
net.

I'm working on a project including API and Cloud. I need to do some test, 
to check some points.
I would like to know if I have an API ( script python) in the Cloud, can 
this API ask data an other API which is located in local in one of my 
laptop ? If it's possible to do that, can you show me a tutorial or explain 
me how to process ?
Data are mainly robot data like pose, angles etc

I can use Google Cloud Platform.

Thanks for futur help. 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/f0b7cbda-a303-4299-bc93-bff0b292d300n%40googlegroups.com.


[google-appengine] App Engine

2021-02-01 Thread Maurice Gauldin
I am currently installing my application from a thumnail drive for a free 
30 day trial version.
I would prefer  the customer download the app and to pay to my checking 
account.
I hope the "App Engine" is the appropriate Tool to accomplish this Task. 
 Can you HELP ME!

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/2cb328cd-1d7e-4892-b0d3-10671e4fb32fn%40googlegroups.com.


[google-appengine] App Engine for Server Side Tagging indexing

2021-01-20 Thread Azrayl
I've been building out a new server side tagging setup and trying to test 
it out, but I set it up with a custom domain (subdomain of my main domain). 
Unfortunately Google is indexing this custom domain and I don't want it too 
but none of the documentation I can find indicates how to do this cause 
it's not a 'real' app.

Anyone have any ideas?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/1d5947db-4a10-4dcd-82ae-e2a83dbd6056n%40googlegroups.com.


[google-appengine] App engine stdout logs missing from Logs Explorer

2020-11-30 Thread 'Patrick Rodjito' via Google App Engine


*The load generator is writing a large amount of test logs (~5000 every 
second) to stdout for testing purposes. Each log entry is about 2KB. We 
noticed that only about a third of the logs show up in Logs Explorer. This 
seems to be a function of log size, that is if the size of each test log 
entry is reduced, then a greater proportion of the logs show up as expected 
in Logs Explorer.Here are a few examples. All of these logs are generated 
at a rate of 5000 per second:About 0.3 KB per log entry. Almost all the 
expected logs show up in  Logs Explorer. Slight losses.About 3.4 KB per log 
entry. About 40,000 out of 50,000 showed up in Logs Explorer.About 12 KB 
per log entry. About 20,000 out of 50,000 showed up in Logs 
Explorer.Looking at the GAE logging documentation, there's no mention of 
sampling of any kind so I'm stumped as to why this is happening. To be 
clear, this is happening before logging sinks so this is definitely not 
caused by exclusion rules.Thank you!*

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/7cde6365-dbb0-49b4-917f-d5bd08b33c05n%40googlegroups.com.


[google-appengine] App Engine is not available again

2020-11-07 Thread hamed roknizadeh
Hi,

My backend API's on App Engine is not available.
Has anyone this problem as well?

Thanks
Hamed 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/67439327-2894-4fd2-a198-c0a8155c712an%40googlegroups.com.


Re: [google-appengine] App engine front controllers prevent cookies or headers from being created on PHP72 runtime

2020-10-18 Thread Carl Smith
Setting a cookie needs to happen before any content is output, so
cookiesetter.php needs to be included before the  tag.

Hope this helps

On Sun, 18 Oct 2020, 21:06 Chiefo Azubike De-Lord Zuwi, <
chiefoazub...@gmail.com> wrote:

> I created an issue for this problem with the link
> https://issuetracker.google.com/issues/166921075
> My cookies are not being created and google marked this as bug for 2
> months now no result. LET ME RECAP THE QUESTION HERE
>
> ISSUE BELOW:
> I am using php72 runtime on app engine. Now, after my website is up and
> running, I noticed that my cookies are not being created, after close
> inspection via gcloud logs read, I found out that header were already sent
> out, so I could not create or remove cookies from any page on my website
> only via front controller.
>
> After multiple tests, I added setcookie on my front controller and the
> cookie creates successfully, but that is not what I want, I want to be able
> to create cookies on whatever pages I desire.
>
> What I expected to happen:
>  I expected the cookies to be created when the page loads not front
> controller creating my cookies for me.
>
> Steps to reproduce:
>   - Write a PHP website maybe one page
>   - Host on google app engine php runtime 72 stated on app.yaml file
>   - Deploy via app.yaml file.
>   - Add setcookie code on website page.
>
> Other information: ASKED QUESTIONS on stackoverflow
>
> This are questions i asked on stack overflow
>
> https://stackoverflow.com/questions/63586479/cookie-not-storing-on-users-browser-php-7-google-app-engine-gae
> 
>  AND
>
> https://stackoverflow.com/questions/63616342/cannot-set-cookie-in-php-7-after-migrating-from-godaddy-to-google-app-engine-co
> 
>
>
>
> This is my code recreation.
>
> app.yaml file
>
>  runtime: php72
>  runtime_config:
>  document_root:
>
>  handlers:
>
> - url: /.*
>script: auto
>secure: always
>redirect_http_response_code: 301
>
> entrypoint:
>serve worker.php
>
>
> worker.php //THIS WORKER.PHP below is the only place that allows the
> creation of cookie for me, I do  not want to be able to create cookie here
> only. I want it on any page I wish to create it on.
>
>  ini_set('allow_url_fopen',1);
> [IF I INCLUDE cookiesetter.php here it works perfectly]
>  $path = @parse_url($_SERVER['REQUEST_URI'])['path'];
>  switch ($path){
>  case '/':
> require 'index.php';
> break;
>  case '/index':
> require 'index.php';
> break;
>  case '/index.php':
> require 'index.php';
> break;
>  case '/about':
> require 'about.php';
> break;
>  case '/about.php':
> require 'about.php';
> break;
>  case '/contact':
> require 'contact.php';
> break;
>  case '/contact.php':
> require 'contact.php';
> break;
> case '/privacy':
> require 'privacy.php';
> break;
> case '/privacy.php':
> require 'privacy.php';
> break;
> case '/product-listing/':
> require __DIR__.'/product-listing.php';
> break;
> case   (preg_match('/product-listing.*/', $path) ? true : false) :
> require __DIR__.'/product-listing.php';
> break;
> case '/404':
> require '404.php';
> break;
> case '/404.php':
> require '404.php';
> break;
> default:
> http_response_code(404);
> header("Location: https://www.sharyor.com/404
> 
> ");
> exit();
> }
> ?>
>
>
> code i use to setcookie on my site it is saved o cookiesetter.php file and
> included on every page.
>  if (isset($_COOKIE['sharyor_tra'])){
> } else {
> setcookie('sharyor_tra', $transactionid, time() + (3000 * 24 * 60
> * 60), "/");
> @$trackingcodecookie = $_COOKIE['sharyor_tra'];
> }
>  ?>
>
>
> index.php
> 
> 
> Home page
>   include "cookiesetter.php"; //refer to the code above where I
> said this code is used to create cookie referenced on cookiesetter.php
>  ?>
> 
>  
>  Home page
>  
>  
>
> about.php
> 
> 
> About page
>   include "cookiesetter.php"; 

[google-appengine] App engine connection to cloud storage

2020-10-08 Thread Punita Goel
In my Springboot based JAVA app, how can I specify the address of cloud 
storage to access it directly without using "Storage" GCP Java classes. 
With windows local app, I am using application.properties file to specify 
the same, and access it directly. 

If I try to replace the same "E:/folder1/folder2" with 
"gs://bucket1/folder1/folder2"
it gives me error: 
Constructor threw exception; nested exception is 
java.nio.file.FileSystemException: /workspace/gs:: Read-only file system. 
Meaning it is trying to find the path in the same workspace as where the 
jar/war file is placed.

Any help?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/0be4291b-0de4-47db-bee3-4449ff11c1fdn%40googlegroups.com.


[google-appengine] App Engine HTTP issues

2020-10-06 Thread Krisztián Guba
Hi All,
In the past hour we faced on standard java App Engine with numerous 
unexpected error as java.net.UnknownHostException, ServiceConfigException: 
java.net.UnknownHostException: servicemanagement.googleapis.com. On our 
side nothing has been changed. 
Moreover, when I tried to migrate the traffic to an older version the 
traffic migration failed in half way.

Who knows anything about this kind of outage?

Thanks in advance,
Krisztián Guba

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/49d8c2e5-6518-4822-8a2a-37552acd9b97n%40googlegroups.com.


[google-appengine] App Engine Code Viewer not working

2020-08-27 Thread Claudio Bertoldo
Hello,

Even having the Code Viewer role for my user:

[image: Captura de Tela 2020-08-27 às 12.05.52.png]

I'm not able to see it:

[image: Captura de Tela 2020-08-27 às 12.10.15.png]

Please, let me know if I'm missing anything.

Best!

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/1b060a9e-ae7d-4c36-ba4b-9c8c627b4a57n%40googlegroups.com.


[google-appengine] App Engine Flex python Cloud Build builder pip version 10.0.1 doesn't see and thus won't install tensorflow 2.1

2020-06-23 Thread Jason Brancazio
We need to import Tensorflow 2.1 into an App Engine Flask app to do some 
data wrangling prior to sending requests for inference to Cloud AI 
Platform. Unfortunately we get this error when trying to build:


Could not find a version that satisfies the requirement tensorflow==2.1.0 (from 
-r requirements.txt (line 16)) (from versions: 1.13.0rc1, 1.13.0rc2, 1.13.1, 
1.13.2, 1.14.0rc0, 1.14.0rc1, 1.14.0, 2.0.0a0, 2.0.0b0, 2.0.0b1)


The pip in App Engine Flex images was updated to v20 today, but I don't 
believe pip was updated in the Docker container used by Cloud Build to 
handle App Engine deployment.  I believe this is the path to that builder: 
gcr.io/cloud-builders/docker@sha256:461bb53c226048a2f5eabebe1d8b4367a02d3a484a8cc7455a21377702bbf4f6

I suspect the ultimate cause of the error is that Tensorflow stopped 
publishing manylinux1 wheels after the 2.0.0.b1 release. Regardless, App 
Engine / Cloud Build should use a recent version of pip when building 
images.





-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/5533fd9f-27b6-4466-b5b5-8cedbc4d1883o%40googlegroups.com.


[google-appengine] App Engine not mapping custom domains

2020-06-22 Thread Ayokunle Adesanya
I setup custom domains on app engine a few month ago and it works fine. 
However, checked again today and it doesnt work. Althought the normal 
default url supplied by app engine works, the custom domain does not work.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/e71dabff-d9a5-409f-a615-8e76952565e3o%40googlegroups.com.


[google-appengine] App Engine Flex Python deployments are failing since this morning

2020-06-10 Thread Shai Ben-Tovim
Hi,

GAE Flex Python (3.6) deploys using default container are failing.
See this Github issue 

And this SO post 


Yesterday deployments where fine.
Suggested solution in SO post - pin google-api-core==1.17.0 - is working. 
Probably new google-api-core broke something.

This is the 2nd occasion 
 in a 
few months where Python flex users have to work around google low-level api 
issues. 
This environment is not getting the TLC it should.



-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/51c78a90-0030-46e6-b411-37104d96821co%40googlegroups.com.


[google-appengine] App Engine Deployer role is missing permissions to carry out the --stop-previous-version

2020-06-04 Thread Alan Kayahan
Hello,

I have created an account dedicated to deploying a node application on our 
AppEngine. The account is assigned the "App Engine Deployer" role, and used 
by GitHub actions to deploy on git push. 
It deploys just fine, however the previous versions remain active and incur 
charges unnecessarily. To prevent this, I added the --stop-previous-version 
argument 
to gcloud deploy command. However I get the following warning.

Stopping version [/default/20200603t153013].
WARNING: Error stopping version [/default/20200603t153013]: 
PERMISSION_DENIED: The caller does not have permission
WARNING: Version [/default/20200603t153013] is still running and you 
must stop or delete it yourself in order to turn it off. (If you do not, 
you may be charged.)

The problem is resolved if I create a custom role, copying all the 
permissions from the default "App Engine Deployer", plus adding the 
"appengine.instances.delete" permission. So my questions are,
1) .delete is over-granting when the requirement is .stop which does not 
exist as a permission. Is there any plan on introducing finer grained 
permissions?
2) Any plans on updating the built-in "App Engine Deployer" role to support 
the --stop-previous-version argument? I read way too many incidents of 
being overcharged due to multiple versions running simultaneously (which is 
another discussion of its own on why this is the default instead of being 
an option), and the current state of the corresponding role is not exactly 
helping.

Best,
Alan 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/3a4e6037-635a-40db-9afe-7552648c0ca0%40googlegroups.com.


[google-appengine] App Engine Fail to Access the application after deployment

2020-05-13 Thread John Kevin Asprec
Hi guys,

please help I cant browse my application that successfully published to the 
app engine.
I publish from Gitlab using CI/CD : 

*Running after_script*
*Saving cache*
*Uploading artifacts for successful job*
* Uploading artifacts...*
* /builds/pmpc/emr-api-v2/bin/Release/netcoreapp2.1/publish/: found 8 
matching files *
* Uploading artifacts to coordinator... okid=549978820 
responseStatus=201 Created token=QtGu_MCg*
* Job succeeded *

this is the logs of my deployment and I know it successfully uploaded 
because it already executed successfully the EF migration in my Cloud SQL.

but when I try to open the application it only return
*pmc-emr-demo2.oa.r.appspot.com*’s server IP address could not be found.

how can you solve this?

Thanks

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/95fcec58-82f0-4c2d-b507-a4bcb9eb32cc%40googlegroups.com.


[google-appengine] App Engine Flexible Environment - Dockerfile installing outdated version of GDAL

2020-04-23 Thread j o


 am trying to use a Docker image on Google App Engine Flexible Environment.

FROM ubuntu:bionic


ENV PYTHONUNBUFFERED 1
ENV DEBIAN_FRONTEND noninteractive
ENV LANG C.UTF-8

RUN apt-get update -qq && apt-get install -y -qq \
# std libs
git less nano curl \
ca-certificates \
wget build-essential\
# python basic libs
python3.8 python3.8-dev python3.8-venv gettext \
# geodjango
gdal-bin binutils libproj-dev libgdal-dev \
# postgresql
libpq-dev postgresql-client && \
apt-get clean all && rm -rf /var/apt/lists/* && rm -rf /var/cache/apt/*

# install pip
RUN wget https://bootstrap.pypa.io/get-pip.py && python3.8 get-pip.py && rm 
get-pip.py
RUN pip3 install --no-cache-dir setuptools wheel -U

CMD ["/bin/bash"]




The docker image appears to build correctly but when the service deploys 
the application crashes and i get this error message:

 File 
"/Users/NAME/Documents/gcp/google-cloud-sdk/lib/googlecloudsdk/api_lib/app/operations_util.py",
 line 183, in IsDone encoding.MessageToPyValue(operation.error))) 
OperationError: Error Response: [9] 

Application startup error! Code: APP_CONTAINER_CRASHED ERROR: 
(gcloud.app.deploy) Error Response: [9] Application startup error! Code: 
APP_CONTAINER_CRASHED

This is failing as the Dockerfile is installing a significantly outdated 
version of the GDAL package which conflicts with the more current python 
installation.

How do I ensure that the dockerfile has the correct package repository and 
is installing the right, up to date, versions? Is there some line that I 
can insert to update the repository, or at least print the repository, 
before it starts installing?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/202a0ca3-7c09-4332-a728-edd54d4a2f77%40googlegroups.com.


[google-appengine] App Engine won't start instances in standard environment

2020-03-16 Thread Tamás Kovács
Hi All,

I have a simple Symfony PHP app deployed to appending in standard 
environment, but when I look at the website I get a 500 HTTP error. On the 
App Engine dashboard I see that there are no instances started for that 
version and in the logs I see these messages:

A 2020-03-15T12:16:47.001250Z nginx: configuration file 
/etc/nginx/nginx.conf test failed 
A 2020-03-15T12:16:46.999878Z nginx: [emerg] open() "/run/nginx.pid" failed 
(30: Read-only file system) 
A 2020-03-15T12:16:46.999429Z nginx: the configuration file 
/etc/nginx/nginx.conf syntax is ok 
A 2020-03-15T12:16:46.931140Z nginx: [warn] the "user" directive makes 
sense only if the master process runs with super-user privileges, ignored 
in /etc/nginx/nginx.conf:20 
A 2020-03-15T12:16:46.859958Z + /usr/sbin/nginx -t -c /etc/nginx/nginx.conf 
A 2020-03-15T12:16:46.857172Z Moving user supplied config files... 
A 2020-03-15T12:16:46.834045Z + /bin/bash 
/build-scripts/move-config-files.sh 
I 2020-03-15T12:16:46.360772Z GET 500 0 B 1.1 s Chrome 80 / GET 500 0 B 1.1 
s Chrome 80 
5e6e1cae00ff058144e2808c030001707e696e766573746d656e742d63616c63756c61746f722d303100016d6173746572000100

The funny thing is that this only occurs when I deploy my app through Cloud 
Build (using a Github trigger). When I deploy it by hand using the gcloud 
app deploy command it works fine. I also managed to get it running in flex 
environment.
Does anyone know what is going on here? What am I doing wrong?

Thank you!

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/b2297cf8-8e5e-4db1-9635-12066d28b12b%40googlegroups.com.


[google-appengine] APP Engine APP - ERROR 404

2020-02-11 Thread Денис Болковенко
Hello Guys!

I am really new here. Please help me with the deployment of the APP. I need 
to lunch the web app (php) which was perfectly working before (2 years ago) 
until the project was closed temporarily. The former team sent the code 
with app.yaml and I launched it based on the manual. When I test it with 
http://localhost:8080 it works great but when I try to reach out it from 
direct link with https it shows 404 error. I also checked log files but 
there is nothing new for me. Can you please advise?
Thanks!

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/946c7b52-4096-465d-9001-612aa212d248%40googlegroups.com.


[google-appengine] App Engine nginx request logs, does it include response time

2020-02-07 Thread 'Jyotsna Bhati' via Google App Engine
In GAE nginx request logs,jsonPayLoad have property 'latencySeconds'
 jsonPayload: {
  appLatencySeconds: "0.225"   
  latencySeconds: "0.226"   
  trace: "7a10c9ee95f1ccec75949404b1859439"   
 } 

I am struggling to find out whether the responceTime is subset of the 
latencySeconds. 
I know,latency and Response Time differs in what terms, but I read 
somewhere that the GAE calculate the latency, calculating turn around time 
when the request hit to load balancer app engine process and response sent 
from load balancer. 




-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/b5d3c291-43e5-4c38-86e9-2af9d3ffcb9c%40googlegroups.com.


[google-appengine] App Engine (Flexible) Slow Server Response

2020-01-20 Thread Syed Abdul Baqi
I am testing the App Engine Flexible environment for performance 
evaluation. The application which I am running only returns a string to 
HTTP request, but the server response time is very high for such small 
operation. Upon inspecting the developer tool in Chrome, I have noticed 
that TTFB is over 1.5 seconds as shown below. Not sure if I am missing 
something. Any thoughts? 

Application URL: https://price-comparison-265707.appspot.com/

[image: load.jpg]


YAML Configuration:
runtime: php
env: flex

runtime_config:
  document_root: .

automatic_scaling:
  min_num_instances: 1
  max_num_instances: 3
  cool_down_period_sec: 180
  cpu_utilization:
target_utilization: 0.6
resources:
  cpu: 1
  memory_gb: 2
  disk_size_gb: 10


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/da245de7-d642-490f-b03b-94dde8b85456%40googlegroups.com.


Re: [google-appengine] App Engine Admin Panel

2019-12-09 Thread Anita Jarman
Thank you Larry - totally appreciate it.

On Fri, Dec 6, 2019 at 1:52 PM Larry Schiefer 
wrote:

> Open https://console.cloud.google.com. Select your project. In the left
> nav, look for "IAM & admin" and click it. The default view should show you
> all users and server accounts which have access to the project. Near the
> top there is an "Add" button. Click it. Insert an email address for the new
> member and select the appropriate role.  You'll need to determine what the
> role means for that developer. If you are comfortable with them having the
> ability to modify anything in the cloud project (not just AppEngine), set
> them as an Editor.  If you want finer grain control (such as AppEngine
> only), you'll need to set the role appropriately.
>
> On Fri, Dec 6, 2019 at 7:16 AM Anita Jarman  wrote:
>
>> I am a complete novice and trying to get my mobile application completed
>> via an app developer.
>> The team I'm using is stating that the admin panel is not opening. How
>> can I get this accessible for my developer?
>>
>> --
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/google-appengine/03bb2b87-773f-4bad-9d8e-b33153ccf347%40googlegroups.com
>> 
>> .
>>
>
>
> --
> 
> Larry Schiefer
> M: 469-263-9388
> email: larry.schie...@hiqes.com
> http://www.hiqes.com
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/CAEOXmpLDzhMF5DCJtSvqG28HfxYMDnUtksdme4sdA0NZ4jDoVg%40mail.gmail.com
> 
> .
>


-- 
Anita Jarman
CEO/Founder
"A" Game Public Relations, LLC
(O) 202.640.9743
(F) 202.879.4801
agame...@gmail.com
"Strategically & Successfully Enhancing Your Brand"

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CAC7NwjtOSupsaa9cdno8387EJuvrWfXBoH83eTT%2BFGpEZUK%3D6Q%40mail.gmail.com.


Re: [google-appengine] App Engine Admin Panel

2019-12-06 Thread Larry Schiefer
Open https://console.cloud.google.com. Select your project. In the left
nav, look for "IAM & admin" and click it. The default view should show you
all users and server accounts which have access to the project. Near the
top there is an "Add" button. Click it. Insert an email address for the new
member and select the appropriate role.  You'll need to determine what the
role means for that developer. If you are comfortable with them having the
ability to modify anything in the cloud project (not just AppEngine), set
them as an Editor.  If you want finer grain control (such as AppEngine
only), you'll need to set the role appropriately.

On Fri, Dec 6, 2019 at 7:16 AM Anita Jarman  wrote:

> I am a complete novice and trying to get my mobile application completed
> via an app developer.
> The team I'm using is stating that the admin panel is not opening. How can
> I get this accessible for my developer?
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/03bb2b87-773f-4bad-9d8e-b33153ccf347%40googlegroups.com
> 
> .
>


-- 

Larry Schiefer
M: 469-263-9388
email: larry.schie...@hiqes.com
http://www.hiqes.com

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CAEOXmpLDzhMF5DCJtSvqG28HfxYMDnUtksdme4sdA0NZ4jDoVg%40mail.gmail.com.


[google-appengine] App Engine Admin Panel

2019-12-06 Thread Anita Jarman
I am a complete novice and trying to get my mobile application completed 
via an app developer. 
The team I'm using is stating that the admin panel is not opening. How can 
I get this accessible for my developer?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/03bb2b87-773f-4bad-9d8e-b33153ccf347%40googlegroups.com.


[google-appengine] App Engine, MySQL and private ip

2019-12-04 Thread Charlotte Hyldahl
Hi,

I have an PHP application that can only connect through TCP to mysql (no 
sockets). I host it on Google Cloud App Engine. I have created a Cloud SQL 
database too.

When i use the PHP application externally, it connects fine to the public 
ip of my Cloud SQL database. I have allowed my external ip in the 
connection panel of the Cloud SQL database. All is fine.

But now when i deploy the PHP app to app engine it fails, thats pretty 
obvious, as i use the public ip, and the new ip is not allowed in the Cloud 
SQL database.

My question is: How do i get an internal ip address that i can use to 
connect to my Cloud SQL database from my PHP app on App Engine?

Sorry but i really cant find a good answer for this pretty simple question.

Regards Charlotte

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/3a092ec2-2751-44bb-b92a-a5974d085346%40googlegroups.com.


[google-appengine] App Engine Standard Java 11 migration from 8

2019-11-19 Thread Han Ju Kim
Hi I'm trying to migrate existing app engine standard model (JDK8) to 
Java11 according to the guide at Google cloud 
https://cloud.google.com/appengine/docs/standard/java11/java-differences

There is no issue on compile, but we I try to run on local development 
server it generates this error. I'm using maven and tried "maven package 
appengine:run".
Please find my error as below

Any guide and information will be appreciated.



Nov 20, 2019 3:53:17 PM 
com.google.cloud.tools.appengine.operations.DevAppServerRunner run
INFO: submitting command: C:\Program 
Files\Java\openjdk-11.0.5-1\bin\java.exe -Xms2048m -Xmx8092m 
-Duse_jetty9_runtime=true -D--enable_all_permissions=true 
-Dappengine.sdk.root=C:\Users\hkim\AppData\Local\google\ct4j-cloud-sdk\LATEST\google-cloud-sdk\platform\google_appengine\google\appengine\tools\java
 
-cp 
C:\Users\hkim\AppData\Local\google\ct4j-cloud-sdk\LATEST\google-cloud-sdk\platform\google_appengine\google\appengine\tools\java\lib\appengine-tools-api.jar
 
com.google.appengine.tools.development.DevAppServerMain --application=mywms 
--allow_remote_shutdown --disable_update_check --no_java_agent 
D:\\Iridium\target\iridium-1.0.0
[INFO] GCLOUD: WARNING: An illegal reflective access operation has occurred
[INFO] GCLOUD: WARNING: Illegal reflective access by 
com.google.appengine.tools.development.StreamHandlerFactory 
(file:/C:/Users/hkim/AppData/Local/google/ct4j-cloud-sdk/LATEST/google-cloud-sdk/platform/google_appengine/google/appengine/tools/java/lib/impl/appengine-local-runtime.jar)
 
to method java.net.URL.getURLStreamHandler(java.lang.String)
[INFO] GCLOUD: WARNING: Please consider reporting this to the maintainers 
of com.google.appengine.tools.development.StreamHandlerFactory
[INFO] GCLOUD: WARNING: Use --illegal-access=warn to enable warnings of 
further illegal reflective access operations
[INFO] GCLOUD: WARNING: All illegal access operations will be denied in a 
future release
[INFO] GCLOUD: com.google.apphosting.utils.config.AppEngineConfigException: 
Invalid configuration
[INFO] GCLOUD:  at 
com.google.appengine.tools.development.DevAppServerImpl.reportDeferredConfigurationException(DevAppServerImpl.java:432)
[INFO] GCLOUD:  at 
com.google.appengine.tools.development.DevAppServerImpl.doStart(DevAppServerImpl.java:233)
[INFO] GCLOUD:  at 
com.google.appengine.tools.development.DevAppServerImpl.access$000(DevAppServerImpl.java:44)
[INFO] GCLOUD:  at 
com.google.appengine.tools.development.DevAppServerImpl$1.run(DevAppServerImpl.java:220)
[INFO] GCLOUD:  at 
com.google.appengine.tools.development.DevAppServerImpl$1.run(DevAppServerImpl.java:218)
[INFO] GCLOUD:  at 
java.base/java.security.AccessController.doPrivileged(Native Method)
[INFO] GCLOUD:  at 
com.google.appengine.tools.development.DevAppServerImpl.start(DevAppServerImpl.java:218)
[INFO] GCLOUD:  at 
com.google.appengine.tools.development.DevAppServerMain$StartAction.apply(DevAppServerMain.java:404)
[INFO] GCLOUD:  at 
com.google.appengine.tools.util.Parser$ParseResult.applyArgs(Parser.java:45)
[INFO] GCLOUD:  at 
com.google.appengine.tools.development.DevAppServerMain.run(DevAppServerMain.java:257)
[INFO] GCLOUD:  at 
com.google.appengine.tools.development.DevAppServerMain.main(DevAppServerMain.java:248)
[INFO] GCLOUD: Caused by: 
com.google.apphosting.utils.config.AppEngineConfigException: Line 2, column 
4: Unable to find property 'env' on class: 
com.google.apphosting.utils.config.AppYaml
[INFO] GCLOUD:  at 
com.google.apphosting.utils.config.AppYaml.parse(AppYaml.java:1491)
[INFO] GCLOUD:  at 
com.google.apphosting.utils.config.AppYamlProcessor.convert(AppYamlProcessor.java:42)
[INFO] GCLOUD:  at 
com.google.apphosting.utils.config.EarHelper.readWebModule(EarHelper.java:171)
[INFO] GCLOUD:  at 
com.google.appengine.tools.development.ApplicationConfigurationManager$WarModuleConfigurationHandle.readConfiguration(ApplicationConfigurationManager.java:416)
[INFO] GCLOUD:  at 
com.google.appengine.tools.development.ApplicationConfigurationManager.(ApplicationConfigurationManager.java:157)
[INFO] GCLOUD:  at 
com.google.appengine.tools.development.ApplicationConfigurationManager.newWarConfigurationManager(ApplicationConfigurationManager.java:99)
[INFO] GCLOUD:  at 
com.google.appengine.tools.development.ApplicationConfigurationManager.newWarConfigurationManager(ApplicationConfigurationManager.java:85)
[INFO] GCLOUD:  at 
com.google.appengine.tools.development.DevAppServerImpl.(DevAppServerImpl.java:143)
[INFO] GCLOUD:  at 
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native
 
Method)
[INFO] GCLOUD:  at 
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
[INFO] GCLOUD:  at 
java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[INFO] GCLOUD:  at 
java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
[INFO] GCLOUD:  at 

[google-appengine] App Engine Flex auto-scaling help

2019-09-10 Thread Nigel Grange
Hi,
I'm trying to understand how the metrics on the App Engine dashboard relate 
to the autoscaling properties set in the app.yaml.

The latest deployed version has the following properties:

automatic_scaling:
  cool_down_period: 120s
  min_num_instances: 1
  max_num_instances: 3
  cpu_utilization:
target_utilization: 0.6
network: {}
resources:
  cpu: 1
  memory_gb: 4
  disk_size_gb: 10

However, in the dashboard, I'm seeing a sustained 4 instances, peaking at 
around 7 - graph is attached.

My question is - should I be expecting the dashboard to be showing a 
maximum of 3 instances (I'd expect so), and if not, how do I get the 
autoscaling to work as expected?

Many Thanks!

[image: Screenshot 2019-09-10 at 4.33.46 pm.png]

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/42db65f5-87e8-4c85-905b-05fd0498891b%40googlegroups.com.


[google-appengine] App engine Go runtime 1.12 and memcache support

2019-09-09 Thread Sahil Thaker

I'm having trouble using the memcache api in Go under runtime go112
After using the appengine context for memcache api's Get or Set I'm 
getting:  *service bridge HTTP failed: Post 
http://appengine.googleapis.internal:10001/rpc_http 
:
 
dial tcp 169.254.169.253:10001: i/o timeout*


This works fine when downgraded to go111, however I'd rather make it work for 
runtime 1.12 and onward.


Does anyone know how to make memcache work with go112 in app engine?


Thanks

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/dad58212-ebac-4379-8ff7-459978715915%40googlegroups.com.


[google-appengine] App Engine and Functions in the same project, does Tracing service both?

2019-09-06 Thread Mark Kubacki
Hello!

Using App Engine (Go) I've recently deployed an cloud Function in NodeJS 
10.4.1. Both within the same project.

Can anyone confirm that the web console, "Tracing→Overview" and similar, 
shows traces for App Engine *and* Functions?

Traces for Functions won't show up for me (indeed, the web console gained a 
field "Service (App Engine)" which doesn't apply to Functions with no way 
around it), neither is anything about this in the logs.
  I'd like to rule out having made a mistake somewhere. I've already 
checked that the Function's service account has "role/cloudprofiler.agent" 
and tracing is enabled for the project.
  I'm using wrapper "runInRootSpan" as workaround from the issue 
tracker. Anyway, here's the full minimal example:

const traceApi = require('@google-cloud/trace-agent').start({
  bufferSize: 1,
});

exports.serve = async (req, res) => {
  return traceApi.runInRootSpan({name: 'serve'}, async (span) => {
return await exampleFunc(span, req, res);
  });
}

-- 
Thanks!

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/3c392a2d-b7db-4948-8559-500b98c08320%40googlegroups.com.


[google-appengine] App Engine Console shows deprecation warning about Go upgrade, but why?

2019-09-01 Thread Kousuke Ebihara
My app uses the first generation runtime of App Engine but a console of the 
app shows the following errors.

> A version of your app is using a deprecated version of Go. Please upgrade 
before October 1, 2019

I was shocked. Why?

It means that we require to upgrade the first generation runtime to the 
second generation runtime, but 
https://cloud.google.com/appengine/docs/standard/runtimes says:

> App Engine first generation runtime support
> 
> There are no plans to deprecate the App Engine first generation runtimes 
at this time. The second generation runtimes represent the future direction 
of App Engine; however, developers and customers using the first generation 
runtimes will continue to receive support and feature updates.

**There are no plans to deprecate the App Engine first generation runtimes 
at this time***!! I believe this sentence and use the first generation 
because the second generation doesn't provides some features which we need.

Isn't this warning wrong? Is it is really?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/773c58f9-94c2-4583-8f51-167f71a61ec8%40googlegroups.com.


[google-appengine] App engine not spliting traffic

2019-08-19 Thread antonis sartzetakis
changed from appcfg to gc cloud :

Beginning deployment of service [default]...
##
#= Uploading 3 files to Google Cloud Storage=#
##
File upload done.
Updating service [default]...done.
Setting traffic split for service [default]...failed.
ERROR: (gcloud.app.deploy) Error Response: [14] Delays were encountered 
while waiting for traffic split/default version changes to apply.  The 
requested changes will eventually apply, but may take some time.

when trying to app services set-traffic --splits v1=1  :

ERROR: (gcloud.app.services.set-traffic) Issue setting traffic on 
service(s): default

INVALID_ARGUMENT: Invalid request.
- '@type': type.googleapis.com/google.rpc.BadRequest
  fieldViolations:
  - description: Version does not exist in service (module) "default".
field: service.split.allocations[v1]

Thangs





 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/13ec85e2-259c-4a28-b9c3-c9cfff83a1bb%40googlegroups.com.


[google-appengine] App engine not spliting traffic to new version

2019-08-12 Thread Rahul Goti
I have deployed one service on App Engine Flex with manual scaling 
configuration. If I deploy a new version with below command then it 
expected to stop the previous version and split all traffic to the newer 
version. But It can't do that and all traffic still serving by existing 
version only.

*gcloud app deploy src/main/appengine/app.yaml --image-url 
gcr.io/$PROJECT_ID/my-services-xxx:187 --promote --stop-previous-version 
--version=187*

app.yaml file (to verify it is manual scaling service) : 

runtime: java
env: flex

service: my-service-xxx

runtime_config:  # Optional
  jdk: openjdk8

handlers:
- url: /.*
  script: this field is required, but ignored

manual_scaling:
  instances: 1

resources:
  cpu: 1
  memory_gb: 2
  disk_size_gb: 10

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/bd304061-3864-4adf-8ae1-a2e27dd6507e%40googlegroups.com.


[google-appengine] App Engine Deployment Demo

2019-07-22 Thread Yuvaraj Mani
Hi,

I would like to perform an app engine deployment in the lab for learning 
purposes. please let me know, where we can download the packages or code.

Thanks,
Yuvaraj.M

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/cbaca4ce-c105-488f-938d-c95b45939610%40googlegroups.com.


[google-appengine] App Engine no longer delivering Sendgrid emails

2019-07-12 Thread Anthony Viola


Hi all, I am using Google's App Engine and 6.4 of the Sendgrid-Node SDK. I 
submitted a ticket to Sendgrid and they were able to confirm that 
everything looks ok on their end.

Whenever I go to send an email on App Engine via the email.send API, I get 
a SUCCESS, but the email is never delivered. Locally, the email sends. No 
errors in my app logs, or on App Engine. This was working a couple of weeks 
ago, we didn't change anything.

Any information would be greatly appreciated.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/02da31d7-4303-4f86-84f2-25e4952dc175%40googlegroups.com.


[google-appengine] App Engine - random infinite requests

2019-07-04 Thread Lukáš Caldr

Hi all,

Our website running on App Engine has since yesterday a quite strange 
problem with "random request infinite loading".

Project is simple implementation of NextJS with little custom webserver. 
This website is running few months in production and there was no problem 
till yesterday. Now when I open website, few fetching requests of css, 
images, etc are stuck in state of "pending".

We have same issue on older versions in our AE directory - but all these 
older versions were running in production few days later without problems. 
So I can say that there is nothing wrong with our code.

It looks like there is some issue with loadbalancing these requests between 
instances, because when is just one instance it seems ok. I've try to 
redeploy few times, create new project and deploy our app - there is still 
same behaviour.

See attached video showing how it looks like in browser inspect - 
https://drive.google.com/file/d/15Hj0huKN4d7r7cVixJCSKEfStsz0VP5o/view?usp=sharing.

Do you have idea how to fix it, or how can I contact GC support about this 
issue?

Thank you very much,
Lukas

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/11b6e704-12b0-4032-acdc-e02559a33bc8%40googlegroups.com.


[google-appengine] App engine network connectivity to BigQuery and Compute Engine failing

2019-06-12 Thread Dikesh Jariwala
Hi,

We are running a service on App engine in Node.js Standard Environment.
It receives HTTP POST requests from website, parses POST body, caches the 
unique ID from it to redis server on Compute Engine and sends parsed body 
to BigQuery.
Requests are around 2M per day.

But we are constantly facing the network related issues and all the hits in 
BigQuery.

Following is the redis error from redis NPM package.
{
"errno":"ETIMEDOUT","code":"ETIMEDOUT","syscall":"connect","address":"xx.xx.xx.xx","port":6379
}

And from Bigquery package following is the error.
{
message: "network timeout at: 
https://www.googleapis.com/bigquery/v2/projects/xxx-xxx-xxx/datasets/ga_realtime_hits/tables/hit_logs/insertAll;
  
type: "request-timeout"  
}

And this is not happening just once or twice. It has keeps happening for 
hours for all the HTTP requests.
While writing this post I have already missed 8 hours of hits.

Can anyone help with this?


-- 
**

*Case Study: **How Tajawal Boosted their Conversion Rate by 30% through 
A/B Testing with Google Optimize 360 
*




_
_
_Thank you for reading this far. This email may be *confidential* or 
*privileged*. If you received this communication by mistake, please don't 
forward it to anyone else. Please erase all copies and attachments, and let 
me know that it went to the wrong person._

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/bb085932-f45f-4654-be74-f660c42b80b7%40googlegroups.com.


[google-appengine] App Engine Logging has a lot to be desired

2019-05-10 Thread Govind Rai
Logging is essential for any application. Stackdriver should at the very 
least match the basic functionality of AWS Cloudwatch logging.

At the bare minimum can we have:
1) Have all logs related to a request be categorized under a single request
2) Have all logs related to a request reference a unique request id so all 
logs pertaining to a single request become easily searchable
3) Show a start/stop auto generated log which shows the request that came 
in, and how long it took to fulfill the request/how much resources it used

Currently, logs from separate containers are jumbled up with one another 
and makes looking at the logs a nightmare. Plus there is no way to easily 
get all the logs from a certain request.

Maybe you guys are working on this already? If so could we get an update of 
what Logging is to look like in the near future?

Please, and thank you.

-- 
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/7a8040c5-bc9b-4636-b954-ccf142c1e8c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] App Engine Flex and SQL Cloud

2019-05-09 Thread Servidor KingVision


I am trying to make connection 
between the application in PHP PDO and the database in SQL Cloud (MySQL), 
someone has experience in it? because it will not let me and the instructions 
are for Python or Java

-- 
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/3db90183-ca0b-4aab-8e8f-9a034fb73828%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] App Engine old instances still running

2019-04-25 Thread Lukáš Caldr

Hi all!

We've build few services on Google App Engine, we've ship them into 
production and everything worked as expected. But now I have little issue 
with one of my integration service which runs on flexible environment.

I've deployed serveral times new version and maybe some of deploys wasn't 
successfully finshed or something like that. Now I see in Stack Driver 
logging some error logs from running instances of some old version (by 
version id in "resource" property). It made me few problems with with some 
version "missmatch" in integration tasks. I don't see this old versions in 
GC CLI SDK or in web dashboard. I've tried to delete whole service and 
redeploy it, but after first deploy, there are still new log entries in 
Stack Driver. I've changed DB credentials to prevent older versions to make 
mess in DB ¯_(ツ)_/¯. Production environment now runs OK, but there are 
still some old services spamming logging with errors about DB auth. I cant 
find this old versioned instances anywhere except this new log entries.

Is it normal behaviour? Do you have some tips?
Thank you in advance :)

-- 
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/0dac9a94-c2e3-4c20-a780-8e3dbb3eab4d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] App Engine APIs recommended replacement for python 3

2019-04-22 Thread Santiago Del Valle
I was browsing the documentation about python 3 and python 2 standard 
environment differences, because we are migrating an app that uses python 2 
and communicates with other services on python 2.

https://cloud.google.com/appengine/docs/standard/python3/python-differences

The documentation does not list any recommended replacements.
What would be the recommended course of action to communicate a python 3 
app with a python 2 service on a standard environment.

We use create the service client like this:







*service_client = googleapiclient.discovery.build(api, 
version,discoveryServiceUrl=discovery_url,
http=credentials,cache_discovery=False)   * Is there 
any recommended replacment, I`m lost because the documentation says nothing 
and I need kind of a starting point.


-- 
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/ca8016ff-c565-45d6-9ee3-05451b16841a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] App Engine Std Python 3 migration

2019-03-25 Thread 'Caxton Chan' via Google App Engine
Hey App engine std users, do you have plan regarding App Engine Std Python 
3 migration? It there any resource on g3doc? Thanks.

-- 
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/63fdc044-6846-4fba-9a7c-6f08b8cbf430%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] App Engine Standard Environment for Go requires billing?

2019-02-19 Thread Agustinus Aryo
Hello,

I want to create a App Engine in Standard Environment using Go, but why 
this requires to enable the billing now.
I created several projects in the past using the same setup, and it was 
doing just fine.

Just need a clarification, is this true that App Engine Standard 
Environment for Go requires billing?
Because if I select another language like Node.js, PHP, Python, Java, Ruby, 
and .Net, the create billing account popup didn't show up.

Thanks,
Aryo

-- 
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/c3195436-fc50-467f-8a23-16af58896f7d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] App Engine PHP 7.3

2019-01-07 Thread James Castillo
Does anyone know when Google might add a PHP 7.3 enviornment to App Engine?

-- 
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/483df520-4bfb-4920-8114-933548aa3ebb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] APP Engine--Running the example of 'Export to Drive' has errors

2018-12-25 Thread zi yang
I want to deploy the APP Engine apps with Earth Engine, and I made all 
contents following the steps of  web 

(https://developers.google.com/earth-engine/app_engine_intro#deploying-app-engine-apps-with-earth-engine).
The 'oauth2client.client.SignedJwtAssertionCredentials' function in the 
example "Export to Drive"  has been removed, and I replace it by 
'oauth2client.service_account.ServiceAccountCredentials.from_json_keyfile_name'.
 
I only want to upload my task to my project, and export it to my drive, so 
I delete needless code. 

The main code of my server.py as follow:

 EE_CREDENTIALS = ee.ServiceAccountCredentials(
  config.EE_ACCOUNT, config.EE_PRIVATE_KEY_FILE)

 try:
  ee.Initialize(EE_CREDENTIALS)
  print('The Earth Engine package initialized 
successfully!')
 except ee.EEException as e:
  print('The Earth Engine package failed to 
initialize!')
 except:
  print("Unexpected error:", sys.exc_info()[0])
 raise
 
 JINJA2_ENVIRONMENT = jinja2.Environment(
  
loader=jinja2.FileSystemLoader(os.path.dirname(__file__)),
 autoescape=True,
 extensions=['jinja2.ext.autoescape'])

  OAUTH_SCOPE = 'https://www.googleapis.com/auth/drive'

  # The app's service account credentials (for Google Drive).
 APP_CREDENTIALS = 
oauth2client.service_account.ServiceAccountCredentials.from_json_keyfile_name(
 config.EE_PRIVATE_KEY_FILE,
 OAUTH_SCOPE)

 APP_DRIVE_HELPER = drive.DriveHelper(APP_CREDENTIALS)

# The decorator to trigger the user's Drive permissions request 
flow.
OAUTH_DECORATOR = oauth2client.contrib.appengine.OAuth2Decorator(
 client_id=config.OAUTH_CLIENT_ID,
 client_secret=config.OAUTH_CLIENT_SECRET,
 scope=OAUTH_SCOPE)

 client_id='104509043647545372991'

 class MainPage(webapp2.RequestHandler):
def get(self): 
  template = 
JINJA2_ENVIRONMENT.get_template('index_test.html')
  self.response.out.write(template.render({
 'channelToken': 
channel.create_channel(client_id),
 'clientId': client_id,
  }))
self.post()
def post(self):
  def NDVI(image):
task = ee.batch.Export.image.toDrive(
  image=ndvi_collection.max(),
 description='NDVI', 

 region=region.getInfo()["coordinates"], 
 scale=30, 
 crs="EPSG:4326")
 task.start()
  print(task.id)   
  
  temp_file_prefix = _GetUniqueString()
  email = ''
  filename = 'test'
  user_id = '718511...@qq.com'

  while task.active():
 logging.info('Polling for task (id: 
%s).', task.id)
 time.sleep(TASK_POLL_FREQUENCY)

  def _SendMessage(message):
 logging.info('Sent to client: ' + 
json.dumps(message))
 _SendMessageToClient(client_id, 
filename, message)

  # Make a copy (or copies) in the user's Drive if 
the task succeeded.
  state = task.status()['state']
  if state == ee.batch.Task.State.COMPLETED:
logging.info('Task succeeded (id: 
%s).', task.id)
try:
   link = 
_GiveFilesToUser(temp_file_prefix, email, user_id, filename)
   # Notify the user's browser that 
the export is complete.
   _SendMessage({'link': link})
except Exception as e:  # pylint: 
disable=broad-except
   _SendMessage({'error': 'Failed 
to give file to user: ' + str(e)})
  else:
_SendMessage({'error': 'Task failed 
(id: %s).' % task.id})

app = webapp2.WSGIApplication([
 ('/', MainPage),
 (OAUTH_DECORATOR.callback_path, 
OAUTH_DECORATOR.callback_handler()),
], debug=True)

The other code is same as the 

[google-appengine] App Engine Basic Scaling

2018-11-28 Thread Andrew Hoy
Hi all,

I have a query regarding max_instances when using basic scaling in the App 
Engine Standard environment (Node.js). Im my app.yaml file, I set 
max_instances to 1. This appears in the config section under App Engine > 
Versions in this UI:

runtime: nodejs8
env: standard
instance_class: B4_1G
handlers:
  - url: '.*'
script: auto
basic_scaling:
  idle_timeout: 600s
  max_instances: 1
network: {}

All of the above looks correct. However, when I add the 'Max Instances' 
column, the value is set to 'auto' (see attachment). Can someone please let 
me know what I'm doing wrong here? Why is the UI showing 'auto' even though 
the config section shows max_instances set to 1?


Thanks,

Andy

-- 
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/b64f825a-9a2f-4a21-b935-c2bfedc3a217%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] App Engine Flexible DNS client settings

2018-10-30 Thread Mark Drummond
Is it possible to change the DNS client settings for an App Engine Flexible 
deployed (Python/Django in this case) app? I'd like the app in question to 
reference our internal DNS servers, available to the app over a Cloud VPN 
connection.

-- 
The content of this message is subject to our e-mail confidentiality 
policy.  
Le contenu de 
ce message est assujetti à notre politique en matière de confidentialité 
des courriels. 

-- 
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/3016e9b9-6466-48bd-97a4-7066d80e6b33%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] App Engine - Cloud SQL Delay

2018-10-17 Thread Carl Smith
Over the past couple of weeks we have had increase page load times on our 
website and while running certain pages on our AppEngine setup.

The problem comes when doing anything with the Cloud SQL Database from 
AppEngine.

We have narrowed down the problem by running the following test

Run the same PHP page on both Compute Engine (via Cloud SQL Proxy) and 
AppEngine

Result (Compute Engine)
 1539768438.6956 :: Starting...
 1539768438.6960 :: Set order -xx-xx-xxx as printed
 153976843*8.69*60 :: - Updating cbd 
 153976843*8.71*48 :: - Updating printing_flag
 1539768438.7165 :: - Done
Speed: 0.02 Seconds

Result (AppEngine)
 1539768392.9724 :: Starting...
 1539768392.9725 :: Set order -xx-xx-xxx as printed
 153976839*2.97*26 :: - Updating cbd
 153976839*3.15*58 :: - Updating printing_flag
 1539768393.2043 :: - Done
Speed: 0.18 Seconds

The "Updating printing_flag" section is attempting to delete an entry that 
does not exist, in a table that has less than 200 rows in it, and this on 
AppEngine is still taking a lot of time compared to Compute Engine.

PHP Page:
addLog('Starting');

//Loop
 addLog('Set order ' . $o->basket_id . ' as printed');

 // Do the setting of this basket when we want it to be saved
 addLog('- Updating cbd');
 db_q("UPDATE cust_basket_detail SET basket_printed = '".date('Y-m-d 
H:i:s')."' WHERE basket_id = '".addslashes($o->basket_id)."' LIMIT 1"); // 
[130,000 Rows]

 addLog('- Updating printing_flag');
 db_q("DELETE FROM printing_flag WHERE basket_id = '" . 
addslashes($o->basket_id) . "' LIMIT 1"); // [200 Rows]


addLog('- Done');

These timings used to be identical until a couple of weeks ago.

There is no load on the AppEngine instance as this is a new version freshly 
built, and the page loaded a few times with the same result.


-- 
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/9282eaca-09e8-44de-af0d-47850d5b8aec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] App engine flexible ignore context path in Spring boot application

2018-10-12 Thread Ky Nguyen
Hi everyone.

I have a spring boot application deploy on GAE flex env.
But I facing issue that my application context not load after deploy on GAE 
flex.
In my app, I already set context path in application.properties look like :

server.context-path=/myapp


and it work fine on my local tomcat and jetty embedded server, I just 
access following address myhost:8080/myapp
But when run on GAE flex the context path is ignored, so I just access with 
GAE domain with context '/'.

Because I'm using dispatch to config routing micro service on GAE, so I 
need to define specify context path for each service.

Can anybody help me in this case?
Thanks so much.

-- 
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/d817189b-b1a4-4bc8-93d4-7f0c4bd994ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] App engine free quota

2018-10-11 Thread Aditya Prakash
Hi,

https://cloud.google.com/free/ says that we get 28 instance hours per day 
for standard environment, however pricing page of app engine doesn't of any 
free quota of compute resource 
(hr/day) https://cloud.google.com/appengine/pricing. Pricing calculator 
says 0.00 USD for 1.1 instance per 
hour 
https://cloud.google.com/products/calculator/#id=db16ca73-2faa-4822-8215-5ef9c33b2ada
 
I guess pricing page trumps all?

-- 
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/f5c57f50-bdb4-479c-947d-e4b58963f85f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] App Engine Enable managed security not working

2018-10-01 Thread John Janzen
I am trying to enable managed security for an app I've had running for 
years. I've also had a custom domain mapped to it for years.

Selecting the domain does not allow me to *Enable Managed security*. 
Mousing over the button informs me that I must be a domain owner to enable 
security.

I believe I've already confirmed ownership (again years ago), see 
attachment.

Is there something I'm missing?


 

-- 
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/a0e17031-e60b-4f3f-bc03-29a8fa6e357f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] App engine standard java8 - how to add health check for instances?

2018-09-27 Thread Roman Mašek


Is it possible to implement a custom health-check for instances in App 
Engine Standard? I tried to configure liveness-check and readiness-check, 
but these seem to be supported only in flex environment.

The reason I would like to do this is that recently we ran into following 
issue several times: because of a bug, one of the instances stopped 
responding successfully to requests, always returning HTTP status 500. This 
instance has been then kept alive and accessible for hours, leading to 
intermittent failures for our customers.

-- 
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/05894c88-d61f-4930-8da9-8cc13a09900e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] App Engine Update Code Error

2018-09-21 Thread Dhruv Mittal
While updating the code on APP Engine it is giving an error code [13] : An 
Internal Error Occured. We have tried all the combinations of solutions 
available anywhere, Can anyone help??

-- 
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/d1b474cd-d946-4462-8347-42434755fc18%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] App engine standard java8 - health check for instances?

2018-09-12 Thread Roman Mašek
Hi,

Is it possible to implement a custom health-check for standard engine 
instances? I tried to configure liveness-check and readiness-check, but 
these seem to be supported only in flex environment.

The reason I would like to do that is that recently we ran into following 
issue several times: one of the instances stopped responding successfully 
to requests, always returning HTTP status 500. This instance is then being 
kept alive and accessible for hours, leading to intermittent failures for 
our customers. Our workaround for this is to delete the problematic 
instance (and fix the problematic code eventually). 

-- 
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/c35254e2-f17a-4ff1-a6b5-92efb85d6828%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] App engine with fastly(CDN)

2018-09-04 Thread Nikitha Kamath
Hi,

An app engine(standard environment) instance is running and mapped to 
custom domain with google managed certificates. Is there any reference 
materials to integrate fastly(CDN) for app engine?

Thank you. 

-- 
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/9232cc0f-3c69-4c15-bb24-52dd073cc026%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] App Engine Down

2018-09-03 Thread Mentionlytics Web & Social Media Monitoring
Hi,
our web app on Google Appengine is down for the past few hours 
( https://app.mentionlytics.com/ ). We do not know what happens as we have 
not uploaded any new versions since July. 

We also noticed that our wordpress marketing website ( 
www.mentionlytics.com ), also on Google Cloud is down as well. I can also 
confirm through Google Analytics that is a global issue, not related to my 
connection or anything.

Google Cloud status does not seem to indicate there are any problems at the 
time. 

Is anyone experiencing this as well? Can you help??

Thanks
Manos

-- 
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/0c656009-16ce-4407-929d-63384b6934c1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] App Engine Deployment Error

2018-08-23 Thread Golden Andro
Hi Everyone,

Good day.
I encountered an issue during app engine deployment, as follows:

> gradle :api:appengineDeploy --stacktrace --info

The error was: 

[log]
...
:api:appengineDeploy (Thread[Task worker for ':' Thread 2,5,main]) 
completed. Took 0.005 secs.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':api:appengineDeploy'.
> Cloud SDK versions before 145.0.0 are not supported

[/log]

I checked the gcloud version:

> gcloud version
Google Cloud SDK 201.0.0
alpha 2018.05.11
app-engine-go 
app-engine-java 1.9.63
app-engine-python 1.9.67
beta 2018.05.11
bigtable 
bq 2.0.33
cbt 
cloud-datastore-emulator 1.4.1
core 2018.05.11
datalab 20180213
gsutil 4.31
pubsub-emulator 2018.03.23

I did try to update gcloud but I got this error:

> gcloud components update
[log]
ERROR: (gcloud.components.update) You cannot perform this action because 
this Cloud SDK installation is managed by an external package manager.
[/log]

The api build.gradle file contains:
[code]

  dependencies {
classpath 'com.google.cloud.tools:appengine-gradle-plugin:1.3.3'
classpath 
'com.google.cloud.tools:endpoints-framework-gradle-plugin:1.0.0'
  }

[/code]

Has anyone encountered this issue? Thanks.

Regards,


-- 
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/ed07b83c-51f6-47ff-9fef-907af529eb8e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] App Engine Site Down

2018-08-16 Thread Matt Pembroke
Hello,

I've set up my app engine website, and it's been working fine for ages.

Now, for some reason, when I try to visit it, I am getting this error:

"*404.* That’s an error.

The requested URL / was not found on this server. That’s all we know."

I've set up my domain through Google Domains a while ago, but now when I'm 
visiting it, it's down. My whole app is down as a result.

-- 
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/45cb9ab9-a542-489e-8ba6-e5d578cceb5a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] App Engine Site Down

2018-08-16 Thread Matt Pembroke
I've set up my domain through app engine, and everything's been working 
fine for a while.

Now it is down when I go to my domain.  I've changed nothing - what 
happened? My whole app is down as a result.

-- 
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/4ed613b3-ab10-45c4-862a-e7f1b633b0f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] App Engine connect to Oracle instance running in on-premise

2018-08-07 Thread VIVEK KUMAR

I have an Oracle machine running in on-premise Data centre and i want to 
host a website in GCP.  There is connectivity btw on-prem and Google VPC 
using Cloud VPN service.  I cannot expose Oracle instance using Public IP 
to internet.

Can we consider hosting a website on Google App engine to connect to Oracle 
instance? Will it work ?

-- 
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/681d7939-1e26-4074-867c-ea659eb07b1a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] App engine to connect to Oracle on-premise instance

2018-08-07 Thread VIVEK KUMAR

I have an Oracle machine running in on-premise Data centre and i want to 
host a website in GCP.  There is connectivity btw on-prem and Google VPC 
using VPN service.  

Can we consider Google App engine to connect to Oracle instance? Do you 
think, will it work?

-- 
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/8609fa9a-4057-45d9-89ee-f6ef5c65d6fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] App Engine Flexible NodeJS App adding Http2 in Nginx web server.

2018-07-13 Thread Sudhanshu Gaur
I am using App engine Flexible environment and I am currently trying to add 
http2, Can by any way we configure App Engine Nginx to support Http2?

-- 
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/8fb5986f-5c1e-4343-91c3-711ac58e1268%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] App Engine billed me for executing the tutorial for a week.

2018-07-02 Thread 'Steren Giannini' via Google App Engine
Hi,
Can you detail which tutorial you followed ?

(In particular, which language and environment)

Thanks.

On Sun, Jul 1, 2018, 10:15 Hersh Reddy  wrote:

> I used to use App Engine back in 2013 and I decided to try it again last
> week. I went over the tutorial to refresh my memory about how it works.
> Apparently a lot has changed because I was billed $24.16 for the week even
> though I didn't receive any user requests to the tutorial instance, beyond
> the few times I pinged the app myself.
>
> I'm a little confused by why I was charged because App Engine used to
> charge by requests processed. Is there a fixed charge now? And even so the
> billing page indicates a free tier and I'm surprised the tutorial would
> have exceeded it.
>
> To complicate things, I immediately shutdown the app when I received the
> bill and now I don't even seem to have access to support or billing
> information.
>
> I'm prepared to just eat the cost if I have to, but I'd prefer an
> explanation if possible. The experience has left me a little nervous about
> the new App Engine given the bill for barely any activity. Back in 2013 I
> ran several more significant projects within the free tier for no charge at
> all.
>
> --
> 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/acd1760f-8fcc-40fd-936c-b1606c3ddd85%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CANHKq5GEq_k4iOkgztMTZ%3DWhnhM-1DzOE8gcWZDf7vebrcKE4Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] App Engine billed me for executing the tutorial for a week.

2018-07-01 Thread Hersh Reddy
I used to use App Engine back in 2013 and I decided to try it again last week. 
I went over the tutorial to refresh my memory about how it works. Apparently a 
lot has changed because I was billed $24.16 for the week even though I didn't 
receive any user requests to the tutorial instance, beyond the few times I 
pinged the app myself.

I'm a little confused by why I was charged because App Engine used to charge by 
requests processed. Is there a fixed charge now? And even so the billing page 
indicates a free tier and I'm surprised the tutorial would have exceeded it.

To complicate things, I immediately shutdown the app when I received the bill 
and now I don't even seem to have access to support or billing information.

I'm prepared to just eat the cost if I have to, but I'd prefer an explanation 
if possible. The experience has left me a little nervous about the new App 
Engine given the bill for barely any activity. Back in 2013 I ran several more 
significant projects within the free tier for no charge at all.

-- 
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/acd1760f-8fcc-40fd-936c-b1606c3ddd85%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] App Engine Standard: "heroku run" equivalent

2018-06-20 Thread rgmenon
I have a Django application running on App Engine *Standard* env, connected 
to a CloudSQL DB. I'd like to update the schema (when it changes) from the 
deployed App Engine instance by executing:
python manage.py migrate
from the App Engine instance.

In other words, I'm looking for the App Engine Standard equivalent of the 
Heroku command:
heroku run python manage.py migrate

What's the recommended way to accomplish this task on App Engine Standard 
environment? Currently, I work around the issue by connecting to the DB 
using cloud_sql_proxy and running the migration from a local machine.

Thank you!

-- 
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/13e1bdbe-ef23-466b-b8e3-b9b7323b2eaa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] app engine - PHP Fatal error: The request was aborted because it exceeded the maximum execution

2018-06-20 Thread 'Naresh Prajapati' via Google App Engine
Dear All,
We are receiving below error during ajax call to app engine. Please help us
PHP Fatal error: The request was aborted because it exceeded the maximum 
execution time. in /base/data/home/AjaxFunctions.php on.


-- 


-- 

















The information in this
e-mail and any attachments is 
confidential and may be legally privileged. It is
intended solely for the 
addressee or addressee's. If you are not an intended
recipient, please 
delete the message and any attachments and notify the sender
of 
nondelivery. Any use or disclosure of the contents of either is 
unauthorised
and may be unlawful. All liability for viruses is excluded to 
the fullest
extent permitted by law. Any views expressed in this message 
are those of the
individual sender, except where the sender states them, 
with requisite
authority, to be those of the organisation.

-- 
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/c8a43062-faf6-4f7b-8832-ed7469a67144%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] App Engine the right place for me?

2018-05-15 Thread Joshua Fox
>
> When I uploaded it (and the help system) to the small hoster in the
> midwest, they let me use Filezilla to FTP my app up there. And they used
> cPanel so I could set up my needs.


 AppEngine is much more complex and richer in functionality than
cPanel-style. It is not at all similar as such things go. So, if you prefer
continuing to leverage your familiarity with  cPanel-style, GAE is not it.

On Tue, May 15, 2018 at 2:02 AM, Richard Bernstein 
wrote:

> I have my app up and running on a small shared hosting site in the
> midwest. It is not released yet.  I now want to move it over to App
> Engine.  The main reason is that it is a data intensive application and I
> want to use the google cloud data facilities. When I uploaded it (and the
> help system) to the small hoster in the midwest, they let me use Filezilla
> to FTP my app up there. And they used cPanel so I could set up my needs.
> Does App engine have something analagous?
>
> --
> 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/a64b9640-7551-46d4-b407-
> 8b14c0065ecd%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 


*JOSHUA FOX*
Director, Software Architecture | Freightos



*T (Israel): *+972-545691165 | *T (US)*:  +1-3123400953
Smooth shipping.

-- 
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/CAD%3DB7cMmvnoe7wP3gEWWaHgt2eHL8tWsVCCdVYe4Uz5-_cLVWA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


  1   2   3   4   5   6   7   8   9   >