[google-appengine] Re: Googlers don't use the Dashboard

2018-09-12 Thread pdknsk
I made that mistake before. The feedback is ignored.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/c7084f14-b662-4e02-8a55-b6a6174621bc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Cron job not start in Standard engine

2018-09-12 Thread 'Katayoon (Cloud Platform Support)' via Google App Engine


Hi Guangjie,


I tried these steps 

 
and could create the cron job with your cron.xml config successfully. 


Note that your Servlet URL mapping in web.xml should be the same as the 
cron job URL. If this mapping hasn’t been done properly, you won’t see the 
cron job even if you deploy your app successfully. 


I recommend to double check the steps you have taken with the mentioned 
documentation. If the issue persists, you may post your full detailed 
question  to Stack Overflow 
, using the supported 
Cloud tags since Google Groups are reserved for general Google Cloud 
Platform-end product discussions and not for technical questions.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/aafd3cd5-98e8-4e37-b77d-c43a73e0b816%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: gcloud app ssl cert update failing with PERMISSION_DENIED

2018-09-12 Thread 'Olu' via Google App Engine
Thank you for getting back to the Group with the resolution to this thread. 
Unfortunately, there is no RSS feed presently available to notify of these 
types of changes. Usually, major changes to the Google Cloud SDK and the 
Google Cloud Platform products are entered in the Release Notes 
. 

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/eca00369-de03-4138-92eb-0156d8ecd19f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Error in app engine flexible deployment: GCLOUD: ERROR: (gcloud.app.deploy) Error Response: [4] Timed out waiting for the app infrastructure to become healthy.

2018-09-12 Thread 'Olu' via Google App Engine
You can gather more details about errors obtained during Application 
Deployments to the Google App Engine by using the Verbosity flag. I 
recommend you attempt to deploy your application using the following 
commands. 

gcloud components update 

gcloud app deploy --verbosity debug 
 

This will help to get the debug logs which will be helpful to determine the 
root cause of the issue. You can share the details of the debug 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 post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/925d0ea9-cfd6-4d8e-9018-5ccc1165de56%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Appengine standard java shutdown callback

2018-09-12 Thread Linus Larsen
FK, I filed a feature 
request, https://issuetracker.google.com/issues/114794562


Den tisdag 11 september 2018 kl. 15:07:53 UTC+2 skrev Linus Larsen:
>
> I'm using pubsub with batching and I wan't to be able to drain the queue 
> on any pontential messages before the instance shutdown.
> Piece of cake I thougt, just call shutdown() in 
> LifecycleManager.shutdown(), end of story. However I'm running my instances 
> with
> autoscaling and there seems to be no way to get a proper callback when the 
> servlet container is shutting down.
>
>
>- LifecycleManager listener only works with manual and basic instance 
>classes // as per documentation 
>- ServletContextListener.contextDestroy is never invoked by appengine 
>// as per documentation
>- "_ah/stop" is never called on auto scaled instances // as per 
>documentation
>
>
> Surely there must be a way of getting notified when an instance is about 
> to shut down?
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/6091b397-e54f-445e-8af2-ae31accb9acb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] One of appengine servers in Brazil is being blocked by a major Internet provider

2018-09-12 Thread Edmundo Mizutani
Our clients are constantly failing when trying to access our appengine 
application. Apparently, there is a rotation in the resolved ip address for 
our domain. When the resolved ip happens to be the one bellow, it doesn't 
work only when the user is using the NET Internet provider 
.
https://ipinfo.io/2800:3f0:4001:808::2003

Of course, that same ipv6 address must be used for a huge variety of other 
services, so it is not affecting only our app. Since we are a small 
company, we don't have contact for that kind of support at that provider. 
So, in our name and all other services that use that server, is there 
anyone in Google that can investigate and solve this problem?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/efeabc67-a828-4ab0-9088-97ad17ce7c5e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

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

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

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

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/c35254e2-f17a-4ff1-a6b5-92efb85d6828%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2018-09-12 Thread Nikitha Kamath
Ok. Thank you.

On Saturday, September 8, 2018 at 2:22:18 AM UTC+5:30, David (Google Cloud 
Support) wrote:
>
> As stated in Serving from a third party CDN 
> ,
>  
> you can use any external third-party CDN to serve your static files and 
> cache dynamic requests but for improved performance, it is recommended to 
> use one that supports CDN Interconnect 
> and 
> fastly 
> 
>  is 
> one of them. There is no step by step guide on how to do this, but please 
> review this page  and watch this 
> webinar 
> 
>  that 
> talks about Migrating to GCP family with fastly. In addition, please review 
> these Stack Overflow 
> 
>  
> and Google Groups 
>  
> threads, where you will find information from others who have successfully 
> integrated fastly with App Engine Flexible, even though you are not in the 
> Flexible environment, it will give you an idea of how to accomplish this in 
> the Standard environment.
>
>
> On Friday, September 7, 2018 at 12:02:44 PM UTC-4, Nikitha Kamath wrote:
>>
>> Looks like Cloud CDN cannot be integrated with App engine. But is it 
>> possible to integrate fastly CDN?
>>
>> On Friday, September 7, 2018 at 2:59:24 AM UTC+5:30, David (Google Cloud 
>> Support) wrote:
>>>
>>> Hello Nikitha, 
>>>
>>> Google Cloud CDN  can only 
>>> store and deliver content from Compute Engine or Cloud Storage, in theory, 
>>> it might be possible to use it with App Engine but there is no need to 
>>> since App Engine essentially has a CDN native to its ecosystem and you 
>>> could also use Google Cloud Storage 
>>> 
>>>  to 
>>> host static assets for dynamic web apps. Please review this document about 
>>> serving 
>>> static files in App Engine 
>>> 
>>>  which 
>>> will give you a better understanding. 
>>>
>>> In addition, I would like to let you know that during my research, I was 
>>> not able to find any step by step guide on how to integrate Cloud CDN with 
>>> Google App Engine. However, I already informed the appropriate team to 
>>> improve our documentation about this.
>>>
>>>
>>> On Tuesday, September 4, 2018 at 4:37:18 PM UTC-4, Nikitha Kamath wrote:

 Hi,

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

 Thank you. 

>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/dad98449-60fc-4b5d-a113-e360862b2310%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: gcloud app ssl cert update failing with PERMISSION_DENIED

2018-09-12 Thread 'Günter Grodotzki' via Google App Engine
I posted the solution here: https://stackoverflow.com/a/52298389/567193

This looks like a breaking change to me - it would be great if there was an 
RSS feed I could subscribe to to get notified of such changes.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/0e115025-d5ab-445f-a936-ab3e0f1fd8d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Second gen GAE Python 3.7 > Cloud SQL - MySQL

2018-09-12 Thread Eric G
Thanks for this. The second link is to the flex environment documentation. 
Are you saying that App Engine standard 2nd gen uses the same method of 
connecting to CloudSQL instances as flex, i.e. via the unix socket  
/cloudsql/INSTANCE_CONNECTION_NAME ?  If so, it would be helpful to have 
those instructions/example on the first link (to standard 2nd gen) as well.

Personally, I would like to see an example that doesn't depend on 
SQLAlchemy + Flask, otherwise people may think they have to use those. I 
guess it's not hard to figure out but just some acknowledgement that you 
can set your own environment variables and manually use them to connect 
with pymysql or whatever adapter.


On Tuesday, September 11, 2018 at 11:22:24 PM UTC-4, Olu wrote:
>
> There are different ways to connect to the CloudSQL instance depending on 
> the location from where you are connecting. If you are connecting from an 
> App Engine instance which is located in a project which is different from 
> the project which the CloudSQL instance resides, you must use a service 
> account to allow connection between the App Engine application and the 
> Cloud SQL as described in the link 
> 
> .
>
> However, when connecting from your App Engine Application within the same 
> project, you simply have to configure your app.yaml with the user, 
> password, database, and instance connection name variables from Cloud SQL, 
> See the documentation 
> 
> . 
>
> External applications have to connect to the Cloud SQL instances directly 
> through the public IP address and the IP addresses of the connecting 
> application have to be white listed in the Cloud SQL instance on the 
> Authorization Tab of the Instance page.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/ee4e12f4-14f7-4373-863e-65b9ab34435c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Firestore in datastore mode

2018-09-12 Thread 'Amit (Google Cloud Support)' via Google App Engine


Hi Rajesh,

This limit is infeasible to change due to complex infrastructure reasons. 
There is no update from Cloud Datastore engineering team regarding any 
alternative solutions for this limit as of yet and we unfortunately cannot 
provide any ETA at this moment. 


On Wednesday, September 5, 2018 at 10:43:02 AM UTC-4, Rajesh Gupta wrote:
>
> It was discussed in the issue tracker, that alternates were being 
> researched on this.  
>
> https://issuetracker.google.com/issues/35894207
>
> Any updates that can shared on this.  
>
> On Tue, Sep 4, 2018 at 9:30 PM, 'David (Google Cloud Support)' via Google 
> App Engine  wrote:
>
>> Hello Rajesh,
>>
>> As stated in Cloud Firestore in Datastore mode 
>> ,
>>  
>> the Cloud Firestore in Datastore mode uses Cloud Datastore indexes instead 
>> of Cloud Firestore indexes, therefore, the limitations are the same 
>> excepting for these 3 which are listed in the previous link:
>>
>> -Eventual consistency, all Cloud Datastore queries become strongly 
>> consistent.
>>
>> -Transactions are no longer limited to 25 entity groups.
>>
>> -Writes to an entity group are no longer limited to 1 per second.
>> Please review production limits for the Cloud Datastore 
>> , the maximum 
>> number of composite indexes for a project is still 200.
>>
>>
>> On Tuesday, September 4, 2018 at 8:40:40 AM UTC-4, Rajesh Gupta wrote:
>>>
>>> Hello,
>>>
>>> Question on the 3rd generation of datastore ie, Firestore in datastore 
>>> mode:  Does it remove the limitation of 200 index limit?
>>>
>>> -- 
>>> Regards,
>>> Rajesh
>>> *www.GainERP.com *
>>> *Accounting/Inventory/Orders/Sales/Purchase on Google Cloud Platform and 
>>> Mobile*
>>>
>>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to google-appengine+unsubscr...@googlegroups.com.
>> To post to this group, send email to google-appengine@googlegroups.com.
>> Visit this group at https://groups.google.com/group/google-appengine.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-appengine/59c13025-7d6e-43e8-a967-9bc991954993%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>  
> Regards,
> Rajesh
> *www.VeersoftSolutions.com *
> *www.GainERP.com *
> *Accounting/Inventory/Orders/Sales/Purchase on Google Cloud Platform and 
> Mobile*
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/193a631b-5d2a-4760-867b-f334fa1963b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] gcloud app ssl cert update failing with PERMISSION_DENIED

2018-09-12 Thread 'Günter Grodotzki' via Google App Engine
I am trying to update a SSL certificate for a Google App Engine project via 
CLI:

gcloud app ssl-certificates update  --project XXX --configuration XXX --
display-name=xxx.co.za --certificate=./fullchain.pem --private-key=./
privkey_gae.pem


This command used to work previously but I am now getting the following 
error:

ERROR: (gcloud.app.ssl-certificates.update) PERMISSION_DENIED: Caller is not 
authorized to administer this certificate. You must be a verified owner of 
the certificate's domain(s) [xxx.co.za, *.xxx.co.za] to create, modify, or 
delete this resource. Your authorized domain(s) are []. If you own the 
certificate domain(s), you can obtain authorization by verifying ownership 
via the Webmaster Central portal: 
https://www.google.com/webmasters/verification/verification.


This error does not make sense as the domains are verified according to the 
URL (as they are also the custom domain used by the app itself). Also this 
was working just last month, so it seems that something changed?

Anyone else experiencing 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 post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/2eccbca2-187b-4401-b16b-9ff8938242b4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.