[google-appengine] Re: How to get to know if Auto migration to Firestore in Datastore mode has been completed or not?

2022-01-05 Thread 'Elliott (Cloud Platform Support)' via Google App Engine


Hello,

According to step six of this document 
[1],
 
you will know that your database has been migrated when the App Engine 
Quotas page starts to show Firestore usage instead of Cloud Datastore usage.

I hope this helps.

[1] 
https://cloud.google.com/datastore/docs/upgrade-to-firestore#6_migration_complete


On Wednesday, January 5, 2022 at 6:58:26 AM UTC-5 ha...@arrivy.com wrote:

> Hi,
>
> I got notified about three weeks ago that the auto migration from 
> datastore to firestore (i.e. Firestore in Datastore mode) has been started 
> for one of my projects.
>
> How can I come to know that the process has been completed or not?
>
> 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/5b880e40-35d9-41ea-a76c-6f6aebdd388en%40googlegroups.com.


[google-appengine] Re: Anyone else noticing latency issues on App Engine Standard right now?

2022-01-04 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello Will,

I understand that you are experiencing slowness in your legacy application 
and you would like to know what is going on. You’ve already looked at the 
dashboard [1] to see if there is a common 
issue but you see none. Maybe this is because your issue is too new.

In this case, I understand that you may either want to report a common 
issue for all users of Google Cloud Platform or an issue with your project.

Google Groups is meant for general discussions about Google products. In 
this case, I would recommend opening a Google Issue Tracker 
[2] from this list to 
report a common issue or if you would like to report an issue with your 
project specifically, I would suggest going through the regular support 
channel [3].

[1] https://status.cloud.google.com/
[2] https://cloud.google.com/support/docs/issue-trackers
[3] https://cloud.google.com/support/docs

On Tuesday, January 4, 2022 at 2:06:49 PM UTC-5 Will Reiher wrote:

> I'll add that I'm seeing it on both dynamic and static requests.
>
> On Tuesday, January 4, 2022 at 11:03:34 AM UTC-8 Will Reiher wrote:
>
>> I'm seeing some intermittent latency issues - some requests are taking 
>> many seconds. 
>>
>> No code changes in a while. I don't see anything on the cloud status 
>> dashboard. I'm in us-central on a legacy Python 2.7 app. My users / 
>> employees all over the country have commented that they're experiencing 
>> very slow page loads.
>>
>

-- 
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/fb4365ab-858f-42d5-bb90-be5e55b19f81n%40googlegroups.com.


[google-appengine] Re: app_engine_apis: true not working

2021-12-30 Thread 'Elliott (Cloud Platform Support)' via Google App Engine


Hello,

I understand that you are getting the error message “App Engine APIs are 
not enabled, please add app_engine_apis: true to your app.yaml to enable” 
when you are deploying your Go application.

Google Groups is meant for general discussions. So,  I would recommend that 
you seek assistance from our regular support channel 
[1] if this is related to your 
project but if you believe that there is something wrong with App Engine or 
other products, please use a Google Issue Tracker to report your concerns. 
They are listed here 
[2]. 

My guess is to use command: “gcloud beta app deploy” and set 
“app_engine_apis: true” in the app.yaml file.

[1] https://cloud.google.com/support/docs

[2] https://cloud.google.com/support/docs/issue-trackers


On Thursday, December 30, 2021 at 12:01:52 PM UTC-5 faisal...@gmail.com 
wrote:

> Hi,
>
> Adding this to my go112+ runtime, tried on multiple but after deployment 
> it's not there on the console and I get this error:
>
> App Engine APIs are not enabled, please add app_engine_apis: true to your 
> app.yaml to enable.
>
> Is there anything I need to turn on manually to get this working?
>
> 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/4b4c95b4-187f-4751-aa00-ab55944163efn%40googlegroups.com.


[google-appengine] Re: deploy jar to app engine from artifact registry

2021-12-29 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello,

I understand that you are creating a build process where a package jar will 
be uploaded to the Cloud Artifact registry. I’m not sure what you mean by 
seeing if the JAR can be deployed to App Engine. Can you please give more 
details? As Google Groups is meant for general discussions, if it is needed 
to pursue a more technical route, I would advise you to reach out to our 
programming community on Stackoverflow .

On Wednesday, December 29, 2021 at 8:19:56 AM UTC-5 krisha.ba...@vumc.org 
wrote:

> Hi,
> I am creating a build process where a packaged jar will be uploaded to 
> artifact registry. I want to see if the jar can be deployed to appengine 
> from artifact registry so that I have to build only once and the same 
> artifact can be deployed to other env 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/38ff1f9a-5b65-4d8a-a9e5-fe7202e9455bn%40googlegroups.com.


[google-appengine] Re: GAE : http to https redirect not working

2021-12-29 Thread 'Elliott (Cloud Platform Support)' via Google App Engine


Hello,

I understand that the redirection from http to https is not working now for 
your project. As Google Groups is meant for general discussions, I would 
recommend that you seek assistance from our regular support channel 
[1] if this is related to your 
project or if you believe that there is something wrong with the product, 
please complete the according Google Issue Tracker as listed here 
[2]. The secure 
always option seems correct in the app yaml file.

[1] https://cloud.google.com/support/docs

[2] https://cloud.google.com/support/docs/issue-trackers


On Wednesday, December 29, 2021 at 11:57:42 AM UTC-5 official...@gmail.com 
wrote:

> Hi team,
>
> I have a node server deployed on the GAE. I recently found that the http 
> to https redirection is not working now. Please find below my config of 
> GAE. Any help would be appreciated. Thanks in advance.
>
> runtime: nodejs14
> env: standard
> instance_class: F2
> handlers:
> - url: /.*
> script: auto
> secure: always
> redirect_http_response_code: '301'
> - url: .*
> script: auto
> automatic_scaling:
> min_idle_instances: automatic
> max_idle_instances: automatic
> min_pending_latency: automatic
> max_pending_latency: automatic
> min_instances: 1
> max_instances: 2
> network: {}
> service_account: x...@appspot.gserviceaccount.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/3e378420-4ff5-49a5-bfdb-878dd19ef25en%40googlegroups.com.


Re: [google-appengine] Requests take 20-30 seconds to reach Standard App Engine instance, intermittently

2021-12-14 Thread 'Elliott (Cloud Platform Support)' via Google App Engine


Hello,

To help search for common issues at that time, can you tell us, without 
revealing personal identifiable information, if there is anything 
interesting in your logs? Maybe an error message or trace?

On Tuesday, December 14, 2021 at 11:05:00 AM UTC-5 hun...@gmail.com wrote:

> I'm using us-east-1 too.
>
> On Tuesday, December 14, 2021 at 10:58:00 AM UTC-5 ime...@gmail.com wrote:
>
>> Just out of curiosity. Which app engine region are your services 
>> deployed? I'm using us-east-1.
>>
>> On Tue, Dec 14, 2021 at 9:41 AM Isaac Meany  wrote:
>>
>>> I have the same issue today, also yesterday (Dec 14 15:11 CST).
>>>
>>> On Tue, Dec 14, 2021 at 9:26 AM Hung Nguyen  wrote:
>>>
 Hello,

 HTTP requests intermittently take very long time (20-30 seconds) to 
 reach my standard appengine instances. It happens to requests from my 
 clients on the Internet as well as from my Google scheduled tasks.

 The problem happens twice on Friday Dec10, lasted about 1 hours on each 
 occasion.
 Today (Dec14) it is happening again.

 What could be the issue and how can I track it down and fix it?

 Thanks!

 -Hung

 -- 
 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/1989edf0-1414-4bb3-bbcf-91b1aee0f363n%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/5a71c1d3-7c79-451a-a1fe-aa0040f2f02bn%40googlegroups.com.


[google-appengine] Re: Asking help to release the domain from google cloud platform

2021-12-13 Thread 'Elliott (Cloud Platform Support)' via Google App Engine


Hello,

I understand that you would like to delete a domain from your GCP account. 
I've found this document 
. You 
may do so in the Google Cloud Console by going to the Cloud Domains page. 
Once there, you may select the domain and click delete[1].

[1] https://cloud.google.com/domains/docs/delete-domain#delete_a_domain


On Monday, December 13, 2021 at 9:26:16 AM UTC-5 sanjana...@gmail.com wrote:

> Hi everyone,
> I'm not familiar with GCP. 
> Could you please guys how to release one domain from the gcp account? 
> 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/4e82d366-f319-4f25-bf9d-57f9aa714882n%40googlegroups.com.


[google-appengine] Re: Google App Engine Unstable

2021-12-10 Thread 'Elliott (Cloud Platform Support)' via Google App Engine


Hello,

I understand that you would like to report downtime and instability in your 
App Engine application. Please note that you may follow all outages or 
infrastructure issues using the Google Cloud Dashboard 
[1]. Looking at it briefly, I am unable 
to find issues related to App Engine for Friday.

Google Groups is meant for general discussions and opinions about Google 
products. In this case, I would suggest reaching out to our regular support 
channel [2] to report instabilities 
related to your App Engine instance.

If you would like to report a general issue related to our products, I 
encourage you to use Google Issue Tracker 
[3], which we will 
investigate.

[1] https://status.cloud.google.com/

[2] https://cloud.google.com/support/docs
[3] https://cloud.google.com/support/docs/issue-trackers

On Friday, December 10, 2021 at 11:20:48 AM UTC-5 ime...@gmail.com wrote:

> Hi, has anyone experienced downtimes and instability of their app engines 
> web applications and endpoints, this Friday morning? I haven't had and 
> issue since July 2nd 2019.
>

-- 
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/d36dd9c7-65ad-4439-8e10-64cee5eaaecbn%40googlegroups.com.


[google-appengine] Re: Failed to create GAE App.

2021-12-09 Thread 'Elliott (Cloud Platform Support)' via Google App Engine


Hello Deepak,

I understand that you would like to troubleshoot the message “Already 
Exists message” because you are not able to create any GAE application.

As Google Groups is meant for general discussions regarding Google 
products, I believe that, if you want to fix the message, the best way to 
proceed is for you to contact us through regular support 
[1], where we may assist you there. 

[1] https://cloud.google.com/support/docs

We look forward to serving you.


On Thursday, December 9, 2021 at 12:21:48 PM UTC-5 deepak...@encoresky.com 
wrote:

> Hello,
>
> I'm not able to create any GAE application. Getting this message 
> [image: Screenshot (39).png]
> [image: Screenshot (40).png]
>
> I'm not able to see this email "app...@appspot.gserviceaccount.com" on 
> service accounts page and still getting Already Exists message. 
>
> I also found this -
> Google Cloud has added a feature through which we can now restore our 
> default service account and restore them back. According to this new 
> feature, you can now restore your default service account, within 30 days 
> of deletion. If the service account has been deleted for more than 30 days, 
> it cannot be recovered. To continue using the App engine or Cloud 
> functions, you would need to create a new project.
> But I don't remember we have ever created any GAE app or deleted this 
> email "app...@appspot.gserviceaccount.com".
>
> On my new project it's working fine. But I don't want to shift everything 
> on other project because of GAE. 
>
> Anyone who can help us fix that?
> Thanks,
> Deepak 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/a189c1fc-a3c7-4f26-af20-ee5d737d9136n%40googlegroups.com.


[google-appengine] Re: 500 - Request was aborted after waiting too long to attempt to service your reques

2021-10-18 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello Leonard,

Thank you for your response. As Google Groups is meant for general 
discussions about products, I believe the best way to report an issue is to 
use Google Issue tracker to report 
a possible issue and if it may regard to your project in specific, I would 
suggest to you to contact support through our usual channel here 
.

On Monday, October 18, 2021 at 11:03:27 AM UTC-4 Ludovic Champenois wrote:

> Can you tell us with runtime are you using (Java, py, go?) and which 
> versions?
> Are you app.yaml based or appengine-web.xml based?
>
> Ludo
>
> On Tuesday, September 28, 2021 at 5:50:06 PM UTC+2 Will Reiher wrote:
>
>> Totally, not a huge amount of them but definitely more RPC errors and 
>> timeouts in the last week or so. I'd expect the odd one but it would seem 
>> that some infrastructure changes are causing issues.
>>
>> On Tuesday, September 21, 2021 at 7:57:13 AM UTC-7 Leonard Cremer wrote:
>>
>>> We are suddenly getting a lot of these type of errors on services that 
>>> have not changed recently. 
>>>
>>> Is anyone else experiencing similar errors. 
>>>
>>

-- 
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/47ab989d-7571-4361-8b2e-7e2816ae79dcn%40googlegroups.com.


[google-appengine] Re: spring boot java 8

2021-07-07 Thread 'Elliott (Cloud Platform Support)' via Google App Engine


Hello,

I understand that you are having an error in a test[1] 
,
 
getting the error at 
org.springframework.util.Assert.notNull(Assert.java:201). To provide you 
with more relevant information, are there line numbers and your code that 
you can add? The error by itself can mean several things. I’ve included 
Stackoverflow articles[2 

][3 
]
 
with a similar message and I hope it helps but if it does not, please 
provide the information.

Google Groups is meant for general discussions about Google products and 
services. It seems to me that this is more of a technical issue, which is 
appropriate to Stackoverflow but we will wait and see how this conversation 
progresses.

On Saturday, July 3, 2021 at 9:11:02 AM UTC-4 nikhilana...@gmail.com wrote:

> INFO: javax.servlet.ServletContext log: 2 Spring 
> WebApplicationInitializers detected on classpath
> [INFO] GCLOUD: java.lang.IllegalArgumentException: Unable to find the main 
> class to restart
> [INFO] GCLOUD:  at org.springframework.util.Assert.notNull(Assert.java:201)
> [INFO] GCLOUD:  at 
> org.springframework.boot.devtools.restart.Restarter.doStart(Restarter.java:276)
> [INFO] GCLOUD:  at 
> org.springframework.boot.devtools.restart.Restarter.start(Restarter.java:264)
> [INFO] GCLOUD:  at 
> org.springframework.boot.devtools.restart.Restarter.lambda$immediateRestart$0(Restarter.java:172)
> [INFO] GCLOUD:  at 
> org.springframework.boot.devtools.restart.Restarter$LeakSafeThread.run(Restarter.java:629)
> [INFO] GCLOUD: Jul 03, 2021 10:33:42 AM 
> com.google.appengine.api.datastore.dev.LocalDatastoreService 
> cleanupActiveServices
> [INFO] GCLOUD: INFO: scheduler shutting down.
>
> i already config main class
>
>

-- 
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/de172a08-b00b-4c3f-bfef-269a0e473538n%40googlegroups.com.


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

2021-07-05 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello Bill,

I understand that your App Engine application is not defaulting to HTTPS. 
Looking at the options available, I found this Stackoverflow article here 
.
 
It suggests to put the following two lines in your app.yaml 

file:

secure: always
redirect_http_response_code: 301

I know that this is for another runtime and that the app uses the default 
Google Managed SSL but the idea is the same. Can you try this out and let 
us know if it works for you?

For the benefit of the community, I have found some documentation on how to 
create a PHP application 

 
of Google App Engine.

Also, I have found some information on how to secure your application with 
SSL in the general documentation 

.



On Monday, June 28, 2021 at 11:46:06 AM UTC-4 bha...@gmail.com wrote:

>
> 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/18904aa3-acf1-4f1b-bc98-af13c4532534n%40googlegroups.com.


[google-appengine] Re: Python Multiprocessing in App Engine

2021-06-11 Thread 'Elliott (Cloud Platform Support)' via Google App Engine


Hello,

Thank you for your question. I understand that you have an issue with 
multiprocessing in your application, not on the local machine and there are 
no logs. You used the following code to fix the problem:

1. from multiprocessing.dummy import Pool

 pool = Pool(2)

 pool.apply_async(call_api,)

2. import concurrent.futures

import requests

pool = concurrent.futures.ThreadPoolExecutor(max_workers=4)

pool.submit(lambda:requests.post(xx))

You posted to the App Engine Google Groups forum. From the description, I 
am unable to fully understand what the issue is. Can you please provide 
additional detail? Also, for the benefit of the community, can you please 
add comments to the code that indicates what it means to you, which will 
help us to offer you advice on the issue you are encountering? I understand 
that non running code can be tricky to troubleshoot.

I was able to find this link to the Stackoverflow 

 
article after looking at your code. It describes how the author wants to 
run threads in a ThreadPoolExecutor until one of them gives a result. The 
answer indicates to keep checking each future in the sequence until it is 
found.

Google Groups is meant for general discussion about Google products and 
services but we will do our best to help.


On Friday, June 11, 2021 at 10:26:47 AM UTC-4 ankit...@gmail.com wrote:

> Hi Friends,
>
> We are stuck with a issue related to multiprocessing. We tried to use 
> multiple solutions like below.
> 1. from multiprocessing.dummy import Pool
>  pool = Pool(2)
>  pool.apply_async(call_api,)
> 2. import concurrent.futures
> import requests
> pool = concurrent.futures.ThreadPoolExecutor(max_workers=4)
> pool.submit(lambda:requests.post(xx))
>
> above given both solutions are working in my local system, when when 
> deploying this functionality is not working, even not getting any error in 
> logs.
>
> can you please help me to understand, why this is not working and what 
> else we can use.
>

-- 
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/1a8b8a57-22cd-48cd-a868-7315e6e3577fn%40googlegroups.com.


[google-appengine] Re: Send only internal traffic to App Engine from Cloud Function

2021-05-24 Thread 'Elliott (Cloud Platform Support)' via Google App Engine


Hello,

Thank you for the detail you provided. From the description, I understand 
that your Cloud Function is timing out when communicating with your App 
Engine instance over an internal connection. Because Google Groups was 
designed for general discussions about Google products, there is not a 
secure way of sharing information. In this case, I would ask to see your 
logs for information but please do not post them here. I do believe that 
you have followed the necessary steps 
 but the 
goal I am after is to look for a possible issue with the infrastructure. I 
do not see any common issue at this time relating to your question.

I am suggesting creating a Google Issue Tracker because I see the 
Stackoverflow 

 
thread and the discussion that followed. How would you feel by submitting a 
Google 
Issue Tracker 
to 
investigate a possible bug? I think that this would be the next logical 
step in this case. A private Issue Tracker will allow us to share project 
information.




On Saturday, May 22, 2021 at 10:40:50 AM UTC-4 luis-crist...@inetum.world 
wrote:

> I am trying to connect my Cloud Function to App Engine allowing only 
> internal traffic. These are the steps I have followed:
>
>1. Create a Serverless VPC Connector on the same region my two 
>services are deployed with its own /28 subnet.
>2. Set the Cloud Function to route ALL the traffic through the 
>Serverless VPC Connector.
>3. Set the App Engine to accept only internal ingress traffic.
>
> I have also created a dummy HTTP Server on a Compute Engine instance 
> without external IP. I sent a request to that server internal IP from my 
> Cloud Function and it got a 200 OK response, so the Function is using the 
> connector to route its traffic.
>
> However, if I send a request to my App Engine appspot URL from the 
> Function, it exits after 60 seconds with a timeout, meaning it is not able 
> to reach the service.
>
> Do you know if I am missing something?
>

-- 
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/432c77d6-1f1f-40ac-81a4-00b0f448c235n%40googlegroups.com.


[google-appengine] Re: WebSocketMismatch error on Python GAE Flexible

2021-05-17 Thread 'Elliott (Cloud Platform Support)' via Google App Engine

Hello,

I understand that you are receiving an error when you are deploying an 
application in App Engine Flex that uses web sockets.

I was able to find a common issue describing the exact one you have that 
was being worked on by the App Engine Specialists two days ago. They have 
indicated that the issue has been addressed but I see that it is still 
affecting you. To verify, I used the documentation here 

 
to see if I may deploy the code and was successful in doing so.

So I may ask you to monitor this issue for two days to allow the changes to 
be replicated and if you still have that same issue after that time, I 
invite you to reply to this thread and we will provide additional 
instructions.

On Monday, May 17, 2021 at 9:16:55 AM UTC-4 g.gial...@goreply.io wrote:

> Hi all,
> I'm working on a python application with WebSockets and AppEngine Flexible.
> I did my latest deployment on the 11th may and it's working.
>
> Yesterday I tried to deploy again with exactly the same code and now I'm 
> getting this error:
>
> Traceback (most recent call last): File 
> "/env/lib/python3.6/site-packages/gevent/pywsgi.py", line 999, in 
> handle_one_response self.run_application() File 
> "/env/lib/python3.6/site-packages/geventwebsocket/handler.py", line 75, in 
> run_application self.run_websocket() File 
> "/env/lib/python3.6/site-packages/geventwebsocket/handler.py", line 52, in 
> run_websocket list(self.application(self.environ, lambda s, h, e=None: [])) 
> File "/env/lib/python3.6/site-packages/flask/app.py", line 2464, in 
> __call__ return self.wsgi_app(environ, start_response) File 
> "/env/lib/python3.6/site-packages/flask_sockets.py", line 40, in __call__ 
> handler, values = adapter.match() File 
> "/env/lib/python3.6/site-packages/werkzeug/routing.py", line 2026, in match 
> raise WebsocketMismatch() werkzeug.routing.WebsocketMismatch: 400 Bad 
> Request: The browser (or proxy) sent a request that this server could not 
> understand.
>
> I also found another user who had a similar problem 2 days ago: 
> https://serverfault.com/questions/1063604/websockets-flexible-app-engine
>
> This leads me to think it's caused by some change in the App Engine 
> Environment.
> Does anyone have some insight?
>

-- 
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/8fc86bcd-ea32-4fd4-b9aa-5e2f9073ef4en%40googlegroups.com.


[google-appengine] Re: Help

2021-05-10 Thread 'Elliott (Cloud Platform Support)' via Google App Engine


Hello,

I understand that you would like to have a refund from Google Play. I did 
look at our documentation and I hope this resolves your issue. I know this 
must be frustrating but I will do my best to assist you.

You may get a refund for certain Google Play purchases but it also depends 
on the policy. I understand that you may contact the developer directly. 
You may get a refund if the product was purchased accidentally. I believe 
this is what you are after.

There is a document 
[1], which goes 
into more detail and I hope this helps.

[1] https://support.google.com/googleplay/answer/2479637?hl=en

On Monday, May 10, 2021 at 10:29:12 AM UTC-4 denisme...@gmail.com wrote:

> Portuguese
>
> Eu preciso muito de ajuda, eu fiz um pagamento de 40 reais e não sei pra 
> que serve esse site
>
> English
>
> I really need help, I make a payment of 40 reais and I don't know what 
> this site is for
>
> I want to request a refund
>
>
>
>
>

-- 
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/fb9469a1-3996-4465-b9ff-a5f5dc7837e6n%40googlegroups.com.


[google-appengine] Re: Where can your run "legacy" Google App Engine (Java) applications?

2021-04-29 Thread 'Elliott (Cloud Platform Support)' via Google App Engine


Hello,

I understand that you would like to run a legacy Java App Engine 
application on the infrastructure that exists currently in Google Cloud 
Platform without modifying the existing project.

I was able to find a document 
, which 
describes the legacy 8 version of Java still supported. What version of 
Java are you using? Are you using Google App Standard or Google App Flex?

I’m thinking that depending on your answer, you may choose to use 
Containers in Google Cloud Run  to create 
your environment but you indicated that you do not wish to modify your 
project.

So to provide more options, I would ask you to give detail about your 
project.



On Thursday, April 29, 2021 at 10:14:18 AM UTC-4 qqua...@protonmail.com 
wrote:

> Where can you run GAE application built with "integrated" Datastore? 
> Meaning, those application that were build prior to Google platform making 
> the Datastore a separate service from the "core" GAE service. That is 
> without modifying the project.
>
> Can the current Google App Engine run "legacy" applications?
>

-- 
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/e6a33396-8c84-480d-9f17-f693ab2c2d29n%40googlegroups.com.


[google-appengine] Re: Laravel Google Compute Engine - Queued jobs not working

2021-04-21 Thread 'Elliott (Cloud Platform Support)' via Google App Engine


Hello,

I understand that you have issues running your PHP code on a Compute Engine 
instance. To help you, what is happening exactly? Are you receiving 
specific error messages? This would help move the case forward.

>From your description, you mentioned Compute Engine. If the problem is with 
this technology, we may be able to pursue an internal investigation.

Can you please provide more detail of why you are stuck?


On Wednesday, April 21, 2021 at 9:09:51 AM UTC-4 eake...@gmail.com wrote:

>
> Thank you in advance,
>
> I have created jobs and queued them well using the link 
> https://laravel.com/docs/8.x/queues it is working well in local  but not 
> in google compute engine when I execute the php artisan queue:work will 
> start running queued jobs but not working over the google compute engine
>
> I used the below config in .env
> QUEUE_CONNECTION=database
>

-- 
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/f7c5d646-31c0-4f72-a1ee-f2ca8c076048n%40googlegroups.com.


[google-appengine] Re: Determining if running local on App Engine Standard with Java 11

2021-04-07 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello Tom,

Thank you for your question regarding “SystemProperty.environment.value()” 
not being available for Java 11. Since upgrading to java 11, the value 
output of this code is always just null.

For the community, this code is used to know if you are running the code 
locally or out in the cloud. You may see the details here 

.

You would like to know the equivalent code for App Engine 11 because there 
doesn't seem to be any documentation for this feature at all.

I was able to verify your claim in public documentation. The information I 
researched is very old and does not appear to be included in the Java 11 
Runtime as you need it.

So this is an opportunity to request this functionality but to add value to 
this feature request, how would you implement it?

We may use your ideas to get this done but please note that there is no 
guarantee that it will be implemented but we will take a look and consider 
your request seriously.


On Wednesday, April 7, 2021 at 10:45:20 AM UTC-4 t...@terratrue.com wrote:

> Hi all:
>
> I am in the process of upgrading all our App Engine 8 services to 11, but 
> I am running into an issue. We use the `SystemProperty.environment.value()` 
> to determine if we are running locally on one of our developer machines or 
> out in the cloud, however since upgrading to java 11, the value is always 
> just null.
>
> What is the equivalent code for App Engine 11? There doesn't seem to be 
> any documentation for this at all.
>
> Thanks,
> Tom Harris
> Tech Lead
> TerraTrue, Inc.
>

-- 
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/3a358b5b-dbef-4f53-9685-f94ec2cb9033n%40googlegroups.com.


[google-appengine] Re: Please help me with this -

2021-04-05 Thread 'Elliott (Cloud Platform Support)' via Google App Engine


Hello,

I understand that you would like to format the single logging to a better 
looking output. Other than that, the output is behaving as expected.

If you are using a Linux based operating system, I suggest using the “awk” 
utility to implement your requirements. You may choose another utility if 
you wish. You will need one that can parse and transform text.

awk can be used as a text processor that you can use to manipulate text 
input. There are several guides available. Here is one 
.

The input to the awk script would be the output of the “gcloud app logs 
tail” command. You would use a redirection operation like “<” for example.

Since Google Groups is meant as a general discussion forum for Google 
products, I have been brief but I hope I’ve given you something to think 
about.

On Monday, April 5, 2021 at 9:05:26 AM UTC-4 Shivendra Singh wrote:

>
> https://stackoverflow.com/questions/66949413/formatting-gcloud-app-logs-tail-output-for-structured-logs-single-line-of-ser
>

-- 
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/fd3dfc6d-0e67-45d7-b95b-bafd7fc3056cn%40googlegroups.com.


[google-appengine] Re: How do I download GAE source

2021-03-18 Thread 'Elliott (Cloud Platform Support)' via Google App Engine


Hello,

I understand that you would like to download your source code using the 
command. I have looked at our documentation and found that the command, 
appcfg.py, is deprecated and that the Google Cloud SDK does not support 
downloading the source code[1].

There is an alternative as mentioned here[2] where you can view the code, 
then manually copy and paste it to your local machine. “As of October 2019 
you can simply go to --> App Engine --> Services and in the tool dropdown 
select 'source' and the source code is there”

I would like to investigate further. To do this, can you tell me what kind 
of App Engine you are using?

I know this is not ideal but it is a workaround but this is something you 
can try if in the meantime.

[1] 
https://cloud.google.com/appengine/docs/standard/python/tools/downloading-source-code

[2] 
https://stackoverflow.com/questions/2497338/how-do-i-download-the-source-code-of-a-google-app-engine-project/28142173#:~:text=Under%20the%20main%20menu%2C%20under,of%20your%20compressed%20code%20begins
.

Thank you.


On Tuesday, March 16, 2021 at 12:04:31 AM UTC-4 Hirose Office wrote:

> thank you
>
> The file exists in Bucket, but the filename has been renamed. The folder 
> cannot be found either. Therefore, it was not possible to download the 
> source code this way.
>
> Thank you for your opinion.
>
> 2021年3月16日火曜日 6:04:55 UTC+9 gonzalezwalter:
>
>> Hello, 
>>
>> You can view and copy the source code in Console -> App Engine -> 
>> Versions -> press 'tools' under specific version and choose 'source'. The 
>> files themselves are stored in staging..appspot.com bucket 
>> although under encrypted names and it might take some time to find specific 
>> version.
>>
>> Let me know if you are unable to view them through the methods above.  
>>
>> On Monday, March 15, 2021 at 11:01:04 AM UTC-4 Hirose Office wrote:
>>
>>> Thank you for your message. However, I couldn't download it by any 
>>> method.
>>> Give up once.
>>>
>>> THank you, kaan.
>>>
>>> 2021年3月15日月曜日 3:57:00 UTC+9 kaan...@gmail.com:
>>>
 This worked for me: https://console.cloud.google.com/appengine/services

 From this answer: https://stackoverflow.com/a/58519689/914546

 On Sunday, March 14, 2021 at 9:36:35 PM UTC+3 Hirose Office wrote:

> Hello, kaan.
>
> Thank you!
> I appreciate it very much
> The source could not be downloaded with Cloud Build.
> Consider another method.
>
> Thank you
> 2021年3月14日日曜日 4:05:17 UTC+9 kaan...@gmail.com:
>
>> appcfg.py is depracated but I couldn't find the new method with 
>> gcloud either
>>
>> A S.O. answer says the source is available here: 
>> https://console.cloud.google.com/cloud-build/builds - but it's not 
>> for me - but maybe it's available for you, might be worth checking
>>
>> On Saturday, March 13, 2021 at 9:52:57 PM UTC+3 Hirose Office wrote:
>>
>>> help me!
>>>
>>> i execute this command.
>>>
>>> python appcfg.py download_app -A my-project -V 1 
>>> /users/tom/downloads/aaa --noauth_local_webserver
>>>
>>> error message is
>>>
>>> Error 401: --- begin server output ---
>>> 1.433060072632129757
>>> >> 'auth.creds.useNormalUserEUC' not granted to 
>>> app-engine...@prod.google.com, because it satisfies none of the 3 
>>> rules granting that permission. (Policy {type=creds, 
>>> id=/apps/framework/auth/v0/mapping0/aadd275b-0eb6-45c5-ba7e-e1a184e053ef});
>>>  
>>> RpcSecurityPolicy 
>>> http://rpcsp/p/9aw5LWxoo9BLqcVKVlGreN0-Q5-wt_0mk2RWLjm140U 
>>> com.google.security.context.validation.CredsPermissionException: 
>>> Rejected by creds_policy: Permission 'auth.creds.useNormalUserEUC' not 
>>> granted to app-engine...@prod.google.com, because it satisfies none 
>>> of the 3 rules granting that permission. (Policy {type=creds, 
>>> id=/apps/framework/auth/v0/mapping0/aadd275b-0eb6-45c5-ba7e-e1a184e053ef});
>>>  
>>> RpcSecurityPolicy 
>>> http://rpcsp/p/9aw5LWxoo9BLqcVKVlGreN0-Q5-wt_0mk2RWLjm140U ">
>>> --- end server output ---
>>>
>>>

-- 
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/ad33b03f-d590-4f35-91ad-d0f6beecdd57n%40googlegroups.com.


[google-appengine] Re: Firestore and Cloud task api not callable from app engine flexible

2021-03-17 Thread 'Elliott (Cloud Platform Support)' via Google App Engine


Hello,

I understand that you want to use the Cloud Tasks API to create a task and 
push in a queue from the app engine flexible environment but it doesn't 
work. Also you are not able to use the Firestore API in native mode.

You’ve also mentioned that an API is working fine from outside of google 
cloud using the same service account credentials.

In addition, you asked for some help with settings.

To determine a common issue, can you please tell me more about your code 
and where you get stuck? Are there error messages? Google Groups is meant 
for general discussions about Google products and if a scenario is 
determined to be a common issue, an Issue Tracker may be created. Right 
now, I do not have enough information to decide the next steps.

Would you provide this information for the benefit of the community and if 
it is common, others the groups may be able to recognize it.

I hope that after getting your details, some advice will be offered.

I will wait for your response.

On Wednesday, March 17, 2021 at 9:43:01 AM UTC-4 ashikr...@gmail.com wrote:

> I want to use cloud task api to create task and push in the queue from the 
> app engine flexible environment but it doesn't work and also not able to 
> use firestore api in native mode.
>
> Same API is working fine from the server outside of google cloud using the 
> same service account credentials.
>
> Can you please help if we can use both the api from the app engine or I 
> need to make some changes in the settings.
>

-- 
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/73e344f4-862e-465d-a1e6-857219e4fd28n%40googlegroups.com.


Re: [google-appengine] Re: Custom Domain Name

2021-03-12 Thread 'Elliott (Cloud Platform Support)' via Google App Engine


Hello Harsha,

I’m glad it is working for you now. If you have other issues in the future, 
you may create another post.

Thank you.


On Friday, March 12, 2021 at 7:19:09 AM UTC-5 harshava...@gmail.com wrote:

> It works now.
>
> On Fri 12 Mar, 2021, 5:47 PM Harsha Vardhana,  
> wrote:
>
>> Hello Elliott,
>>
>> Thank you for the response, I made a mistake in app.yaml file that was 
>> used for deployment, that is why it was saying the connection is not 
>> secure, I was able to find the issue with the help of Google support team, 
>> it works no.
>>
>> Thanks,
>> Harsha
>>
>> On Fri 12 Mar, 2021, 3:52 AM 'Elliott (Cloud Platform Support)' via 
>> Google App Engine,  wrote:
>>
>>> Hello Harsha,
>>>
>>> I understand that you are receiving a security alert when accessing your 
>>> App Engine application that has your custom domain 
>>> <https://developers.google.com/appengine/docs/domain>[
>>>
>>> To narrow down the focus and to find a common issue, when did this 
>>> behavior begin? Did it work before? 
>>>
>>> I was able to find some documentation here 
>>> <https://developers.google.com/appengine/docs/ssl> that I’d like to 
>>> offer. It describes how to make a site secure with SSL. You did not mention 
>>> if you made your site secure with SSL. If you did, there may be a small 
>>> chance that the document changed after you went through it. To be certain, 
>>> I ask you to review it.
>>>
>>> Are you the administrator of the account you’re using?
>>>
>>> Are you the owner of the account?
>>>
>>> Have you added the domain to  the account?
>>>
>>> Assuming that all the steps were followed and to make sure your 
>>> application is working otherwise, are you able to visit the non-secure web 
>>> address of your application? 
>>>
>>> I hope this helps.
>>>
>>>
>>> On Wednesday, March 10, 2021 at 4:11:32 PM UTC-5 harshava...@gmail.com 
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> I have mapped my custom domain name to app engine, but when visit 
>>>> the domain name, it says "connection is not secure", i have bought the 
>>>> domain name from Google only.
>>>>
>>>>   Please help me resolve this.
>>>>
>>>> Thanks,
>>>> Harsha
>>>>
>>> -- 
>>> 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/8045c69d-56d7-4561-9ef2-b2a03b783aaan%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/google-appengine/8045c69d-56d7-4561-9ef2-b2a03b783aaan%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>>
>>

-- 
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/abc95628-fb10-4323-be01-4ddc69c39e6en%40googlegroups.com.


[google-appengine] Re: Custom Domain Name

2021-03-11 Thread 'Elliott (Cloud Platform Support)' via Google App Engine


Hello Harsha,

I understand that you are receiving a security alert when accessing your 
App Engine application that has your custom domain 
[

To narrow down the focus and to find a common issue, when did this behavior 
begin? Did it work before? 

I was able to find some documentation here 
 that I’d like to offer. 
It describes how to make a site secure with SSL. You did not mention if you 
made your site secure with SSL. If you did, there may be a small chance 
that the document changed after you went through it. To be certain, I ask 
you to review it.

Are you the administrator of the account you’re using?

Are you the owner of the account?

Have you added the domain to  the account?

Assuming that all the steps were followed and to make sure your application 
is working otherwise, are you able to visit the non-secure web address of 
your application? 

I hope this helps.


On Wednesday, March 10, 2021 at 4:11:32 PM UTC-5 harshava...@gmail.com 
wrote:

> Hi,
>
> I have mapped my custom domain name to app engine, but when visit the 
> domain name, it says "connection is not secure", i have bought the domain 
> name from Google only.
>
>   Please help me resolve this.
>
> Thanks,
> Harsha
>

-- 
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/8045c69d-56d7-4561-9ef2-b2a03b783aaan%40googlegroups.com.


[google-appengine] Re: ERROR: (gcloud.app.deploy) Error Response: [13] An internal error occurred..

2021-03-09 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello Gaurav,

I understand that you are getting an Error 13 when you are deploying an 
application but changing accounts resolved the issue.

>From the information provided in the description, it is not enough to 
troubleshoot the issue. I would need more information. To move this case 
forward, I have deployed successfully the instructions of that tutorial. To 
understand better, how did you configure the new account? What is different 
from the one that does not work?

The gcloud command has a feature to capture debug information for error 
messages.

Also, there are improvements and patches with every new release 
. Would 
you consider updating your Cloud SDK and run the debug command? 

“gcloud components update”

I will need REDACTED output of the gcloud command you are using for the 
deploy that fails with the "--verbosity" flag set to DEBUG 
 and the output 
of the "gcloud info --anonymize" command 
 for 
further investigation.

--verbosity=debug is the option you need to add.

 "gcloud app deploy --verbosity=debug"

I will then look at the debug output of the latest version.

I will wait for your response.


On Tuesday, March 9, 2021 at 12:05:43 AM UTC-5 gaur...@101bi.com wrote:

> Hi, 
>
> Thanks for update. 
>
> In the app.yaml file i have made change only replaced the bucket name,  
> also replace service name malware scanner to default. I tried to multiple 
> times to deploy app but it's getting same error. 
>
> I have also tried to different account with follow same documentation  it 
> was deploy successfully. 
>
> Can you help with support i can show you which error is getting.
>
>
>   
>
> On Tuesday, March 9, 2021 at 3:36:14 AM UTC+5:30 gonzalezwalter wrote:
>
>>
>> Have you made any changes to the app.yaml used it the documentation as 
>> running it on my side successfully deploys. Can you check if your app 
>> engine default service accoun 
>> t 
>> is enabled and has the correct permissions.  
>> On Monday, March 8, 2021 at 11:22:56 AM UTC-5 gaur...@101bi.com wrote:
>>
>>> Hello Guys,
>>>
>>> We are getting an error while run "gcloud app deploy" command on google 
>>> cloud shell.
>>>
>>> Actually we are implementing virus scanning bucket where we created 3 
>>> bucket one in unscanned bucket second is scanned bucket and last one is 
>>> quarantine bucket. And then following this URL:- 
>>> https://cloud.google.com/solutions/automating-malware-scanning-for-documents-uploaded-to-cloud-storage?hl=en#gcp-console
>>>
>>> Getting error:-
>>>
>>> Updating service [default] (this may take several minutes)...failed.
>>> DEBUG: (gcloud.app.deploy) Error Response: [13] An internal error 
>>> occurred.
>>> Traceback (most recent call last):
>>>   File "/usr/lib/google-cloud-sdk/lib/googlecloudsdk/calliope/cli.py", 
>>> line 982, in Execute
>>> resources = calliope_command.Run(cli=self, args=args)
>>>   File 
>>> "/usr/lib/google-cloud-sdk/lib/googlecloudsdk/calliope/backend.py", line 
>>> 809, in Run
>>> resources = command_instance.Run(args)
>>>   File "/usr/lib/google-cloud-sdk/lib/surface/app/deploy.py", line 121, 
>>> in Run
>>> default_strategy=flex_image_build_option_default))
>>>   File 
>>> "/usr/lib/google-cloud-sdk/lib/googlecloudsdk/command_lib/app/deploy_util.py",
>>>  
>>> line 678, in RunDeploy
>>> ignore_file=args.ignore_file)
>>>   File 
>>> "/usr/lib/google-cloud-sdk/lib/googlecloudsdk/command_lib/app/deploy_util.py",
>>>  
>>> line 455, in Deploy
>>> extra_config_settings)
>>>   File 
>>> "/usr/lib/google-cloud-sdk/lib/googlecloudsdk/api_lib/app/appengine_api_client.py",
>>>  
>>> line 208, in DeployService
>>> poller=done_poller)
>>>   File 
>>> "/usr/lib/google-cloud-sdk/lib/googlecloudsdk/api_lib/app/operations_util.py",
>>>  
>>> line 314, in WaitForOperation
>>> sleep_ms=retry_interval)
>>>   File 
>>> "/usr/lib/google-cloud-sdk/lib/googlecloudsdk/api_lib/util/waiter.py", line 
>>> 264, in WaitFor
>>> sleep_ms, _StatusUpdate)
>>>   File 
>>> "/usr/lib/google-cloud-sdk/lib/googlecloudsdk/api_lib/util/waiter.py", line 
>>> 326, in PollUntilDone
>>> sleep_ms=sleep_ms)
>>>   File 
>>> "/usr/lib/google-cloud-sdk/lib/googlecloudsdk/core/util/retry.py", line 
>>> 229, in RetryOnResult
>>> if not should_retry(result, state):
>>>   File 
>>> "/usr/lib/google-cloud-sdk/lib/googlecloudsdk/api_lib/util/waiter.py", line 
>>> 320, in _IsNotDone
>>> return not poller.IsDone(operation)
>>>   File 
>>> "/usr/lib/google-cloud-sdk/lib/googlecloudsdk/api_lib/app/operations_util.py",
>>>  
>>> line 183, in IsDone
>>> encoding.MessageToPyValue(operation.error)))
>>> googlecloudsdk.api_lib.app.operations_util.OperationError: Error 
>>> Response: [13] An internal error occurred.
>>> ERROR: 

[google-appengine] Re: requires PHP Zip

2021-02-25 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello,

Thank you for posting to the App Engine forum. You mentioned that you are 
getting an error from Wordpress in the following:

Oops, Unyson Backup requires PHP Zip module but it is not enabled on your 
server. If you are not familiar with PHP Zip module, please contact your 
hosting provider.

I’ve gone ahead and looked at possible solutions on your behalf. I was able 
to find a document 

 
that generally describes what you can do if you get an error about 
extensions. It’s pretty simple and if you are using App Engine Standard, 
this would be my first suggestion. This document was created by Googlers.

>From that document:

Note: If you receive an error about extensions, install phar and zip PHP 
extensions and retry:

$ sudo apt-get install php7.2-zip php7.2-curl

I’ve tried it myself and went through the mechanics for that part.

I’ve also noted that the ZIP 

 
module should be enabled on Google App Engine.

I was able to find other documentation, for Wordpress in Compute engine 
that had a similar procedure. I will not describe that further.

You may try the steps and documentation I found or if you want to go into 
detail, specifically for Unyson, I suggest using this site here 
.

Again, thank you for your question and I wish you success.


On Monday, February 22, 2021 at 10:40:56 AM UTC-5 freyr...@gmail.com wrote:

> hello people
>
> I need help with!
>  Oops, Unyson Backup requires PHP Zip module but it is not enabled on your 
> server. If you are not familiar with PHP Zip module, please contact your 
> hosting provider.
>
> can not find good enough information online.
>
> I have a videopro theme that raises this issue ..
>
> would be available for any assistance
>
> 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/641a0082-edce-49db-851e-d2d900d7cecan%40googlegroups.com.


[google-appengine] Re: Appengine deployment error

2021-01-28 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello Jagath,

The issue that I was referring to was related to deployment of applications 
in general and it was resolved yesterday. It appears that your question and 
scenario may be unrelated and needs to be investigated further. What is the 
actual error you are getting? Please provide a redacted version and we will 
look into this for you. I was under the impression that there was a 
configuration issue in your project and once you corrected it, you were 
able to deploy without a problem. It appears that I was mistaken and if 
this is the case, please tell. Google Groups is meant for general 
discussions but if you want to report a common issue, you may use Google 
Issue Tracker 
.

I will wait for your response and apologies if I misunderstood.

On Thursday, January 28, 2021 at 12:49:21 PM UTC-5 Jagath Weerasinghe wrote:

> Hello Elliot, 
>
> I guess the relevant engineering teams are aware of this issue, as we can 
> not keep skipping the cron job deployment like this. 
>
> Thanks, 
> Jagath
>
> On Thursday, January 28, 2021 at 6:31:13 PM UTC+1 Elliott (Cloud Platform 
> Support) wrote:
>
>> Hello Jagath,
>>
>> I’m glad that you were able to find the root cause of the deployment 
>> error and now you are able to deploy. You were correct to enable the API 
>> since you apparently needed it in your case.
>>
>> I was able to provide you with the publicly available information 
>> regarding the common issue reported on Tuesday and I hope it is no longer 
>> causing you difficulties.
>>
>> If you have similar issues in the future and wish to have a general 
>> discussion regarding that, you may create another Google Groups thread.
>>
>> Thank you for your patience and I wish you success in your application.
>>
>>
>> On Thursday, January 28, 2021 at 7:35:04 AM UTC-5 Jagath Weerasinghe 
>> wrote:
>>
>>> Hello, 
>>>
>>> Looks like deploying cron (no changes to cron jobs from our last 
>>> deployment) is the issue. I skipped cron and the deployment worked. 
>>> I had to enable cloudtasks.googleapis.com for deploying task queues. 
>>>
>>> Jagath
>>>
>>> On Thursday, January 28, 2021 at 9:37:08 AM UTC+1 Jagath Weerasinghe 
>>> wrote:
>>>
 Hello, 

 Thanks for the reply. We have several projects in us-central1 and 
 europe-west1 regions. All the projects experience the same issue. 
 We are running appengine standard version and we did not experience a 
 time-out issue recently. 

 Do you have more information about the issue. For example, whether the 
 issue is related only to the cron job deployment, if so, and if we skip 
 cron job deployment would the deployment still work? Or is there any other 
 workaround?

 Thank you, 
 Jagath


 On Wednesday, January 27, 2021 at 9:22:15 PM UTC+1 Elliott (Cloud 
 Platform Support) wrote:

> Hello
>
> Thank you for your question. I know it is frustrating when an app 
> cannot deploy. There was an issue yesterday for some App Engine Flexible 
> deployments that failed with a timeout. That issue with Google App Engine 
> was resolved for all affected projects as of Tuesday. I hope this did not 
> cause inconvenience to you.
>
> We appreciate your patience while we worked on resolving the issue.
>
> If you have other related questions, please let us know.
>
>
> On Wednesday, January 27, 2021 at 11:18:17 AM UTC-5 Jagath Weerasinghe 
> wrote:
>
>> Hi All, 
>>
>> We have been running appengine deployment smoothly till yesterday. 
>> Yesterday gcloud deploy started to complain about 
>> *cloudscheduler.googleapis.com 
>> . *I enabled the 
>> cloudscheduler APIs and retried the deployment. Then that error message 
>> disappeared but still, deployment fails with the following error. 
>>
>> Updating config [cron]...failed.  
>>  
>>
>>  
>> DEBUG: 'NoneType' object is not subscriptable
>>
>> We are using the latest cloud SDK version. 
>> gcloud version:
>>
>> Google Cloud SDK 325.0.0
>> alpha 2021.01.22
>> app-engine-java 1.9.84
>> app-engine-python 1.9.91
>> beta 2021.01.22
>> bq 2.0.64
>> core 2021.01.22
>> gsutil 4.58
>>
>> I would like to know whether any of you experienced the same issue. 
>> Any advice would be greatly appreciated. 
>>
>> Thanks,
>> Jagath
>>
>>

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

[google-appengine] Re: Appengine deployment error

2021-01-28 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello Jagath,

I’m glad that you were able to find the root cause of the deployment error 
and now you are able to deploy. You were correct to enable the API since 
you apparently needed it in your case.

I was able to provide you with the publicly available information regarding 
the common issue reported on Tuesday and I hope it is no longer causing you 
difficulties.

If you have similar issues in the future and wish to have a general 
discussion regarding that, you may create another Google Groups thread.

Thank you for your patience and I wish you success in your application.


On Thursday, January 28, 2021 at 7:35:04 AM UTC-5 Jagath Weerasinghe wrote:

> Hello, 
>
> Looks like deploying cron (no changes to cron jobs from our last 
> deployment) is the issue. I skipped cron and the deployment worked. 
> I had to enable cloudtasks.googleapis.com for deploying task queues. 
>
> Jagath
>
> On Thursday, January 28, 2021 at 9:37:08 AM UTC+1 Jagath Weerasinghe wrote:
>
>> Hello, 
>>
>> Thanks for the reply. We have several projects in us-central1 and 
>> europe-west1 regions. All the projects experience the same issue. 
>> We are running appengine standard version and we did not experience a 
>> time-out issue recently. 
>>
>> Do you have more information about the issue. For example, whether the 
>> issue is related only to the cron job deployment, if so, and if we skip 
>> cron job deployment would the deployment still work? Or is there any other 
>> workaround?
>>
>> Thank you, 
>> Jagath
>>
>>
>> On Wednesday, January 27, 2021 at 9:22:15 PM UTC+1 Elliott (Cloud 
>> Platform Support) wrote:
>>
>>> Hello
>>>
>>> Thank you for your question. I know it is frustrating when an app cannot 
>>> deploy. There was an issue yesterday for some App Engine Flexible 
>>> deployments that failed with a timeout. That issue with Google App Engine 
>>> was resolved for all affected projects as of Tuesday. I hope this did not 
>>> cause inconvenience to you.
>>>
>>> We appreciate your patience while we worked on resolving the issue.
>>>
>>> If you have other related questions, please let us know.
>>>
>>>
>>> On Wednesday, January 27, 2021 at 11:18:17 AM UTC-5 Jagath Weerasinghe 
>>> wrote:
>>>
 Hi All, 

 We have been running appengine deployment smoothly till yesterday. 
 Yesterday gcloud deploy started to complain about 
 *cloudscheduler.googleapis.com 
 . *I enabled the cloudscheduler 
 APIs and retried the deployment. Then that error message disappeared but 
 still, deployment fails with the following error. 

 Updating config [cron]...failed.

  

 DEBUG: 'NoneType' object is not subscriptable

 We are using the latest cloud SDK version. 
 gcloud version:

 Google Cloud SDK 325.0.0
 alpha 2021.01.22
 app-engine-java 1.9.84
 app-engine-python 1.9.91
 beta 2021.01.22
 bq 2.0.64
 core 2021.01.22
 gsutil 4.58

 I would like to know whether any of you experienced the same issue. Any 
 advice would be greatly appreciated. 

 Thanks,
 Jagath



-- 
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/3596dd4f-bafe-4c74-a6b0-f1354d3c64fen%40googlegroups.com.


[google-appengine] Re: Appengine deployment error

2021-01-27 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello

Thank you for your question. I know it is frustrating when an app cannot 
deploy. There was an issue yesterday for some App Engine Flexible 
deployments that failed with a timeout. That issue with Google App Engine 
was resolved for all affected projects as of Tuesday. I hope this did not 
cause inconvenience to you.

We appreciate your patience while we worked on resolving the issue.

If you have other related questions, please let us know.


On Wednesday, January 27, 2021 at 11:18:17 AM UTC-5 Jagath Weerasinghe 
wrote:

> Hi All, 
>
> We have been running appengine deployment smoothly till yesterday. 
> Yesterday gcloud deploy started to complain about 
> *cloudscheduler.googleapis.com 
> . *I enabled the cloudscheduler 
> APIs and retried the deployment. Then that error message disappeared but 
> still, deployment fails with the following error. 
>
> Updating config [cron]...failed.  
> 
>  
> DEBUG: 'NoneType' object is not subscriptable
>
> We are using the latest cloud SDK version. 
> gcloud version:
>
> Google Cloud SDK 325.0.0
> alpha 2021.01.22
> app-engine-java 1.9.84
> app-engine-python 1.9.91
> beta 2021.01.22
> bq 2.0.64
> core 2021.01.22
> gsutil 4.58
>
> I would like to know whether any of you experienced the same issue. Any 
> advice would be greatly appreciated. 
>
> Thanks,
> Jagath
>
>

-- 
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/04ed54ac-2f28-46ac-9165-019751bfa33dn%40googlegroups.com.


[google-appengine] Re: login: admin in python37

2021-01-25 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello Joshua,

I understand that you would like an easy way to implement authentication 
because you may not continue to use login: admin. I was able to confirm 
this. First, I would like to apologize for the inconvenience. There is no 
easy way other than to implement one of the options listed in this document 

.

You are presented with some options including Firebase Authentication, 
Google Sign-In and OAuth 2.0 and OpenID Connect. Each of these technologies 
are described in the document.

I would like your thoughts on the recommended ways so that we may find a 
solution that agrees with you.

I hope that we may now have enough to elaborate on this discussion.


On Friday, January 22, 2021 at 1:07:16 PM UTC-5 Joshua Smith wrote:

> In my quest to figure out how to keep using Google App Engine when 
> Python27 eventually goes away, I've just run into yet another case where 
> something simple seems to have been replaced with a nightmare of 
> complexity 
> 
> .
>
> In my old app.yaml, I had this:
>
> - url: /admin/.*
>   script: main.app
>   secure: always
>   login: admin
>
> Unfortunately, python37 doesn't support *login: admin* any more (!). I'm 
> facing a mountain of documentation detailing a bunch of different ways I 
> can do authentication now.
>
> Stack overflow is no help at all in simplifying this.
>
> Anyone here have advice on the *easiest possible way* to get the old 
> Python27 behavior that you have to be logged in as the app administrator in 
> order to hit a certain URL?
>
> This isn't for ensuring crons are only run by cron. That seems pretty easy 
> by looking at headers.
>
> This is for when you have administrative functions that only the 
> developers need access to, and I'm looking for the easiest way to ensure a 
> URL is only accessible to those particular people.
>
> In case it matters, I'm using Flask.
>
> -Joshua
>
>

-- 
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/05ac62c4-6c44-4e7b-8068-1601d6a4eef0n%40googlegroups.com.


[google-appengine] Re: NodeJS Datastore Transaction - .run() is confusing

2021-01-22 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello,

I understand that the transaction.get() method is buggy and it doesn’t have 
the documentation you need to productively use the API. It can be 
frustrating when something like this happens. But you’ve posted your 
concerns in the right place on github and the API team will certainly help 
you. We take the community’s feedback seriously and will take a course of 
action to get this sorted out for you. Again, thank you for your feedback 
because we use it to improve the quality of our products to the benefit of 
the community. If you have any more concerns, please let us know and we 
will gladly assist you then.

I hope this helps.


On Friday, January 22, 2021 at 11:41:32 AM UTC-5 kaan...@gmail.com wrote:

> My latest frustration: 
> https://github.com/googleapis/nodejs-datastore/issues/783
>
> Undocumented transaction.get() and unexpected behaviour
>
> On Tuesday, January 12, 2021 at 5:47:39 PM UTC+3 Elliott (Cloud Platform 
> Support) wrote:
>
>> Hello,
>>
>> Thank you for your question. I understand correctly, you would like to 
>> point out that there is a differing programming style between the two 
>> documents and you would like clarification on the examples provided.
>>
>> The best way to move forward is to create an issue on Github here 
>>  that will be 
>> addressed by the specialists. They deal with questions like yours and may 
>> guide you. I understand your frustration on this.
>>
>>
>>
>>
>>
>> On Tuesday, January 12, 2021 at 7:21:13 AM UTC-5 kaan...@gmail.com wrote:
>>
>>> I have to say the NodeJS Datastore methods is really not well thought, 
>>> at all - they are almost sadistic in nature
>>>
>>> .get() doesn't have a sync option, which is perfectly okay at this point 
>>> in time, almost all functions need to be async, might as well await
>>>
>>> However, what is not okay is that, it returns an array with only one 
>>> entity, even if you provide a single key to it
>>>
>>> So you always have to:
>>> ```
>>> var entity=await datastore.get(datastore.key(["Name","key"]));
>>> if(entity) entity=entity[0];
>>> ```
>>>
>>> The natural response is to return a singular entity, not an array with 
>>> one entity
>>> All the Python API's up to this point has been like this too, so the 
>>> expected response is this also
>>>
>>> At every point, I stop and ask
>>>
>>> [image: giphy.gif]
>>>
>>> On Sunday, January 10, 2021 at 9:20:02 PM UTC+3 Kaan wrote:
>>>
 Another confusing matter, do we .rollback() explicitly, even if the 
 exception is from the .commit() - I guess so - honestly they all make up a 
 huge code mess, it could've been simpler if the transaction routines were 
 actually transaction routines and these were automated? I guess one could 
 also easily write wrappers that do this

 So my point is, I guess it's not a transaction system exactly, but more 
 like a lock, lock-check, lock-release system - correct me if I missed 
 anything

 On Sunday, January 10, 2021 at 9:12:21 PM UTC+3 Kaan wrote:

> The docs here use .run() - more like a .start()-like command: 
> https://cloud.google.com/datastore/docs/concepts/transactions
>
> However the direct reference: 
> https://googleapis.dev/nodejs/datastore/latest/Transaction.html#run
>
> Uses .run(function(){ DO_THINGS_HERE_THEN_COMMIT }); kinda way
>
> So basically the App Engine examples use .run() like a formality, they 
> just call transaction's get methods etc. afterwards - but the direct docs 
> suggest everything to be inside .run()
>
> *Question:*  I'm guessing .run() is like a formality that starts a 
> transaction, the transaction.get()'s etc. lock entities, and if they are 
> modified outside, transaction fails? - so basically, instead of a 
> formality 
> .run() - the other transaction commands could've internally done this too
>
> And I also guess retries aren't a thing any more, so using .run() like 
> a formality goes - however, if the default approach was to put everything 
> inside the run()'s callback function, couldn't there be a retry parameter 
> too?
>


-- 
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/5d159112-b768-4b01-8567-34daabbb1483n%40googlegroups.com.


[google-appengine] Re: Memory of App increase

2021-01-22 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello,

I understand that you are having memory performance issues with your App 
Engine Standard application and you would like to download the source code.

I have found some information here 

 
indicating that the Cloud SDK does not support downloading the source code. 
I’m thinking that you do not have access to the original code that was 
deployed but if you do have access, I think this is your best option.

You mentioned that you have memory issues and you do not know why. To start 
the process to get the initial information, you may choose to view the logs 
according to this documentation 
.
 
Please do not post your project information in this thread but it will 
point you in the right direction. Right now, I see no common issue based on 
the information you provided.

Google Groups is meant for general discussions. If you wish some advice 
regarding the next steps after you look at the logs, please reply and we 
will gladly assist you then.


On Friday, January 22, 2021 at 11:56:03 AM UTC-5 sirk...@talk-point.de 
wrote:

> Hello Supportteam
>
> the memory consumption of my app increases by 22 times and i have no idea 
> why. Is there a way to download the source code of the previous deployed 
> version to compare the difference?
>
> The only thing i did the last days was updating dependencies.
>
> [image: image.png]
>
> 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/476d6cd5-f3f4-4e08-9c8c-8ff9ca6997b5n%40googlegroups.com.


[google-appengine] Re: GCP App Engine Standard shows zero instances after deployment

2021-01-21 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello,

To better serve you, I am directing you to Google Issue Tracker, where you 
may report common issues. Since Google Groups is meant for general 
discussions, the tracker is the best option for non-paid memberships to 
Google Cloud Platform. Please note that if the issue is determined to be 
related to your project specifically, you would need to go through the 
regular support channel as described in the previous post.

Thank you.
On Thursday, January 21, 2021 at 3:14:46 PM UTC-5 Elliott (Cloud Platform 
Support) wrote:

> Hello Sadanand,
>
> I create a Google Issue tracker for you. Please check your email and 
> respond in that forum. 
>
> On Thursday, January 21, 2021 at 10:42:06 AM UTC-5 Sadanand wrote:
>
>> Thank you for the quick response,
>> however it was working app , we have not even updated it recently, all 
>> off a sudden how come a working app will stop ?
>> and once its stopped , we thought or re-deployed again absolutely no 
>> change in code , we did that because restarting app engine didn't solve 
>>
>> so it is looking a strange issue
>>
>> On Wednesday, January 20, 2021 at 11:54:22 PM UTC+5:30 Elliott (Cloud 
>> Platform Support) wrote:
>>
>>> Hello,
>>>
>>> I understand that your NodeJS App Engine Standard application is not 
>>> working. To replicate your issue, I used the code found in the Google 
>>> Quickstart 
>>> 
>>>  
>>> with the app.yaml you provided in the Google Groups thread. I removed the 
>>> package.json file then deployed the application. It deployed well and the 
>>> web page is running.
>>>
>>> I cannot find a common issue at this time. So, it appears to me that 
>>> there is something going on in your project that is causing this 
>>> inconvenience. In this case, I would suggest for you to use the regular 
>>> channel of support here .
>>>
>>> I hope this helps.
>>>
>>>
>>> On Wednesday, January 20, 2021 at 10:46:35 AM UTC-5 Sadanand wrote:
>>>
 Dear All,

 we are using GCP App Engine, Flex for multiple apps since 3+ years and 
 they are working with no issues
 and we have one small app for which we are using App Engine , Standard 
 , that was working fine since 3+ years, 

 All off a sudden App Engine , Standard instance stopped working, we 
 tried restarting the engine but it still fails.

 We re-deployed the app but it stills fails. Interesting observation is 
 the deployment is successful however it always show number of instances as 
 zero. 

 Kindly help me to resolve this as early as possible, because our 
 production instance is down now.

 app.yaml file content is as follows
 runtime: nodejs10
 env: standard
 instance_class: B2
 handlers:
   - url: /.*
 script: auto
 basic_scaling:
   max_instances: 2

 Thanks
 Sadanand
 Co-Founder, SociallyGood




-- 
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/a2e914aa-cf5d-46f0-8ec7-3aef6f4ff51an%40googlegroups.com.


[google-appengine] Re: GCP App Engine Standard shows zero instances after deployment

2021-01-21 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello Sadanand,

I create a Google Issue tracker for you. Please check your email and 
respond in that forum. 

On Thursday, January 21, 2021 at 10:42:06 AM UTC-5 Sadanand wrote:

> Thank you for the quick response,
> however it was working app , we have not even updated it recently, all off 
> a sudden how come a working app will stop ?
> and once its stopped , we thought or re-deployed again absolutely no 
> change in code , we did that because restarting app engine didn't solve 
>
> so it is looking a strange issue
>
> On Wednesday, January 20, 2021 at 11:54:22 PM UTC+5:30 Elliott (Cloud 
> Platform Support) wrote:
>
>> Hello,
>>
>> I understand that your NodeJS App Engine Standard application is not 
>> working. To replicate your issue, I used the code found in the Google 
>> Quickstart 
>> 
>>  
>> with the app.yaml you provided in the Google Groups thread. I removed the 
>> package.json file then deployed the application. It deployed well and the 
>> web page is running.
>>
>> I cannot find a common issue at this time. So, it appears to me that 
>> there is something going on in your project that is causing this 
>> inconvenience. In this case, I would suggest for you to use the regular 
>> channel of support here .
>>
>> I hope this helps.
>>
>>
>> On Wednesday, January 20, 2021 at 10:46:35 AM UTC-5 Sadanand wrote:
>>
>>> Dear All,
>>>
>>> we are using GCP App Engine, Flex for multiple apps since 3+ years and 
>>> they are working with no issues
>>> and we have one small app for which we are using App Engine , Standard , 
>>> that was working fine since 3+ years, 
>>>
>>> All off a sudden App Engine , Standard instance stopped working, we 
>>> tried restarting the engine but it still fails.
>>>
>>> We re-deployed the app but it stills fails. Interesting observation is 
>>> the deployment is successful however it always show number of instances as 
>>> zero. 
>>>
>>> Kindly help me to resolve this as early as possible, because our 
>>> production instance is down now.
>>>
>>> app.yaml file content is as follows
>>> runtime: nodejs10
>>> env: standard
>>> instance_class: B2
>>> handlers:
>>>   - url: /.*
>>> script: auto
>>> basic_scaling:
>>>   max_instances: 2
>>>
>>> Thanks
>>> Sadanand
>>> Co-Founder, SociallyGood
>>>
>>>
>>>

-- 
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/dad47243-65b5-48c6-8407-b93774aaed5dn%40googlegroups.com.


[google-appengine] Re: Unable to access GAE API URLs getting DNS_PROBE_FINISHED_NXDOMAIN error

2021-01-21 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello,

I noticed a duplicate question here 
 that will 
contain future thread updates. You may follow the progress there.

On Thursday, January 21, 2021 at 10:39:46 AM UTC-5 finomobi...@gmail.com 
wrote:

> Hi, I have a website and microservices deployed in Google App Engine
>
> In some mobile and laptop it is throwing error
> DNS_PROBE_FINISHED_NXDOMAIN
>
> since I have number of user I can use DNS Flush solution in every laptop 
> and mobile.
>
> Can you guide, how to solve this 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/0c470018-d305-4eae-80a9-a5dfeae522ccn%40googlegroups.com.


[google-appengine] Re: TaskQueues vs Cloud Tasks std env

2021-01-21 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello,

I was able to reproduce the scenario from your description regarding the 
Cloud Tasks API and the Cloud Scheduler API. You are correct.

I then did some research and found out that the new user interface (UI) 
uses the Cloud Tasks API. Although the migration to Cloud Tasks is not 
mandatory right now, the API will need to be enabled in anticipation. This 
is part of the path to the eventual adoption of Cloud Tasks.


You’ve stated that Cloud Tasks are missing some features that are present 
in TaskQueue such as transactional tasks and that that pricing would be a 
point not to use it. This is good feedback and I encourage you to 
contribute a feature request 
 to describe your 
ideas.


I hope this did not cause inconvenience on your part and if you have any 
related questions about this, you may post again.


On Wednesday, January 20, 2021 at 4:11:17 PM UTC-5 linus@epspot.com 
wrote:

> For appengine std env the TaskQueue page in console has been removed, 
> instead you get redirected to the Cloud Task page. However before I can 
> visit that page I need to enable the Cloud Task api for my project.
>
> AFAIK we are not yet forced to swap TaskQueues to CloudTasks, in fact 
> CloudTasks still lacks some features present in TaskQueue (transactional 
> tasks for example), also pricing would be an argument not to use CloudTask.
>
> Anyhow, I don't understand why I need to enable an API that I'm not even 
> sure to use just to be able to run some of my TaskQueues manually in the 
> web console?
>
> Cron page has also been moved to CloudScheduler page, however there I 
> didn't need to enable CloudScheduler api to be able to run crontabs in web 
> console.
>
> / Linus
>
>
>

-- 
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/ca4bef9e-12b4-4bff-9735-926af9d30951n%40googlegroups.com.


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

2021-01-20 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello Azrayl,

I understand that you would like to block your web application from being 
indexed by Google and you are using a subdomain of a custom domain.

I was able to find some information indicating several techniques here[1 

][2 
]
 
but please note that blocking indexing is not related to Google App Engine, 
rather Search Engine Optimization. Google App Engine is just where 
applications live.

>From the first link we see advice that you may add a noindex meta tag to 
the page’s HTML code.

You may additionally return a noindex header in the HTTP request. They go 
on to say that when the Googlebot sees the tag or header, it will ignore 
that page and not place it in Google Search results.

I’ve found webmaster forums 
 
that you may use for further questions. I invite you to tell them what 
you’ve tried to stop indexing your application. Maybe you were initially on 
the proper track. As this Google Group is meant for App Engine, perhaps 
those forums would be better suited.

I hope this helps.


On Wednesday, January 20, 2021 at 11:07:02 AM UTC-5 Azrayl wrote:

> 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/88f247ac-c079-47dd-968a-69c34c147d2bn%40googlegroups.com.


[google-appengine] Re: GCP App Engine Standard shows zero instances after deployment

2021-01-20 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello,

I understand that your NodeJS App Engine Standard application is not 
working. To replicate your issue, I used the code found in the Google 
Quickstart 

 
with the app.yaml you provided in the Google Groups thread. I removed the 
package.json file then deployed the application. It deployed well and the 
web page is running.

I cannot find a common issue at this time. So, it appears to me that there 
is something going on in your project that is causing this inconvenience. 
In this case, I would suggest for you to use the regular channel of support 
here .

I hope this helps.


On Wednesday, January 20, 2021 at 10:46:35 AM UTC-5 Sadanand wrote:

> Dear All,
>
> we are using GCP App Engine, Flex for multiple apps since 3+ years and 
> they are working with no issues
> and we have one small app for which we are using App Engine , Standard , 
> that was working fine since 3+ years, 
>
> All off a sudden App Engine , Standard instance stopped working, we tried 
> restarting the engine but it still fails.
>
> We re-deployed the app but it stills fails. Interesting observation is the 
> deployment is successful however it always show number of instances as 
> zero. 
>
> Kindly help me to resolve this as early as possible, because our 
> production instance is down now.
>
> app.yaml file content is as follows
> runtime: nodejs10
> env: standard
> instance_class: B2
> handlers:
>   - url: /.*
> script: auto
> basic_scaling:
>   max_instances: 2
>
> Thanks
> Sadanand
> Co-Founder, SociallyGood
>
>
>

-- 
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/e44cd5cf-52e3-4113-8253-291b58adcab9n%40googlegroups.com.


[google-appengine] Re: Modify Datastore Admin Backup Built-in Taskqueue

2021-01-19 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello,

I understand that you to want to export the data from Cloud Datastore that 
has a specific date range you that may specify programmatically such as the 
example:

/_ah/datastore_admin/backup.create?name=MyBackup=12-01-20=01-12-21

I did some research into this and found that the backup URL is meant to be 
done automatically. I was wanting to share some documentation available to 
the public on the details but since this is not standard, examples are 
limited. So to evolve this conversation and provide advice to you, can you 
please provide the documentation you found to illustrate your use case?

I have found that it may be possible to use the URL with parameters 
,
 
but I am unable to verify this using official documentation. So it may not 
work.


I have looked at Cloud Datastore Admin as an option but it is deprecated 
.
 
I would suggest looking into the new method of exporting as backup 
.

To add value to this thread, I was able to find a thread with an accepted 
answer relating to a similar question 

 
indicating the Cloud Datastore Admin is deprecated and that upgrading to 
the Cloud Datastore export service was recommended.

I hope this helps.


On Tuesday, January 19, 2021 at 10:10:50 AM UTC-5 ray.a...@gmail.com wrote:

> Hello everyone,
>
> I have some questions regarding the datastore backup. I'm wondering if we 
> can modify or override the built-in task queue on datastore admin 
> */_ah/datastore_admin/backup.create?*
>
> What I want to do when exporting the data from datastore is that I would 
> only need to export the data that has specific date range that I specify. I 
> saw on the documentation that you can pass a parameter to the URL. Is its 
> possible to pass the parameter on the date range like this one?
>
> */_ah/datastore_admin/backup.create?name=MyBackup=12-01-20=01-12-21.*
>
> Please let me know if I miss something.
>
> Thanks a lot
> Ray
>

-- 
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/8587eb9c-ce18-400b-aa8b-2f7893715749n%40googlegroups.com.


[google-appengine] Re: Could you suggest me a suitable solution on GCP?

2021-01-19 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello Jaromir,

I understand that you would like some advice on running your Spring Boot 
application on Google Cloud Platform. There are a few ways you can do this. 
For example, you may use Google App Engine Standard or Google Google 
Kubernetes GKE, both having tutorials here 
.

To offer the best advice, what are your concerns specifically? Maybe after 
using the information from the links, you would be more sure.

The community would recommend an environment but if you provide your use 
case, it will be easier.

For example, for Google App Engine Standard, applications can be easy to 
create. Since this is managed, the app may be simple to maintain and scale 
depending on traffic and data. You don’t need to maintain a server. In 
theory, you upload your app and that’s it.


On Monday, January 18, 2021 at 2:35:57 PM UTC-5 behav...@gmail.com wrote:

>
> Hi,
> I have a Spring boot application that produce small public REST API. Is 
> written in Java11 and I would like to run it in Apache Tomcat 9.x .
>
>
> Could you recommend me , which environment should I use on GCP? 
>
> I started with App Engine (standard environment), but I am not sure if it 
> is suitable form java + spring application.
>
> I would like to run my app in 1 instance, later (if  will be necessary ) 
> to scale in more instance.
>
> Thanks for advice.
> Jaromir
>
>

-- 
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/ed3c61ba-314c-4620-881f-2c7a7470af66n%40googlegroups.com.


[google-appengine] Re: dev_appserver.py says Unknown runtime 'python38'

2021-01-13 Thread 'Elliott (Cloud Platform Support)' via Google App Engine

Hello,

I understand that you want to use the dev_appserver to test your 
application but you receive an error that version 3.8 of python is not 
found.

I have found a thread in Stackoverflow with the same question and you 
proposed information here 

.

I believe that Stackoverflow is the correct forum that you chose and all 
future interactions will be done in that thread.

But for best practices since Google Groups is meant for general 
discussions, I would suggest from this document 

:

To test your application's functionality before deploying, run your 
application in your local environment with the development tools that you 
usually use. We recommend that you use standard Python tools, such as 
virtualenv to create isolated environments and pytest to run unit tests and 
integration tests, rather than depending on dev_appserver, the local 
development server provided with the Google Cloud SDK.

On Wednesday, January 13, 2021 at 11:32:16 AM UTC-5 Boro wrote:

> I'm trying to upgrade the GAE runtime on several python projects from 
> python37 to python38.
> I've used dev_appserver.py to test the apps locally before we deploy but 
> I'm getting an unknown runtime error after changing the runtime to 
> python38. Python 3.8 should be a supported runtime according to the appengine 
> docs 
> 
> .
>
> I've also updated all gcloud cli components to the latest version. Is this 
> just something that's been changed/deprecated and I'm just not aware of it? 
> or is it actually a bug and missing from the `dev_appserver.py` tool?
>
> Any help would be appreciated! :)
>
>
> ```
> RuntimeError: Unknown runtime 'python38'; supported runtimes are 'custom', 
> 'go', 'go111', 'java', 'java7', 'java8', 'php55', 'php72', 'python', 
> 'python-compat', 
> 'python27', 'python37'.
> ```
>
>
> Full traceback:
>
> ```
> Traceback (most recent call last):
>   File "/mnt/c/Users/Admin/AppData/Local/Google/Cloud 
> SDK/google-cloud-sdk/platform/google_appengine/dev_appserver.py", line 96, 
> in 
> _run_file(__file__, globals())
>   File "/mnt/c/Users/Admin/AppData/Local/Google/Cloud 
> SDK/google-cloud-sdk/platform/google_appengine/dev_appserver.py", line 90, 
> in _run_file
> execfile(_PATHS.script_file(script_name), globals_)
>   File "/mnt/c/Users/Admin/AppData/Local/Google/Cloud 
> SDK/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/devappserver2.py",
>  
> line 613, in 
> main()
>   File "/mnt/c/Users/Admin/AppData/Local/Google/Cloud 
> SDK/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/devappserver2.py",
>  
> line 601, in main
> dev_server.start(options)
>   File "/mnt/c/Users/Admin/AppData/Local/Google/Cloud 
> SDK/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/devappserver2.py",
>  
> line 373, in start
> options.api_host, apiserver.port, wsgi_request_info_)
>   File "/mnt/c/Users/Admin/AppData/Local/Google/Cloud 
> SDK/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/dispatcher.py",
>  
> line 259, in start
> ssl_port)
>   File "/mnt/c/Users/Admin/AppData/Local/Google/Cloud 
> SDK/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/dispatcher.py",
>  
> line 396, in _create_module
> ssl_port=ssl_port)
>   File "/mnt/c/Users/Admin/AppData/Local/Google/Cloud 
> SDK/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/module.py",
>  
> line 1313, 
> in __init__
> super(AutoScalingModule, self).__init__(**kwargs)
>   File "/mnt/c/Users/Admin/AppData/Local/Google/Cloud 
> SDK/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/module.py",
>  
> line 599, in __init__
> self._module_configuration)
>   File "/mnt/c/Users/Admin/AppData/Local/Google/Cloud 
> SDK/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/module.py",
>  
> line 226, in _create_instance_factory
> sorted(repr(k) for k in runtime_factories.FACTORIES
> RuntimeError: Unknown runtime 'python38'; supported runtimes are 'custom', 
> 'go', 'go111', 'java', 'java7', 'java8', 'php55', 'php72', 'python', 
> 'python-compat', 
> 'python27', 'python37'.
> ```
>

-- 
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/3838d7f4-1ab1-48a6-8840-a6700c4161c9n%40googlegroups.com.


[google-appengine] Re: NodeJS Datastore Transaction - .run() is confusing

2021-01-12 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello,

Thank you for your question. I understand correctly, you would like to 
point out that there is a differing programming style between the two 
documents and you would like clarification on the examples provided.

The best way to move forward is to create an issue on Github here 
 that will be 
addressed by the specialists. They deal with questions like yours and may 
guide you. I understand your frustration on this.





On Tuesday, January 12, 2021 at 7:21:13 AM UTC-5 kaan...@gmail.com wrote:

> I have to say the NodeJS Datastore methods is really not well thought, at 
> all - they are almost sadistic in nature
>
> .get() doesn't have a sync option, which is perfectly okay at this point 
> in time, almost all functions need to be async, might as well await
>
> However, what is not okay is that, it returns an array with only one 
> entity, even if you provide a single key to it
>
> So you always have to:
> ```
> var entity=await datastore.get(datastore.key(["Name","key"]));
> if(entity) entity=entity[0];
> ```
>
> The natural response is to return a singular entity, not an array with one 
> entity
> All the Python API's up to this point has been like this too, so the 
> expected response is this also
>
> At every point, I stop and ask
>
> [image: giphy.gif]
>
> On Sunday, January 10, 2021 at 9:20:02 PM UTC+3 Kaan wrote:
>
>> Another confusing matter, do we .rollback() explicitly, even if the 
>> exception is from the .commit() - I guess so - honestly they all make up a 
>> huge code mess, it could've been simpler if the transaction routines were 
>> actually transaction routines and these were automated? I guess one could 
>> also easily write wrappers that do this
>>
>> So my point is, I guess it's not a transaction system exactly, but more 
>> like a lock, lock-check, lock-release system - correct me if I missed 
>> anything
>>
>> On Sunday, January 10, 2021 at 9:12:21 PM UTC+3 Kaan wrote:
>>
>>> The docs here use .run() - more like a .start()-like command: 
>>> https://cloud.google.com/datastore/docs/concepts/transactions
>>>
>>> However the direct reference: 
>>> https://googleapis.dev/nodejs/datastore/latest/Transaction.html#run
>>>
>>> Uses .run(function(){ DO_THINGS_HERE_THEN_COMMIT }); kinda way
>>>
>>> So basically the App Engine examples use .run() like a formality, they 
>>> just call transaction's get methods etc. afterwards - but the direct docs 
>>> suggest everything to be inside .run()
>>>
>>> *Question:*  I'm guessing .run() is like a formality that starts a 
>>> transaction, the transaction.get()'s etc. lock entities, and if they are 
>>> modified outside, transaction fails? - so basically, instead of a formality 
>>> .run() - the other transaction commands could've internally done this too
>>>
>>> And I also guess retries aren't a thing any more, so using .run() like a 
>>> formality goes - however, if the default approach was to put everything 
>>> inside the run()'s callback function, couldn't there be a retry parameter 
>>> too?
>>>
>>

-- 
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/a090f13b-0a4b-45b1-8847-1e4ed28df52bn%40googlegroups.com.


[google-appengine] Re: BS Limits of Cloud Firestore - And the Inability to Horizontally Scale

2021-01-11 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello,

I understand that you are concerned about 10,000/s writes per second limit 
to the entire Cloud Firestore database. I was able to confirm this behavior 
here  
and I do apologize for the frustration this is causing you. All projects 
grow and because of this, limits will be reached as time goes on. I have 
consulted the information I have and found an opportunity provide you with 
an existing feature request  but 
please note that there is no ETA no guarantee that it will be implemented.

You have suggested other improvements you wish to make and the best way 
forward is to use Google Issue Tracker 
 to initiate the 
process.

Again, I know you put a lot of thought when you reached out to us. If you 
require any further assistance please let us know.



On Saturday, January 9, 2021 at 10:40:54 AM UTC-5 kaan...@gmail.com wrote:

> A bit constructive criticism, my solution approach would be
>
> *1)* Make Datastore Mode default, don't confuse anyone
> *2)* Make it easier to create and connect to other databases
> *3)* Make it possible to change the default database (People could use 
> Datastore Mode, create a Native one, migrate their data within their app, 
> switch the Native to be the default, easy peasy, or they could just use 
> them both)
> *4)* (Comes with 2) Make sure new developers have a development database 
> too, a live database they use for development, and maybe set 
> the GOOGLE_APPLICATION_CREDENTIALS etc. automatically, or make things more 
> practical
>
> I currently created another project for development, and using it's 
> Datastore mode for the time being - it's my step *(4)* - so it was needed 
> anyway
>
> *(4) *Goes into the territory of the currently "you're on your own" local 
> development approach - just hold their hands, most integrations are there 
> anyway, back in the day they were local, with more complicated products, 
> it's obviously separate  live databases, buckets etc. to be used for 
> development, that they can access locally (when online)
>
> Still, it's* really sad* that I can't use a new product, maybe I'm 
> autistic and I can't get over this fact, but *is there really a 
> database-wide limit of 10,000/s writes?* If I commit to the old Datastore 
> Mode, and if this limit gets removed in the future, I'll literally cry
>
> On Saturday, January 9, 2021 at 5:40:57 PM UTC+3 Kaan wrote:
>
>> I guess if we could just use multiple databases, and also easily change 
>> the default database, this kind of heartbreak would be prevented
>>
>> As I see, I made a mistake by choosing the Native option, my approach is 
>> to have scalability, and from experience, that 10,000/s limit just makes 
>> the native mode a good fit for highly agile / practical but small apps, 
>> rather than anything that processes data or scales
>>
>> For example, one could create 10 firestore databases, and just use them 
>> to broadcast data to 10 million people, for that use case, it's very 
>> practical
>>
>> But for an actual heart of a project, it will just result in a heart 
>> attack and early death
>>
>> Since my databases are empty, I hope I can easily fix the mistake, I 
>> guess I'll open a ticket, maybe delete/re-create the apps etc.
>>
>> On Saturday, January 9, 2021 at 5:25:38 PM UTC+3 Kaan wrote:
>>
>>> I probably originally read this article, and since it's always best to 
>>> use new technologies, I picked the native mode: 
>>> https://cloud.google.com/datastore/docs/firestore-or-datastore
>>>
>>> In the above article, you can't see the 10,000/s limit, which is 
>>> basically a *MAJOR* bottleneck, I mean, even in my 10 year old app, I 
>>> do more than 10,000/s writes throughput-wise, with mapreduce-like tasks ...
>>>
>>> On Saturday, January 9, 2021 at 5:20:00 PM UTC+3 Kaan wrote:
>>>
 In this age, 1,000,000 concurrent connections is the dream, so let's 
 ignore that

 But, *10,000/s writes per second to the entire database* - what kind 
 of a funny limit is that?

 I mean it's really agony having to make binding database decisions like 
 this, and after making these decisions, discovering (or in my case, I 
 assume re-discovering, I don't recall seeing this absurd limit when I 
 first 
 selected Cloud Firestore) these limits

 For get 1,000,000 concurrent users, with 100,000 active 
 users/players/clients-whatever - that *10,000/s* limit just takes App 
 Engine from infinitely scalable to a joke

 We can't horizontally scale either, not possible to create more 
 databases, but even if you could, the 10,000/s limit would need you to 
 scale everything horizontally, even just authenticating the users etc.

 Also there's the attack possibilities, just 2,000 people could come 
 together, just make regular requests to your 

[google-appengine] Re: Cloud Functions - safe for a key?

2021-01-11 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello,

I’d like to address your questions but before I do, I would like you to 
know that there would be no by and large answer on security. It depends on 
your requirements. Depending on the answers to some questions, I would be 
guiding you to a point where you may benefit.

To begin, you mentioned that you wish to use a service key to your Cloud 
Function.

Is there a reason why you chose this approach in that a Cloud Function has 
a service account?
Why are you using a Cloud Function to store your key?
What specific security concerns do you have? 

I was able to look further and was suggested this thread here 

 
that has several views that may assist you. Perhaps it may provide you with 
further insight.

Encrypt your service account credential json file using Cloud KMS/vault and 
upload it to Cloud Storage.
Fetch service account credential json file from Cloud Storage and decrypt 
it using a Cloud KMS service account which has encrypt/decrypt permission.
Parse service account credential json file at runtime and get private_key, 
client_email and ProjectId.
Pass these three secret variables to the client library
We must not store secret things like plain text, e.g cloud function 
environment variables.

I hope this helps.


On Monday, January 11, 2021 at 9:16:31 AM UTC-5 ajdav...@gmail.com wrote:

> Hi there,
>
> I'm pretty new so please pardon if this is a stupid question. I seem to 
> get led astray when looking for security info too. 
>
> Is it safe to store a key as part of a package published to Google Cloud 
> Functions? Specifically this would be a key used for a Google service 
> account as part of a GCP project. 
>
> If not natively, is there anything I could do to make it 'safe' or is it 
> generally a bad idea all around?
>
> Nothing super sensitive to be done by the function but still would prefer 
> it to run with minimal risk of interference. 
>
> 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/91624061-208d-4652-93bb-541c5348e061n%40googlegroups.com.


[google-appengine] Re: Issues accessing backend API deployed in App Engine

2021-01-11 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello,

I understand that when you are placing a request using postman, it remains 
in “sending request” for a long time.

I am unable to find a common issue at this time that would cause the 
behavior you are describing. Also, Google Groups is meant for general 
discussions.

To move this along and narrow down the focus, I would suggest while sending 
your request, open Postman Console (View > Show Postman Console), resend 
the request and check for any error logs in the console. 

This way, we will be able to get extra information that may help isolate 
the problem.


On Monday, January 11, 2021 at 9:16:40 AM UTC-5 song...@gmail.com wrote:

> Hi All,
>
> I have a set of Backend springboot application deployed successfully 
> deployed in the APP engine. However, when i tried to access the one of the 
> backend API in the postman, the request does not return, the postman 
> remains in "sending request" for a long time.
>
> As you can see from the GCP logs below, my backed service is running.
>
> May i know if anyone encounter the same issue before whereby the service 
> is deployed successfully in the APP engine, but request cannot be made and 
> no timeout is thrown either. 
>
> Thanks in advance!
>
> 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/b5762c09-14ee-4b19-a2bd-f33f2d4cabben%40googlegroups.com.


[google-appengine] Re: Deploy app into two environments: Staging and Production.

2021-01-07 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello Bill,

I was able to find the information you need at least to get started. The 
following document 

 
describes what a project is and how you may use one or more than one 
depending on your use case. Since you want two urls, each environment has 
its own URL.

“You control the scope of your projects. A single project might contain 
multiple separate apps, or conversely a single app might include several 
projects. Projects can contain resources spread across multiple regions and 
geographies.”

The article goes on and provides a recommendation…

“to have one project per application per environment. For example, if you 
have two applications, "app1" and "app2", each with a development and 
production environment, you would have four projects: app1-dev, app1-prod, 
app2-dev, app2-prod.”

The reason is that the environments will be isolated from each other to 
prevent changes from one application affecting the other.

The article gives an example that you may “grant all developers access to 
development projects but restrict production access to your CI/CD pipeline.”

The article goes on that your project structure depends on your business 
case and requirements.

There is an example structure here 

.


You also asked about having separate app.yaml and cloud_build.yaml files. 
>From my understanding, it is possible to have separate configuration files 
in each project. 

I hope I provided the information you need.




On Thursday, January 7, 2021 at 9:52:54 AM UTC-5 Bill wrote:

> Hello,
>
> I have a Laravel app with app.yaml and cloud_build.yaml files. I need to 
> deploy the master branch to production and dev branch to staging. Such that 
> each environment has its own URL.
>
> Do I need a separate Cloud Project for each environment? Or I can use the 
> same App Engine to host both the Production and Staging?
>
> If I need two separate projects, how can I have two app.yaml and two 
> cloud_build.yaml files?
>
>
> Regards
> Bilal Haidar
>

-- 
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/c4760782-abf3-4722-8951-afab3c577fa5n%40googlegroups.com.


[google-appengine] Re: What's the best way to keep Requirements up-to-date?

2021-01-07 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello Alex,

>From your description, you’ve decided not to version your requirements.txt 
in Python. This is not a crazy approach but there are alternatives. I’m 
assuming you’re using App Engine Flex. I was able to find a document here 

 
that describes that you do not need to specify a version but indicates why 
it would work in some cases. The following information that I found highly 
suggests using a virtual environment in Python.

It reads:

Specifying a version is not a requirement though it does help a lot in the 
future. Some versions of packages will not work well with other packages 
and their respective versions. It is hard to predict how changes in the 
future will affect these interrelationships. This is why it is very 
beneficial to create a snapshot in time (in your requirements.txt) showing 
which version interrelationships do work.

There is an approach for best practices in this thread regarding your 
concern of breaking change in a package update and explains virtual 
environments:

it's a good idea to get into the habit of using virtual environments to 
avoid dependency issues, especially when developing your own stuff. 
Anaconda offers a simple solution with the conda create command, and 
virtualenv works great with virtualenvwrapper for a lighter-weight 
solution. Another solution, pipenv, is quite popular.

There is further explanation:

A tip - you should aim to be using a virtual environment for each 
individual project that you'll be working on. This creates a 'bubble' for 
you to work within and to install specific package versions in, without it 
affecting your other projects. It will save you a lot of headaches in the 
future as your packages and versions will be kept project specific. 

There is a way in this thread 

 
on how to check if the packages in your requirements.txt are up to date. 
You may choose to act on them as described.

$ pip list --outdated

You have described how you are working with three projects to implement 
your non-versioning scenario on Google Cloud Platform but I am unclear 
about your question. Can you tell me more about how you are validating the 
application and building to production so I may research?


On Wednesday, January 6, 2021 at 11:32:13 AM UTC-5 Alex wrote:

> Hi all, 
>
> Would love to hear your views on this. I run a Python app on GAE. I have 
> quite a few packages in my requirements.txt file, and I made the choice to 
> not version them. Which I understand means the latest version of each 
> requirement at the time of the project build will be used. 
>
> • Is that a crazy approach? I feel like I would not otherwise make the 
> effort of tracking packages updates and changing versions numbers. 
>
> It of course raises the issue of possible breaking change in a package 
> update - and that happened to me already. 
> • I'm looking for best practices on how to mitigate that. 
>
> I'm using three different projects for my app: one is a dev environment, 
> and I have a staging and production project. 
>
> I would ideally like to keep requirements non-versioned in dev, but to 
> freeze a version for staging and prod. So that I don't get into the 
> situation where I may have validated the app in staging, then build to Prod 
> with a significant package change. 
>
> • What approach would you suggest? I'm looking for something I can 
> automate - as I'm already using CloudBuild automation to build and deploy 
> in staging and prod. 
>
>
> 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/e1f6f329-7faf-4d5a-9d26-461255609c33n%40googlegroups.com.


[google-appengine] Re: Cloudbuild pipeline error

2021-01-05 Thread 'Elliott (Cloud Platform Support)' via Google App Engine

Hello,

The error you mentioned,

"Error creating Job: googleapi: Error 404: The project  does not 
contain an App Engine application. Please visit 
https://console.developers.google.com/appengine?project= to to add an 
App Engine application."

indicates that there may be resources you are using that may be dependent 
on Google App Engine. The first step is to know what resources are in your 
pipeline that are being built. From the information you provided, I have 
not found any common issue at this time that may cause 

the error you reported. So this is why I am leaning towards the resources 
of the build process. The best way to move forward, since Google Groups is 
meant for general discussions, is to open a thread on Stackoverflow 
 in order to go through your build process and 
to isolate the 

cause. 

This way, you may get the help of the programming community to further 
diagnose the build steps. I am unable to provide a fix now because there is 
no sufficient information about your build steps.

On Tuesday, January 5, 2021 at 9:34:05 AM UTC-5 danis...@ingka.com wrote:

> Hi,
>
> While trying to deploy our pipeline using cloudbuild.yaml, it is throwing 
> an error as:
>
> Error creating Job: googleapi: Error 404: The project  does not 
> contain an App Engine application. Please visit 
> https://console.developers.google.com/appengine?project= to to add an 
> App Engine application.
> The pipeline does not contain anything related to App Engine and still it 
> gives an error relating to it.
>
> Could you please suggest a possible fix for this?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/d7287dd7-d614-4f58-87d8-da141f295514n%40googlegroups.com.


[google-appengine] Re: NTP time synchronization on App Engine

2020-12-22 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello,

After looking at your question, I am not able to find public documentation 
you may use as a reference. I am sorry that this may not be the response 
you are looking for but it is something we may work on in the future. If 
you have specific concerns about your project, I believe that for the best 
way to move forward is to create a feature request, which I have done here 
 to have this documented in the 
future.

Please note that even though the request will be prioritized, there is no 
guarantee or ETA that it may be implemented.

I hope that I have helped in this way.

On Tuesday, December 22, 2020 at 12:12:49 PM UTC-5 
patrice@experquiz.com wrote:

> We have a large application hosted on Google App Engine, that is being 
> audited by one of our clients.   The auditor is asking whether GAE servers 
> have NTP time synchronization.   I am sure they do, but could someone point 
> out a document that would mention this, that we could use as a reference ? 
> What I have found so far:
> 1) 
> https://stackoverflow.com/questions/18264338/google-appengine-server-instance-clock-synchronization
> 2) 
> https://cloudplatform.googleblog.com/2015/05/Got-a-second-A-leap-second-that-is-Be-ready-for-June-30th.html
>  
> 
> Very interesting read, but it does not exactly say that there is time 
> synchronization.
> Anything better ?
> Many 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/36799bce-782e-4eab-a269-f40c19d11d4an%40googlegroups.com.


[google-appengine] Re: My server can't connect to ssh, please deal with it

2020-12-21 Thread 'Elliott (Cloud Platform Support)' via Google App Engine

Hello,

I am assuming you are using a Google Compute VM instance. Please correct me 
if I’m wrong. 

The first thing you can check is to ping your instance. Pinging the server 
excludes an error in 

networking. You may ping your server with the command without the quotes 
and replace the [ip 

address] with that of your server:

“ping [ip address of server]”

If it is successful, that means the server is online. If it is not, please 
check to see if your server 

is running in the Google Cloud Console[1].

The next step is to check your firewall settings. An explanation may be 
that there is an issue 

with firewall rules. Perhaps the rule that allows SSH connections is either 
disabled or deleted in 

the Cloud Console. You may check existing rules by the command using the 
Google Cloud 

SDK without the quotes:

“gcloud compute firewall-rules list”

Another scenario may be that there is a firewall rule on your premises that 
is preventing the 

connection.

Depending on the error message, I’ve found a document here that describes 
troubleshooting 

steps[2].

Again, this is the advice I can give at this moment.

I hope this helps.



[1] https://cloud.google.com/compute/docs/console
[2] 
https://cloud.google.com/compute/docs/troubleshooting/troubleshooting-ssh

On Monday, December 21, 2020 at 12:29:16 PM UTC-5 yujbfbvd...@gmail.com 
wrote:

> My server can't connect to ssh, please deal with it  
>

-- 
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/62e3aaad-bf83-4666-b407-a5ec6e268cben%40googlegroups.com.


[google-appengine] Re: Run Jenkins on Google App Engine Standard environment

2020-12-17 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello,

Thank you for the information you provided. I was able to find a tutorial 
on how to use Jenkins with Cloud Run here 
.
 
The guide explains how to build docker image in dockerized Jenkins, push 
image to Google Container Registry and deploy it to Cloud Run.

I believe that Cloud Run would be appropriate for your use case since it 
can scale down to zero. Look here .

Cloud Run abstracts away all infrastructure management by automatically 
scaling up and down from zero almost instantaneously—depending on traffic.

For your question on Virtual Machine scaling, I was able to find this 
document . One Compute VM must 
be turned on to operate.

Pricing for Compute Engine is based on per-second usage of the machine 
types, persistent disks, and other resources that you select for your 
virtual machines.

I hope this helps.


On Thursday, December 17, 2020 at 10:54:20 AM UTC-5 krisztia...@mintest.io 
wrote:

> Thanks for your answers. And yes, I want to run Jenkins inside App Engine. 
> Currently I am running Jenkins inside GCE, but I need that feature what App 
> Engine gives us, it can scale down to zero and, the engine runs only, when 
> a request comes. GCE is running in 0-24. And I have to pay 0-24, aren't I? 
> Or can we scale to zero the GCE? :O 
> On Thursday, December 17, 2020 at 2:39:24 AM UTC+1 
> advanced.develo...@gmail.com wrote:
>
>> Hello,
>> From what I understand from your question, you want to run Jenkins in App 
>> Engine.  GAE is design for microservice architecture and I really doubt it 
>> can be used to run Jenkins loads.   May I ask what features do you find in 
>> App Engine appealing to do this? 
>> I would like to suggest exploring using GCE instance with auto-scaling 
>> features. You should be able to find tutorials for this.
>>
>> If your question is related to deploying App Engine instances using 
>> Jenkins, I have not done it myself but this should be possible.
>>
>> On Wednesday, December 16, 2020 at 3:32:59 PM UTC-5 Elliott (Cloud 
>> Platform Support) wrote:
>>
>>>
>>> Hello,
>>>
>>> Using the information I have available to me from your question, I was 
>>> able to find a video link  that has a 
>>> laboratory setting up Jenkins with Google App Engine.
>>>
>>> I hope this is sufficient for you since I do not have more detail to go 
>>> on. If you have some more specific questions, please reply.
>>>
>>> From the link:
>>>
>>> Google App Engine is a platform as a service offered by Google. It helps 
>>> in running our application on world class Google infrastructure without 
>>> worrying too much. So, how do we automate the deployment of applications 
>>> onto Google App Engine with a continuous Integration and continuous 
>>> delivery tool like Jenkins.
>>>
>>> In this video, you will learn about custom plugins, configuring Google 
>>> service-account-credentials in Jenkins and deploying applications onto 
>>> Google App Engine securely while also stopping and deleting previous 
>>> versions along with rolling back the changes in case of test failure.
>>>
>>> I hope this helps.
>>>
>>> On Wednesday, December 16, 2020 at 11:01:34 AM UTC-5 
>>> krisztia...@mintest.io wrote:
>>>
 Hello.
 I want to run Jenkins on GAE in Standard environment, but I cant find 
 any tutorial, project, document or anything...
 Somebody did that before?
 Maybe can you help me where, to start?
 Thanks for your reply. :)

>>>

-- 
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/1c2bae24-00e2-4f35-a88c-88605d1ae089n%40googlegroups.com.


[google-appengine] Re: Run Jenkins on Google App Engine Standard environment

2020-12-16 Thread 'Elliott (Cloud Platform Support)' via Google App Engine

Hello,

Using the information I have available to me from your question, I was able 
to find a video link  that has a laboratory 
setting up Jenkins with Google App Engine.

I hope this is sufficient for you since I do not have more detail to go on. 
If you have some more specific questions, please reply.

>From the link:

Google App Engine is a platform as a service offered by Google. It helps in 
running our application on world class Google infrastructure without 
worrying too much. So, how do we automate the deployment of applications 
onto Google App Engine with a continuous Integration and continuous 
delivery tool like Jenkins.

In this video, you will learn about custom plugins, configuring Google 
service-account-credentials in Jenkins and deploying applications onto 
Google App Engine securely while also stopping and deleting previous 
versions along with rolling back the changes in case of test failure.

I hope this helps.

On Wednesday, December 16, 2020 at 11:01:34 AM UTC-5 krisztia...@mintest.io 
wrote:

> Hello.
> I want to run Jenkins on GAE in Standard environment, but I cant find any 
> tutorial, project, document or anything...
> Somebody did that before?
> Maybe can you help me where, to start?
> Thanks for your reply. :)
>

-- 
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/6f47460d-74b9-41de-a503-ca79d070788en%40googlegroups.com.


Re: [google-appengine] Re: Cron job targeting a specific service returns status 400

2020-12-16 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello,

>From redirecting requests, this information would be helpful.

You can create a dispatch file to override App Engine's URL-based routing 
rules and define your own custom routing rules. With a dispatch file, you 
can send incoming requests to a specific service based on the path or host 
name in the request URL.

On Wednesday, December 16, 2020 at 2:55:28 PM UTC-5 Elliott (Cloud Platform 
Support) wrote:

> Hello,
>
> I’m glad you were able to narrow down the problem to a mismatch. I was 
> able to find a document 
> <https://cloud.google.com/appengine/docs/flexible/go/scheduling-jobs-with-cron-yaml#about>
>  
> indicating that the target option is optional.
>
> target:
> Optional. The name of a specific service in your app. When target is 
> specified, the Cron service targets the job request to that service in your 
> app. The job requests are routed to the versions in the specified service 
> that are configured for traffic.
>
> There is also additional information about redirecting requests here 
> <https://cloud.google.com/appengine/docs/flexible/go/how-requests-are-routed>.
>  
> You’ll find information about routing with a dispatch file.
>
> At this point, this is more of a technical discussion rather than a 
> general one. I would strongly suggest that you engage the programming 
> community for further advice at Stackoverflow <https://stackoverflow.com/>
> .
>
>
> On Wednesday, December 16, 2020 at 10:01:38 AM UTC-5 da...@stoicstrats.com 
> wrote:
>
>> Hi Elliott,
>> I have been able to narrow down the problem. There is a mismatch 
>> between the app URL with a defined service name and the cron job "host" 
>> used.
>> I can explain it as follows:
>> if you have an app.yaml file such as this:
>>
>> runtime: python38
>>
>> handlers:
>> # This configures Google App Engine to serve the files in the app's static
>> # directory.
>> - url: /static
>>   static_dir: static/
>>
>> # This handler routes all requests not caught above to your main app. It 
>> is
>> # required when static routes are defined, but can be omitted (along with
>> # the entire handlers section) when there are no static files defined.
>> - url: /.*
>>   script: auto
>> #END OF APP.YAML
>> -
>> and a cron.yaml file that looks like this:
>> cron:
>>   - description: "Example cron job"
>> url: /myjob/
>> schedule: every 2 minutes
>> #END OF CRON.YAML
>>
>> The App Engine cron job will make a request to the "resource": "/myjob/" 
>> and "host": "projectid.ew.r.appspot.com"
>> as seen in the protoPayLoad in the log file for the app on the App Engine.
>> This works fine as the app url is "projectid.ew.r.appspot.com"
>>
>> If you give the app a service name such as service1 in the app.yaml file 
>> by adding:
>> service: service1
>>
>> and then target that service in the cron.yaml file which looks like this:
>> cron:
>>   - description: "Example cron job"
>> url: /myjob/
>> schedule: every 2 minutes
>> target: service1
>>
>> Then, the app is deployed to service1-dot-projectid.ew.r.appspot.com
>> But the cron job uses a "resource":/myjob/ and "host": "
>> service1.projectid.ew.r.appspot.com"
>>
>> There is a mismatch between the app url and the host the cron job uses. 
>> The app has -dot- between the service and the project name
>> while the cron looks for service1.projectid.ew.r.appspot.com with just 
>> "." instead of "-dot-"
>>
>> What is the best way to ensure the cron job uses the right "host" URL? 
>> Preferably "-dot-".
>>
>> Regards
>> David 
>>
>>
>>
>> On Tue, Dec 15, 2020 at 7:38 PM 'Elliott (Cloud Platform Support)' via 
>> Google App Engine  wrote:
>>
>>> Hello,
>>>
>>> I understand that you have a problem with your application. Although 
>>> Google Groups is meant for general discussions, we may still be able to 
>>> guide you, at least a little bit.
>>>
>>> To move things forward, would you be able to share some redacted logs 
>>> about the 400 error? I was able to find this 
>>> <https://developer.mozilla.org/en-US/docs/Web/HTTP/Status> article with 
>>> basic information.
>>>
>>> Client error responses:
>>> 400 Bad Request
>>> The server could not understand the request due to invalid syntax.
&g

Re: [google-appengine] Re: Cron job targeting a specific service returns status 400

2020-12-16 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello,

I’m glad you were able to narrow down the problem to a mismatch. I was able 
to find a document 
<https://cloud.google.com/appengine/docs/flexible/go/scheduling-jobs-with-cron-yaml#about>
 
indicating that the target option is optional.

target:
Optional. The name of a specific service in your app. When target is 
specified, the Cron service targets the job request to that service in your 
app. The job requests are routed to the versions in the specified service 
that are configured for traffic.

There is also additional information about redirecting requests here 
<https://cloud.google.com/appengine/docs/flexible/go/how-requests-are-routed>. 
You’ll find information about routing with a dispatch file.

At this point, this is more of a technical discussion rather than a general 
one. I would strongly suggest that you engage the programming community for 
further advice at Stackoverflow <https://stackoverflow.com/>.


On Wednesday, December 16, 2020 at 10:01:38 AM UTC-5 da...@stoicstrats.com 
wrote:

> Hi Elliott,
> I have been able to narrow down the problem. There is a mismatch 
> between the app URL with a defined service name and the cron job "host" 
> used.
> I can explain it as follows:
> if you have an app.yaml file such as this:
>
> runtime: python38
>
> handlers:
> # This configures Google App Engine to serve the files in the app's static
> # directory.
> - url: /static
>   static_dir: static/
>
> # This handler routes all requests not caught above to your main app. It is
> # required when static routes are defined, but can be omitted (along with
> # the entire handlers section) when there are no static files defined.
> - url: /.*
>   script: auto
> #END OF APP.YAML
> -
> and a cron.yaml file that looks like this:
> cron:
>   - description: "Example cron job"
> url: /myjob/
> schedule: every 2 minutes
> #END OF CRON.YAML
>
> The App Engine cron job will make a request to the "resource": "/myjob/" 
> and "host": "projectid.ew.r.appspot.com"
> as seen in the protoPayLoad in the log file for the app on the App Engine.
> This works fine as the app url is "projectid.ew.r.appspot.com"
>
> If you give the app a service name such as service1 in the app.yaml file 
> by adding:
> service: service1
>
> and then target that service in the cron.yaml file which looks like this:
> cron:
>   - description: "Example cron job"
> url: /myjob/
> schedule: every 2 minutes
> target: service1
>
> Then, the app is deployed to service1-dot-projectid.ew.r.appspot.com
> But the cron job uses a "resource":/myjob/ and "host": "
> service1.projectid.ew.r.appspot.com"
>
> There is a mismatch between the app url and the host the cron job uses. 
> The app has -dot- between the service and the project name
> while the cron looks for service1.projectid.ew.r.appspot.com with just 
> "." instead of "-dot-"
>
> What is the best way to ensure the cron job uses the right "host" URL? 
> Preferably "-dot-".
>
> Regards
> David 
>
>
>
> On Tue, Dec 15, 2020 at 7:38 PM 'Elliott (Cloud Platform Support)' via 
> Google App Engine  wrote:
>
>> Hello,
>>
>> I understand that you have a problem with your application. Although 
>> Google Groups is meant for general discussions, we may still be able to 
>> guide you, at least a little bit.
>>
>> To move things forward, would you be able to share some redacted logs 
>> about the 400 error? I was able to find this 
>> <https://developer.mozilla.org/en-US/docs/Web/HTTP/Status> article with 
>> basic information.
>>
>> Client error responses:
>> 400 Bad Request
>> The server could not understand the request due to invalid syntax.
>>
>>
>>
>> On Tuesday, December 15, 2020 at 12:04:59 PM UTC-5 da...@stoicstrats.com 
>> wrote:
>>
>>> Hi have a Python 3.8 Django app deployed to GAE standard with a working 
>>> cron job that
>>> executes an endpoint. The endpoint returns a 200 when everything goes 
>>> well.
>>> The app.yaml file does not define the service name and is the default 
>>> service.
>>> there is only one job in the cron.yaml and does not specify a target 
>>> service. 
>>>
>>> When I specify the service name in the app.yaml and specify the cron job 
>>> to
>>> target that same service, it executes the endpoint but returns a status 
>>> 400
>>> and doesn't execute the code in the endpoint function.
>>>
>>> What is c

[google-appengine] Re: Cron job targeting a specific service returns status 400

2020-12-15 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello,

I understand that you have a problem with your application. Although Google 
Groups is meant for general discussions, we may still be able to guide you, 
at least a little bit.

To move things forward, would you be able to share some redacted logs about 
the 400 error? I was able to find this 
 article with 
basic information.

Client error responses:
400 Bad Request
The server could not understand the request due to invalid syntax.



On Tuesday, December 15, 2020 at 12:04:59 PM UTC-5 da...@stoicstrats.com 
wrote:

> Hi have a Python 3.8 Django app deployed to GAE standard with a working 
> cron job that
> executes an endpoint. The endpoint returns a 200 when everything goes well.
> The app.yaml file does not define the service name and is the default 
> service.
> there is only one job in the cron.yaml and does not specify a target 
> service. 
>
> When I specify the service name in the app.yaml and specify the cron job to
> target that same service, it executes the endpoint but returns a status 400
> and doesn't execute the code in the endpoint function.
>
> What is causing the status 400?
>
>
>

-- 
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/e66be266-5356-45f6-971b-520cdca4b48an%40googlegroups.com.


[google-appengine] Re: Apps are still running after my account deleted!

2020-12-15 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello,

I’m sorry that you had to go through this. To look further for your 
options, can you tell how you deleted your email address?


On Tuesday, December 15, 2020 at 9:24:48 AM UTC-5 minh...@teamy.vn wrote:

> Hi,
> I accidentally deleted my email address (so I can't access my GCP anymore)
> And I recreate the email address and sign in GCP again, but it take me to 
> a brand new account and all the apps are gone.
> But the problem is they are still running!
>
> I want to take back the apps or remove all the mapping domains and fully 
> delete them (so I can reuse the domains for new apps)
> I have tried to talk to GCP assistants (billing and networking) but they 
> can't help.
> Please do me a favour or give me the technical team address.
> Thank you very much!
>
> My deleted (and recreated) email: minh...@kailab.com
> The app is still running here: https://gee-coming.df.r.appspot.com/
> The app id: gee-coming
>

-- 
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/681b1362-bcf1-4371-9eb1-26e3e6c432cen%40googlegroups.com.


Re: [google-appengine] Question about dispatch & backends

2020-12-14 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello Joshua,

I’m sorry the conversation in this thread is going on and you do not have 
the answer you need.  You indicated that the request is failing because 
it's taking more than one minute and that is not how the behavior is 
supposed to be according to documentation.

Because Google Groups is meant for general discussions, the next step is to 
either report a common issue here 
<https://issuetracker.google.com/issues/new?component=187191=0>, 
since I could not find one at this time or go through regular support 
channels here <https://cloud.google.com/support> to get 1 on 1 support.

I know this is frustrating after all the exchanges but one these options 
would be the best way to move forward.


On Monday, December 14, 2020 at 11:49:57 AM UTC-5 Joshua Smith wrote:

> When I hit the B8 with a request to its appspot.com address, those 
> happily run for more than a minute. The issue seems to be related to 
> dispatching. (I can't just have my front-end connect to the appspot 
> address, because I need some cookies to be present, so cross-domain is out.)
>
> -Joshua
>
> On Dec 14, 2020, at 11:26 AM, Linus Larsen  wrote:
>
> I think I have seen some documentation way back that it was not possible 
> to serve user facing requests from a B instance, instead you
> were supposed to dispatch the request to a TaskQueue and use some sort of 
> client polling in order to get notified when the work on B
> instance was completed. 
>
> Cannot find it anymore, the documentation has changed so much you don't 
> really know what's the truth anymore.
>
> / Linus  
>
> On Mon, Dec 14, 2020 at 3:13 PM Joshua Smith  wrote:
>
>> I'm thinking you didn't read my initial message carefully, so let me try 
>> again.
>>
>> Yes, I'm using the legacy runtime with the 1 minute limit on frontends.
>>
>> Yes, I'm using the B8 with basic scaling for my API calls, which should 
>> not have that limit.
>>
>> Yes, I'm using URL routing via dispatch.yaml, and have confirmed the B8 
>> instance is handling the request by checking the logs.
>>
>> *The request is nonetheless failing because it's taking more than one 
>> minute. *
>>
>> That should not be happening, according to the documentation. Unless 
>> there's *another* 1 minute limit somewhere else that I'm not aware of.
>>
>> -Joshua
>>
>> On Dec 13, 2020, at 8:58 PM, 'Manpreet Sidhu (Google Cloud Support)' via 
>> Google App Engine  wrote:
>>
>> Even though your frontend uses automatic scaling, the work is being done 
>> on the B8 instance that is responsible for running your API service.
>>
>> Based on the screenshot that you attached, the B8 instance has to return 
>> in 24 hours. This is due to the fact that the B8 instance is only capable 
>> of Manual and Basic scaling[0].
>>
>> Can it be safe to assume that you are using a Legacy Runtime as that is 
>> where the limit of 1 minute is enforced. As an alternative, you can try 
>> routing with URLs[1] or look into implementing the use of Task Queues as 
>> that has a timeout of 10 minutes.
>>
>> [0]: https://cloud.google.com/appengine/docs/standard#instance_classes
>> [1]: 
>> https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed#urls
>> On Saturday, December 12, 2020 at 10:11:28 AM UTC-5 Joshua Smith wrote:
>>
>>>
>>> https://cloud.google.com/appengine/docs/standard/python/how-instances-are-managed#timeout
>>>
>>> My frontend service uses automatic scaling, so it has a 1 minute limit 
>>> to respond. But my API service is a B8 with this:
>>>
>>>
>>> which means that it should not be subjected to that limit. Yet when I 
>>> send requests to it via the dispatch, it seems to be enforcing at 1 minute 
>>> limit regardless.
>>>
>>>
>>>
>>> On Dec 11, 2020, at 4:44 PM, 'Elliott (Cloud Platform Support)' via 
>>> Google App Engine  wrote:
>>>
>>> Hello Joshua,
>>>
>>> I understand that your program uses APIs that need more than 60 seconds 
>>> to complete but even though you are using B8 instances in App Engine, your 
>>> program times out past the 60 seconds. I’m assuming you are using App 
>>> Engine Standard.
>>>
>>> To find supporting documentation for you, can you tell me more about the 
>>> "gotta get it done in 60 seconds" rule? Can you please give examples of 
>>> this?
>>>
>>>
>>> On Friday, December 11, 2020 at 12:01:48 PM UTC-5 Joshua Smith wrote:
>>>
>>>> I have an app with a frontend UX that

[google-appengine] Re: Newbie question - How to deploy node.js with manual garbage collection in app engine?

2020-12-14 Thread 'Elliott (Cloud Platform Support)' via Google App Engine

Hello Andrew,

>From what you told us about, I see that you’ve figured out calling garbage 
collection manually. I was able to find this link 

 
in Stackoverflow regarding garbage collection for Nodejs generally. Please 
tell me if this applies but I think it does.

If you launch the node process with the --expose-gc flag, you can then call 
global.gc() to force node to run garbage collection. Keep in mind that all 
other execution within your node app is paused until GC completes, so don't 
use it too often or it will affect performance.

You might want to include a check when making GC calls from within your 
code so things don't go bad if node was run without the flag:

try {
  if (global.gc) {global.gc();}
} catch (e) {
  console.log("`node --expose-gc index.js`");
  process.exit();
}

The second part of your question is why it does not work. The error you 
provided from the deployment command would be the next step but Google 
Groups is meant for general discussions. 

I may check for a common issue if you may provide a timestamp of when you 
saw the message.

On Monday, December 14, 2020 at 12:02:33 PM UTC-5 andrew.m...@gmail.com 
wrote:

> I'm running manual garbage collection every 30 seconds via  global.gc(); 
> and my app.yaml file contains:
>
> *entrypoint: node --expose_gc server*
>
> However, when deploying, I eventually see a startup error displaying:
>
> *Updating service [default] (this may take several 
> minutes)...failed.ERROR: (gcloud.app.deploy) Error Response: [9]Application 
> startup error! Code: APP_CONTAINER_CRASHED  *
>
> Any insight 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/07900590-aa13-4ea9-871e-a9a38596e87bn%40googlegroups.com.


[google-appengine] Re: Question about dispatch & backends

2020-12-11 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello Joshua,

I understand that your program uses APIs that need more than 60 seconds to 
complete but even though you are using B8 instances in App Engine, your 
program times out past the 60 seconds. I’m assuming you are using App 
Engine Standard.

To find supporting documentation for you, can you tell me more about the 
"gotta get it done in 60 seconds" rule? Can you please give examples of 
this?


On Friday, December 11, 2020 at 12:01:48 PM UTC-5 Joshua Smith wrote:

> I have an app with a frontend UX that queries some backend APIs for 
> information. Some of these APIs need more than 60 seconds to complete their 
> work.
>
> I *thought* I could solve this by doing the following:
>
> 1. Run the code on a B8 instance with a different service name
> 2. Set up dispatch.yaml to direct the incoming API requests to that 
> service:
>
> dispatch:
>
> - url: "*/api/*"
>   service: reporting
>
> - url: "*/*"
>   service: default
>
> The dispatching is working correctly. I see this in my logs for an /api 
> hit:
>
> However, it's timing out:
>
>
> My understanding was that a B8 instance didn't have the "gotta get it done 
> in 60 seconds" rule that frontend instance types did.
>
> What am I missing?
>
> -Joshua
>
>

-- 
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/7209920b-7b59-4dd4-84a6-e722e7df462bn%40googlegroups.com.


[google-appengine] Re: [Ideas] NodeJS on Appengine - Local Development Approach in 2021

2020-12-07 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello,

Doing a search, I was able to find a course online here 

 
about testing GCP locally. This would be a good start.

On Saturday, December 5, 2020 at 1:50:50 PM UTC-5 kaan...@gmail.com wrote:

> Hi everyone,
>
> Old timers might remember me, I've been using App Engine since inception, 
> started with Python and continued with Python, originally, App Engine 
> always provided a fully functioning replica of all services for local 
> development, nowadays nothing is available for local testing
>
> I wonder if anyone is developing a multi-functional NodeJS app that uses 
> Tasks, Databases, Storage etc. and how you are approaching local 
> development (These are the initial services that come to mind, but there 
> are soo many more now)
>
> Back when I last tested ( 
> https://groups.google.com/g/google-appengine/c/EzAptrVl4SU/m/xfLqEcG9AwAJ 
> ) - It seemed like the best option was to just deploy and test everything 
> live, but this is obviously soo slow and so unwelcoming
>
> I guess a logical idea is to mimic what can be mimicked, and use live 
> versions of other services? Example:
>
> *Local App*
>
>1. Live Firebase: local_app
>2. Live Storage: local_storage
>3. Mock Up Tasks -> Just uses setTimeout
>
> *Live App*
>
>1. Live Firebase: live_app
>2. Live Storage: live_storage
>3. Cloud Tasks
>
> Obviously this is an over simplification, as far as I see, if you 
> rewrite/reroute urls etc. - It would be challenging to keep things in sync, 
> the app would need to stay simple
>
> I'm just wondering if anyone else has solved this problem or have their 
> own approaches and thoughts - and maybe challenges they've overcomed (I 
> mean, even the environment variable approach to settings is a challenge 
> these days)
>

-- 
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/8ece8dd3-6eaa-4e1b-bb1a-eb281ebfd628n%40googlegroups.com.


[google-appengine] Re: Is AppEngine caching content?

2020-11-17 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello,

I think the first thing to do is recreate your scenario. Would you be able 
to provide functioning code to do so?

On Tuesday, November 17, 2020 at 9:29:49 AM UTC-5 iub...@gmail.com wrote:

> Hi everyone!
> I would like to expose a problem I'm facing with AppEngine services.
> I have a Python application, based on Rest services.
> I have one service which is in charge of upload a document and store it 
> into a Cloud Storage bucket, create and identifier and store such 
> identifier in a database,
> For example:
> POST /uploaddocument
> Request body:
> {
> "base64document":"base64_encoded_document"
> }
> Response:
> {
> "document_id":"abc1234def5678"
> }
>
> Now, I have another service which retrieve such document from the storage, 
> like this:
> GET /retrievedocument?document_id=abc1234def5678
> This service returns an "application/pdf" mime type.
>
> For the moment everything works perfect. However, if I upload a new 
> version of this document, the service "/retrievedocument" returns the old 
> version, like if it would be cached, and request is not being processed by 
> my service because I don't see any logs about this request. It is like this 
> request would being served by a CDN or something like this, not by my 
> application.
> In addition, if I wait some time (more than an hour) then the request is 
> again processed by my application and return the correct version of the 
> document, like if cache would be expired.
>
> I would like my service to be returning always the latest version of the 
> document, not a cached one.
>
> Have anyone of you faced this kind of problem any time?
> Does anyone know how to solve it?
>
> Thank you!
>
> Kind regards,
> Iñigo.
>

-- 
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/dc3c0edd-a6ee-498c-8650-a0d7c889fcbdn%40googlegroups.com.


[google-appengine] Re: Parsing date-time values from JSON fails in standard environment

2020-11-16 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello,

To give you more value, a code sample would help.

On Monday, November 16, 2020 at 3:56:04 PM UTC-5 jason.a...@gmail.com wrote:

> App Engine uses the standard compiler for Go runtimes.
>
> Can you send a snippet of code that reproduces what you are seeing?
>
> On Monday, 16 November 2020 at 09:10:26 UTC-8 bari...@sprinthubmobile.com 
> wrote:
>
>>
>> Hi everyone. I am unable to parse time values from JSON when I deploy to 
>> app engine standard environment. I'm using the Go 1.14 runtime. The time 
>> values are sent in ISO-8601 (or RFC 3339) format. It works in every other 
>> environment except on app engine.
>> Does the app engine standard environment use a customized Go compiler? I 
>> suspect that they replace the encoding/json package for optimization 
>> purposes, but their version has a bug.
>> I've tested my program on both go113 and go114. If I send a time value 
>> like "2018-09-22T12:42:31Z" in JSON, I get the following error.
>>
>> "invalid character 'T' looking for beginning of value"
>>
>> If I remove the "T" as in "2018-09-22 12:42:31Z", I get the following 
>> error.
>>
>> "parsing time \"\"2021-01-01 00:00:00.000Z\"\" as 
>> \"\"2006-01-02T15:04:05Z07:00\"\": cannot parse \" 00:00:00.000Z\"\" as 
>> \"T\""
>>
>> Clearly it expects the "T", but it chokes on it. Sending only the date 
>> part doesn't work either.
>> I am certain that the framework I'm using (Buffalo) does not bring its 
>> own JSON parser. It uses the standard library, as I can tell from this 
>> snippet (copied below for your perusal) 
>> 
>> :
>>
>> // BinderFunc returns the Binder for this JSONRequestTypeBinder 
>> func (js JSONContentTypeBinder) BinderFunc() Binder { 
>>  return func(req *http.Request, value interface{}) error { 
>>  return json.NewDecoder(req.Body).Decode(value) 
>> } 
>> } 
>>
>

-- 
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/c35f56ce-5895-4016-81ba-f66a6d19a780n%40googlegroups.com.


[google-appengine] Re: how to automatically add http headers to reponses from GAE java

2020-11-13 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello Jie,

I was able to find this documentation 
 that 
may help you. To find more information, can you please provide more detail 
about the header only being added to html resources? If you are using the 
Spring Framework, I have found the information here 

 
that may assist you. I hope this is of value to you regarding if you can 
add response headers to all responses.

On Friday, November 13, 2020 at 10:23:21 AM UTC-5 jlin...@gmail.com wrote:

> Hi Support team
>
> Could we add http response headers via the configuration in 
> appengine-web.xml?
>
> I have tried to add the following to appengine-web.xml. however the header 
> is only added to html resources.  Is it possible that we can add respone 
> headers to all responses? 
> For Jetty, it is possible by using rewrite in Jetty configuration but 
> don't want directly configure Jetty (like add Jetty filters, etc )
>
> thank you
>
> Jie
>
> 
> 
>  value="http://example.org; />
> 
> 
>

-- 
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/00e53db8-ab5f-4289-b741-12d3000d78b7n%40googlegroups.com.


[google-appengine] Re: GAE started saying This version has no instances deployed

2020-11-13 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello,

To get the help you need, the best way is to create a Google issue Tracker 
 to 
investigate as Google Groups is meant for general discussions.

On Friday, November 13, 2020 at 12:10:44 PM UTC-5 vaju...@gmail.com wrote:

> I'm experiencing the same problem again: ref 
> 
> Please note this is happening on weekends.
> On Tuesday, 3 November 2020 at 04:21:22 UTC+5:30 amit...@google.com wrote:
>
>> Hello, 
>>
>> Thank you for your update. I am glad that the issue is already resolved. 
>> Please let us know if you any other questions or concerns. 
>>
>> On Monday, November 2, 2020 at 4:58:21 AM UTC-5 vaju...@gmail.com wrote:
>>
>>> This was fixed. This was some sort of network issue. Somehow every 
>>> device connected to the same ISP were not able to access the ".
>>> appspot.com" endpoint. I tried with another ISP and found this is 
>>> fixed. Thanks.
>>>
>>> On Monday, 2 November 2020 at 15:23:22 UTC+5:30 Vajahath Ahmed wrote:
>>>
 GAE asia-south1 (MUMBAI) running in node.js 12.
 It was actually working yesterday.
 app.yaml
 runtime: nodejs12
 env_variables:
   NODE_ENV: staging





-- 
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/c4e81398-094c-4ae8-b383-b75a93c9b2dbn%40googlegroups.com.


[google-appengine] Re: GAE endpoint can't be reached

2020-11-13 Thread 'Elliott (Cloud Platform Support)' via Google App Engine

Hello,

The best way to move forward is to create a Google Issue Tracker 
 to 
report a common issue as Google Groups is meant to have general discussions 
about products. In this case, if necessary we would make the issue private 
to share project information.
On Friday, November 13, 2020 at 12:06:39 PM UTC-5 vaju...@gmail.com wrote:

> I'm unable to access GAE native appspot endpoint over my internet service 
> provider.
>
>- When tried from the browser, says site can't be reached. (server IP 
>address could not be found, DNS_PROBE_FINISHED_NXDOMAIN)
>- I also faced an issue like this before, which was discussed in this 
>group [ref 
>
> ]. 
>So this may be related to that.
>- I tried to access the GAE endpoint via Google Cloud Shell CURL. In 
>that way, I at least get a 500. Looks like the GAE is not deploying 
>instances when receiving hits.
>
> I remember the last time I received this error [ref 
> ] 
> was also on weekends.
>

-- 
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/f24d9b94-775e-4bf0-b982-a2ee2257b570n%40googlegroups.com.


[google-appengine] Re: ImportError OpenCV libraries when deploying application via Google App

2020-11-11 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello,

To move this along and to isolate the problem to other than GoogleApp, I 
would suggest deploying your application using the Google Cloud SDK 
 with the command 
without quotes:


"gcloud components update"

Followed by (without quotes):

"gcloud app deploy"

If you are able to deploy correctly with the Google Cloud SDK, you may 
assume that your code and environment works as usual.

On Wednesday, November 11, 2020 at 12:20:37 PM UTC-5 use...@gmail.com wrote:

> Hi!
>
> I'm tried to deploy my flask+opencv (python 3.8) application via 
> GoogleApp, but recieve strange error: 
>
> ERROR: (gcloud.app.deploy) Error Response: [9] 
> Application startup error! Code: APP_CONTAINER_CRASHED
> Traceback (most recent call last):
>   File "app.py", line 6, in 
> from video_proc import *
>   File "/home/vmagent/app/video_proc.py", line 1, in 
> import cv2
>   File "/env/lib/python3.7/site-packages/cv2/__init__.py", line 5, in 
> 
> from .cv2 import *
> ImportError: libGL.so.1: cannot open shared object file: No such file or 
> directory
>
>
> Looks like docker container in GoogleApp havent needed library for OpenCv. 
> Any ideas, how to fix it? 
> 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/1dd7a3da-ed7e-40e0-aec0-4239e652dbd3n%40googlegroups.com.


[google-appengine] Re: import 2nd library

2020-11-11 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello,

To isolate the problem, does this code run locally on your machine?

On Wednesday, November 11, 2020 at 12:18:48 PM UTC-5 john.ia...@gmail.com 
wrote:

> I'm trying to import the datastore module(or anytime I try to import a 
> second module for that matter) in my app engine standard code.
>
> I've virtually tried every combination and I'm getting either
>
> Error: Server ErrorThe server encountered an error and could not complete 
> your request.
>
> Please try again in 30 seconds.
>
>
> or 502 Gateway ngix errors.
>
>
> Any thoughts?
>
>
> Thanks
>
>
> John Iacovacci
>
> main.py
> from flask import Flask, request, render_template
>
> # START Translate requirements
> from google.cloud import translate_v2 as translate
> translate_client = translate.Client()
>
> import datastore
> # END Translate requirements
>
>
> app = Flask(__name__)   # Flask is the web framework we're using
>
>
> @app.route('/', methods=['POST','GET']) # This defines when the 
> function below will be called
> def translate():
> if request.method == 'POST':
>
> # This code will run if a POST is received
>
> data = request.form.to_dict(flat=True)  # Reads the body of the post 
> request and assigns it to the "data" variable
>
> result = translate_client.translate(data['inputText'], 
> target_language=data["toLang"]) # Sends data to the translate API
>
> return 
> render_template('index.html',translatedText=result['translatedText'])# 
> Renders the page with the response
>
> else:
>
> # This code will run if a GET is received
> return render_template('index.html')
>
>
> # Don't worry about this part
> if __name__ == '__main__':
> app.run(host='127.0.0.1', port=8080, debug=True)
>

-- 
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/02857814-1a89-4d13-b0cb-eaa593e2dba9n%40googlegroups.com.


[google-appengine] Re: Slow Cloud SQL access from GAE when compared to Cloud Run

2020-11-03 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Thank you for your response. Please let us know what happens.

On Friday, October 30, 2020 at 10:21:03 AM UTC-4 jonmiddl...@gmail.com 
wrote:

> Thanks for reply - likewise couldn't find any explanation. I'm going to 
> try Public IP today but from the docs it suggests Private IP should be 
> faster faster, but at least that would rule out any VPC issues that Cloud 
> Run doesn't suffer from.
> I'm really not keen to run that configuration in any production capacity 
> but it will be interesting to see the results.
>
> Nothing from logs of value - I logged the queries to ensure both APIs on 
> both endpoints returning the exact same query, and only have a single Cloud 
> SQL DB so they're both getting same row counts. I added OpenTelemetry to 
> the app and the pg plugin is showing slower times. I realized in my first 
> tests as I'm using an ORM the "query" time was pg time + rehydration so 
> wanted to eliminate the rehydration and any CPU bottlenecks being the 
> culprit. There may be a bit of that still at play and Cloud Run scaling 
> better but the times reported by *opentelemetry-plugin-pg* are double on 
> GAE compared to CloudRun.
> Nothing in the logs around dropping, and Cloud SQL load as I'm only in 
> testing is low (2% CPU, no spikes)
>
> On Friday, October 30, 2020 at 5:56:24 AM UTC+11 amit...@google.com wrote:
>
>> Hello,
>>
>> By going through the details you provided and relevant documentation for 
>> the settings [1,2], I believe the configuration for both are same. During 
>> my research, I am yet to find any reason to believe that App Engine takes 
>> more time for the connection. Just wondering, are you able to test it using 
>> the public IP? Did you find any connection drop from App Engine in the 
>> logs?
>>
>> [1] 
>> https://cloud.google.com/sql/docs/postgres/connect-app-engine-standard#configuring
>> [2] https://cloud.google.com/sql/docs/postgres/connect-run#configuring
>>
>> On Thursday, October 29, 2020 at 10:20:22 AM UTC-4 jonmiddl...@gmail.com 
>> wrote:
>>
>>> Is it expected that AppEngine Standard performs significantly slower 
>>> than Cloud Run when a connection to Cloud SQL (Postgres) is involved?
>>>
>>> Testing whether to move away from AWS and which GCP solution to move to 
>>> and have fired up instances of Cloud Run and AppEngine to test a NestJS API.
>>> Having added logging to isolate just the time taken to query the DB as 
>>> part of an API call, the same GET request that takes 400ms query time on 
>>> average in Cloud Run takes 2100ms in AppEngine.
>>> To clarify this is the same source, same build deployed to both and 
>>> these are the times once warm so I'm excluding the first few requests.
>>>
>>> For any code not talking to my Cloud SQL instance, i.e. a dummy 
>>> javascript method to chew up some CPU time, the performance is more or less 
>>> identical
>>>
>>> Cloud SQL, AppEngine and Cloud Run are all set up in the same region 
>>> (australia-southeast1), and connection from GAE and Cloud Run to Cloud SQL 
>>> is for both via Private IP and Serverless VPC.
>>>
>>> Since I'm in free tier whilst trialing my options, I tried chat support 
>>> and basically got down to (verbatim) "cloud run is design to handle data 
>>> from apis with cloud sql" while "app engine is recommended for webhosting".
>>>
>>> I'm assuming this is wrong and and a 3-5x slower query performance to 
>>> Cloud SQL from GAE isn't an expectation? Any pointers in terms of where 
>>> this may be failing?
>>> I haven't yet tried via Public IP and wasn't keen to but I will likely 
>>> repeat my tests on both to see if that makes any difference and post my 
>>> updates here.
>>>
>>>

-- 
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/fedb4411-c3c4-42c8-8f14-c8fa65a8fb32n%40googlegroups.com.


[google-appengine] Re: Unable to push images to cloud storage

2020-11-02 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello Madhav,

I'm unable to find a common issue relating the error message you provided. 
As Google Groups is meant for general discussions, please open a Google 
Issue Tracker 
, 
where we can make it private to share project information.

Thank you.

On Monday, November 2, 2020 at 7:58:44 AM UTC-5 Madhav Krishna Thatavarthi 
wrote:

> Hi,
>
> I am not able to push images to the cloud storage. The Error I am getting 
> is "*Error: The incoming object does not contain a client_email_field*". 
> PFA image for reference.
>
> Madhav
>

-- 
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/8196b576-b0fa-4329-b946-40378c8a95cdn%40googlegroups.com.


[google-appengine] Re: Datastore not working nodejs.

2020-11-02 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello,

To understand better, can you please provide more redacted details, error 
messages and timestamps?

On Monday, November 2, 2020 at 4:54:03 AM UTC-5 schedule...@gmail.com wrote:

> Hi,
>
> For past 3 to 4 hours I've been trying search answer for this. This looks 
> very odd. All the API trigger is working but the datastore query is always 
> returning null. 
>
> I'm using nodejs google-cloud/datastore to access the datastore entities.
>
>

-- 
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/091a6d98-b520-4be2-8eee-d6ebe88cd41bn%40googlegroups.com.


[google-appengine] Re: Error compute

2020-10-26 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello,

To understand better, can you please include a redacted screenshot of the 
error?

On Monday, October 26, 2020 at 9:35:13 AM UTC-4 rmar...@gmail.com wrote:

> In my panel of Google cloud Platform in Api Google map informs me of error 
> compute 100%, what does this error mean? Where can I analyze this type of 
> error?

-- 
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/6174cab5-a000-4713-a136-7e5270d12b69n%40googlegroups.com.


[google-appengine] Re: Help with installation on mac please

2020-10-21 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello Jen,

Are you trying to install Google Cloud SDK on your Mac computer? Can you 
please provide us with more detail to move this along?

Thank you.

On Wednesday, October 21, 2020 at 5:21:05 PM UTC-4 jennif...@gmail.com 
wrote:

> Hi all!  I'm trying to install on my macbook pro - running catalina 
> 10.15.  I have followed all the instructions and when I try to deploy from 
> my command line (yes, I am in my coursebuilder folder) with bash 
> ./scripts/deploy.sh  (yes, i am changing that too my id and 
> dropping the <>)...  I receive the following error after Installing PyCrypto
>
> error:  must supply either home or prefix/exec-prefix -- not both
>
> and then I get the command line again, my website doesn't deploy and I get 
> no-where..  Any ideas? 
>
> Many thanks in advance,
>
> -Jen
>

-- 
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/1590e7e5-aa0f-48bd-a2f2-639f0d335bb8n%40googlegroups.com.


[google-appengine] Re: Started getting Error code 203 24 hours ago

2020-10-21 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello,

The best way to move forward to report an issue is to create a private Google 
Issue Tracker  to 
investigate the error you are reporting since Google Groups is meant to 
have general discussions. At that point, you may share project specific 
information if needed.

There are several options to choose from on that page. If you need help 
choosing one, you may respond to this message and we will guide you then.


On Wednesday, October 21, 2020 at 10:05:03 AM UTC-4 NP wrote:

> Starting from yesterday, I now get the following error when I try to load  
> my home page. This started happening after I redeployed some changes
>
> *.The process handling this request unexpectedly died. This is likely 
> to cause a new process to be used for the next request to your application. 
> (Error code 203).*
>
> This has nothing to do with my code because everything works on my local 
> machine. I even changed the handler on my home page route to just return 
> "Done"  but I'm still getting the error i.e. I currently have
>
> @app.route("/")
> def homePageHandler():
> return "Done"
>
>
>

-- 
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/4da4c45a-a496-4f0e-82a6-f557eb82b5c1n%40googlegroups.com.


[google-appengine] Re: How to install a fresh wordpress

2020-10-20 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello,

I've found some good Google Documentation that describes a friendly way to 
do Wordpress on GCP. Please follow the link here[1] and see if it helps you.

Thank you,

[1] https://cloud.google.com/wordpress

On Monday, October 19, 2020 at 10:13:53 PM UTC-4 31th...@gmail.com wrote:

> Hello Alexis  
> Thank you so much for your reply. Please check this screenshot: 
> https://prnt.sc/v2p5zi . I have reserve my IP address and as you can see 
> from the screenshot I've deleted my previous VM instances. 
> Now I would like to know how can I install VM + Wopress on the same IP 
> address with one click way. I am not an expert in the command line.
>
> Thank you
> On Tuesday, October 20, 2020 at 6:31:54 AM UTC+8 Alexis (Google Cloud 
> Platform Support) wrote:
>
>> Hi,
>>
>> With your picture, I can't tell if you are using an ephemeral IP. If you 
>> are, the first thing to do would be to promote your ephemeral external IP 
>> to a static external IP. There's more information about this here[1]
>>
>> Also, for resetting the data on your VM... Your Wordpress is just 
>> software you installed on our virtual machine (GCE instance). So, if you 
>> wipe the VM clean and use the same method to install as before, it should 
>> be fine. Unless you utilized a method that automatically installed WP along 
>> with the VM bundled with it? You will have to specify if you did it 
>> differently. In short, this[2] procedure allows you to delete the instance. 
>> You can experiment with stopping/restarting/delete instances and be free to 
>> do as you wish without loosing your IP *as long as it's depicted as a 
>> static IP in our systems*. Updating to a static IP (*and not choosing to 
>> deleted it in your configurations*) is your safest bet to do this 
>> properly. Once it's static, you can delete and recreate, this can sometimes 
>> be as fast as a manual format. If a manual format is what you want, you can 
>> log in using SSH into your VM and do a normal wipe like on any other 
>> machine. A search for you OS command line on how to wipe could help. 
>> However, most people prefer to completely delete the instance (once they 
>> have a static IP) since it's as fast and especially if you have a bundle of 
>> configuring the VM + Wordpress.
>>
>> [1] 
>> https://cloud.google.com/compute/docs/ip-addresses/reserve-static-external-ip-address#reserve_new_static
>> [2] https://cloud.google.com/compute/docs/instances/deleting-instance
>>
>> On Monday, October 19, 2020 at 11:35:46 AM UTC-4 31th...@gmail.com wrote:
>>
>>> Hello there,
>>> I would like to know how can I install a fresh wordpress on my VM 
>>> instance without changing the external IP address.
>>>
>>> https://prnt.sc/v1wtpx
>>>
>>

-- 
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/e7dce153-003c-4df3-9740-d7a913188edbn%40googlegroups.com.


[google-appengine] Re: Deploying Simple Angular App on App Engine

2020-09-25 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello Suhail,

I cannot positively identify the cause with the screenshots but it is 
possible to find errors using the command:

gcloud app deploy --verbosity=debug

If you wish to look at the output, it may give you the necessary 
information you are looking for but please note that Google Groups is meant 
for general discussions, not bugs.

On Friday, September 25, 2020 at 12:11:51 PM UTC-4 suhail...@gmail.com 
wrote:

> Hey,
> So I'm new to GCP and just trying to deploy a simple Angular app on App 
> Engine Standard Environment: I keep getting the error below.
> Below is my yaml file
>
> [image: sss.png]
>
> [image: ss.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/3d38cd32-26d8-45fe-8994-04e271809573n%40googlegroups.com.


[google-appengine] Re: My working source code was back to the old version

2020-09-25 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
To assist you, can you tell me more on how your working source code was 
lost?

On Friday, September 25, 2020 at 12:11:48 PM UTC-4 ttp...@gmail.com wrote:

> Hello,
>
> This morning, my working source code was lost, i'm working on local and 
> haven't deploy it yet. I realize that It was reverted to the July version 
> (latest deployment). I don't know why, anyone have the same problem and do 
> you have any ideas about this?
>
> 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/215e1f8b-17ad-4be7-a66e-38ba113aa727n%40googlegroups.com.


[google-appengine] Re: Error When Deploy to App Engine

2020-09-16 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Depending on your issue, you may choose to update your Google Cloud SDK 
with the command:

gcloud update components

because there are bug fixes with each release.

Otherwise, you may choose to open a Google Issue Tracker 
 to 
report a bug.

On Monday, September 14, 2020 at 3:55:54 PM UTC-4 jmwo...@gmail.com wrote:

> Can't see what command you used by try including " --version=1" in it. The 
> documentation says it is optional but I couldn't deploy until I included it 
> and I noticed that "Version" in your screenshot is blank.
>
> On Monday, September 14, 2020 at 6:32:56 AM UTC-7 dimasbayu...@gmail.com 
> wrote:
>
>> How to deploy to app engine i always get erorr 
>> [image: error gcp.PNG][image: error gcp2.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/dd39b9b2-e3be-4566-9162-9dc202b7a38bn%40googlegroups.com.


[google-appengine] Re: Datastore in Remote Shell For Google App Engine (GAE) not working with zsh

2020-09-15 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello,

I found this link here 

 
with the solution: There was an old dependency for the cryptography package 
that needed to be updated. Once I did that all was resolved, both for bash 
and zsh.

I hope this helps.

On Tuesday, September 8, 2020 at 4:39:42 PM UTC-4 msel...@gmail.com wrote:

> I am trying to run a query within the remote shell of Google App Engine 
> (GAE) Python standard, and I get an zsh abort when trying to query 
> datastore from the shell. No errors printed to the terminal, but the python 
> shell is terminated. Any thoughts on how I can debug this?
>
>
> App Engine remote_api shell Python 2.7.16 (default, Jun 5 2020, 22:59:21) 
> [GCC 4.2.1 Compatible Apple LLVM 11.0.3 (clang-1103.0.29.20) 
> (-macos10.15-objc- The db, ndb, users, urlfetch, and memcache modules are 
> imported. 
>
> m~staging> from models import Model
> m~staging> Model.query().get() zsh: abort python 
> ~/dev/google-cloud-sdk/platform/google_appengine/remote_api_shell.py
>

-- 
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/23a32e15-db63-4b11-b457-27ab95b6f32en%40googlegroups.com.


[google-appengine] Re: Google BLOB service stopped to upload files in US region,

2020-08-20 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello Henry,

I'm sorry that you've had to do through this multiple times. I've looked at 
one of the issue trackers you opened with us. The analyst could not 
reproduce your scenario and left a message for you.

On Wednesday, August 19, 2020 at 3:23:32 PM UTC-4 henry@gmail.com wrote:

> Of you can do that Jason, but since February 20th I created 5 private 
> issue trakers but problem still not solved. 
>
>
> On Wednesday, 19 August 2020 12:02:40 UTC-7, David (Cloud Platform 
> Support) wrote:
>>
>> Jason, if you are still experiencing this issue and you believe it’s an 
>> issue on our end, you are able to create a private Issue Tracker 
>> 
>>  
>> and provide information such as Project ID. If determined this issue is not 
>> only individually affecting you, an investigation will be launched. 
>> Otherwise, you are also able to open a support ticket with GCP support 
>>  if you have access to a support 
>> package.
>>
>>

-- 
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/803bd796-3ccb-465a-b88c-0bb3070c04d6n%40googlegroups.com.


[google-appengine] Re: Instance gets terminated without warming up another

2020-08-13 Thread 'Elliott (Cloud Platform Support)' via Google App Engine


Hello Alan,

I may look if there was a common issue at the time of the new instance 
creation but if you want us to look specifically in your logs, the best way 
to move forward is to seek support. We offer affordable plans here[1] such 
as Role Based Developer support and I thought you would be interested in 
it. Otherwise, you may open a free community based Google Issue Tracker[2] 
although it is used to report bugs rather than obtaining individual 
support. I wanted you to know this.

You asked if there is a way to know for yourself why the instance was 
terminated. Aside from looking at Stackdriver, we can see more. By 
obtaining support, we can look at our end to offer a more detailed view of 
the possible cause.

The link you shared with me here[3] is very helpful in your scenario. If 
you would like to discuss a point in particular, please respond to this 
thread. We’re always interested.

I will wait for your reply.

[1] https://cloud.google.com/support

[2] https://issuetracker.google.com/issues/new?component=187191=0

[3] 
https://stackoverflow.com/questions/57054132/improving-cold-start-up-times-on-google-app-engine-running-django-on-python-3-7

-- 
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/f76f29c6-02db-468a-8cec-faebc8bdb632o%40googlegroups.com.


[google-appengine] Re: Instance gets terminated without warming up another

2020-08-12 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello Alan,

As you have pointed out from the documentation 
:
 
(I know you’ve read it but please bear with me.)

App Engine attempts to keep manual and basic scaling instances running 
indefinitely. However, at this time there is no guaranteed uptime for 
manual and basic scaling instances. Hardware and software failures that 
cause early termination or frequent restarts can occur without prior 
warning and can take considerable time to resolve; thus, you should 
construct your application in a way that tolerates these failures.

*You would like to know if App Engine can resist shutting down the instance 
before spinning up a new one. This information is not available in public 
documentation and from what is happening in your scenario, I believe I 
would have to reach out to an App Engine Specialist to confirm. I want to 
make sure.

You have provided a workaround to this behavior to set up more instances 
but you would like to know what are your other options. (Again, please bear 
with me.)

>From the documentation I included 

 
you may:

Reduce the amount of time it takes for your instances restart or for new 
ones to start.

For long-running computations, periodically create checkpoints so that you 
can resume from that state.

Your app should be "stateless" so that nothing is stored on the instance.

Use queues for performing asynchronous task execution.

If you configure your instances to manual scaling:
Use load balancing across multiple instances.

Configure more instances than required to handle normal traffic.
Write fall-back logic that uses cached results when a manual scaling 
instance is unavailable.

So to summarize right now with the information I have, you have two 
options. The first and more direct is to create another instance that would 
affect your budget and the other to look at the advice for your application.

You also have another issue where it may take 30 seconds to warm up an 
instance. This information is private and would require looking at your 
project. I can help you as much as I can using this forum but sharing 
specific information about your project is not good for security.

I will wait for your response.




-- 
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/7b329158-8ce2-4f99-8a62-2143adba6415o%40googlegroups.com.


[google-appengine] Re: Transactional tasks delayed

2020-08-12 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello Okku,

I may look into this for you if you provide a timestamp with date, time and 
timezone.

-- 
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/643d352c-7129-4984-9970-611026e6ddc3o%40googlegroups.com.


Re: [google-appengine] Google Patents Use

2020-08-03 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Did this 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/3e2451d1-2153-4b1c-a38b-5c9ec0df24f6o%40googlegroups.com.


[google-appengine] Re: Prevent backend instance shutdown until running requests finish

2020-06-17 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello Ludovic,

It seems that you would like to report an issue regarding deploying 
applications not behaving in an acceptable way. As Google Groups is meant 
for general discussions, the best way to move forward is to create a Google 
Issue Tracker 
 to 
see if the behavior you described is working as intended.

-- 
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/c403c8fd-af8c-4d3c-ae84-cc273c263825o%40googlegroups.com.


[google-appengine] Re: trouble getting Google-manage SSL certificate

2020-06-16 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello David,

To get help with this, you may choose to report an issue with Google Issue 
Tracker 
 as 
Google Groups is meant for general discussions. You may mark the issue as 
private not to share project information.

-- 
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/01ff0d55-40b8-440c-bfa5-0aec14ce5540o%40googlegroups.com.


[google-appengine] Re: The current Google Cloud project does not contain an App Engine application. Use `gcloud beta app create` to initialize an App Engine application within the project

2020-06-15 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello Siddharth,

It seems that you would like to report an issue with GCP, deploying and 
application. Google Groups is meant to discuss general Google products. The 
best way to do this is to open a Google Issue Tracker 
, where your issue 
could be marked as private to share project information.

-- 
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/6662b93e-f41d-4013-85de-d0908971911ao%40googlegroups.com.


[google-appengine] Re: Unable to export to Monitoring service because: GaxError RPC failed, caused by 3: One or more TimeSeries could not be written

2020-06-11 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello Julia,

I realize this must be frustrating but some reasonable delays for non-paid 
support may occur from time to time.  Creating a Google Issue Tracker is 
the correct way to get assistance. If you would like an immediate response, 
you may choose to upgrade to a paid support 
 with guaranteed acknowledgements cases.

I hope this helps.

-- 
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/060a4cee-4b39-48d7-843e-e0a887cc1964o%40googlegroups.com.


[google-appengine] Re: Bigger app sizes with Cloud SDK than with AppCfg

2020-06-08 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello,
>
>
Google Groups is meant for general discussions about Google products. It 
seems you want to get help with something that is not working as you 
expect. In this case, I recommend using Google Issue Tracker 
, where the request 
could become private so that you can share project information.

-- 
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/fe430047-558b-4496-9e85-bd453e4b4939o%40googlegroups.com.


Re: [google-appengine] Re: Problem with Uptime Check alerts - stackdriver

2020-06-01 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello Sawmiya,

It sounds that you have an issue with Cloud Uptime Checks. The best way to 
have this addressed is to open a Google Issue Tracker 
because Google Groups 
is meant for discussing Google products, not for reporting issues.

-- 
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/8a3c2454-8d27-4ed9-9466-18afcc8c5e1c%40googlegroups.com.


[google-appengine] Re: What kind of error is this?

2020-05-28 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello,

Google Groups is meant to discuss products but it is not a good place to 
report issues. You would receive the support you need by opening a Google 
Issue Tracker  where 
it may be marked as private to share project information.

-- 
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/3ae3fed1-5c16-4fde-9ff8-34c64bd86fb1%40googlegroups.com.


[google-appengine] Re: Google App Engine Java 8 Lifetime (LTS)

2020-05-26 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello Carl,

Thank you for your question. I cannot find public documentation that 
definitely answers your question but you may use this general link 
 for product news, which is updated 
regularly.

-- 
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/efc1a8d6-55ab-4617-afcd-291acfc8bac1%40googlegroups.com.


[google-appengine] Re: Why all of a sudden my instance initialization taking so long and causing 429 rate exceeded for single request

2020-05-20 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello,

Google Groups is meant for general discussion of Google Platform products. 
To report an issue, please use Google Issue tracker 
 where we may make 
the request private to share project information.

-- 
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/b432ec79-d1f1-4bf6-b035-e4e56d9c7100%40googlegroups.com.


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

2020-05-13 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello,

To report an issue, please use Google Issue Tracker 
 as Google Groups is 
meant for general discussions.

-- 
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/08c24758-edd9-46a2-9b4a-45d45ebbe073%40googlegroups.com.


[google-appengine] Re: Need to create uptime check via gcloud cli

2020-05-13 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello,

Can you use this information here instead 
 instead of gcloud 
commands? I don't believe through my search that gcloud commands exist for 
this.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/dd3637fd-d105-4f69-bfda-22249accdaa6%40googlegroups.com.


[google-appengine] Re: cPanel, File Manager in WordPress Deployment on Google Cloud

2020-05-11 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello,

Although I could not find CPanel specifically, I was able to find a 
starting point for Wordpress for GCP here 
.

-- 
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/e484908d-d90e-4e24-9df2-20e3571523b0%40googlegroups.com.


[google-appengine] Re: Google Cloud Run Container Status

2020-05-07 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello Rodrigo,

What do you have in mind to optimize on the Docker side? Although this may 
not be the right forum for that, maybe we can 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/24199233-1038-430b-ab8a-43d2636f7c05%40googlegroups.com.


[google-appengine] Re: Daily spending limit deprecated

2020-03-04 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello Linus,

Thank you for your question. I have asked the documentation team to add the 
information you need to the document, 
https://cloud.google.com/appengine/docs/standard/java/release-notes

Please stay tuned and refer to the document for further updates.

-- 
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/a6d5bc28-0eab-418f-b438-a094b3e542c6%40googlegroups.com.


[google-appengine] Re: APP Engine APP - ERROR 404

2020-02-12 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello,

I think at this point, I think you may use Stackoverflow 
, where you may get help with code and 
configuration. Google Groups is meant for general discussions and opinions 
about Google products.

-- 
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/4062cacf-bbe0-4177-b49b-c7b915bb6d75%40googlegroups.com.


[google-appengine] Re: APP Engine APP - ERROR 404

2020-02-11 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello,

A 4xx error usually means a client configuration, the server could not find 
the page requested. I can't offer more specific advice based on the 
information I have from the description. Maybe an Issue Tracker could be 
used here so that you may share your app.yaml file.

-- 
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/c85ea495-c9b2-483f-9aeb-70778a3447ad%40googlegroups.com.


[google-appengine] Re: SQL Instance stuck in "Instance is being updated. This may take a few minutes" H

2020-01-29 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello,

Because Google Groups is meant to discuss Google products and share 
opinions, the best way to report an issue is to create an Issue Tracker 
where we may share private details of your project.

You may use the link here 
 to 
create an issue for Cloud SQL.

-- 
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/01ab0e61-b309-4e84-8443-83723468332f%40googlegroups.com.


  1   2   >