[google-appengine] Re: Google App Engine SSL Auto-Renewal

2019-04-24 Thread diogoalmeida via Google App Engine
Hello James.

Note that the Google Groups thread is not the best channel to post this 
type of issues [1]. For technical questions you can use StackOverflow. 
However, it looks like to resolve this issue you will need to file a case 
with the GCP support team [2] (Free trial [3]).

[1] https://cloud.google.com/support/docs/community
[2] https://cloud.google.com/support/
[3] https://support.google.com/cloud/contact/free_trial_support


On Wednesday, April 24, 2019 at 10:15:11 PM UTC-4, James Terry wrote:
>
> Hi all,
>
> I'm am trying to set up SSL Renewal on my domain name in Google App 
> Engine. In Settings > Custom Domains, I select my domain and then click on 
> Enable Managed Security. It prompts me with the following: 
>
> domain.com is currently using certificate '$(certificateName)'. This 
>> certificate will continue to be used until the Google-managed certificate 
>> is activated. Are you sure you want to proceed?
>
>
> I click ok and then get prompted with "Failed to activate certificate". 
> Naturally, I tried to remove the previous SSL certificate but even after 
> selecting it under the SSL certificates tab, the delete button is greyed 
> out. When I hover over it, it says that, "To delete a certificate, it must 
> not be in use by any domain across any project". I'm guessing that this 
> means I have to stop the domain before I uninstall the certificate. I then 
> disabled the domain and tried again and still, I got the same message. I've 
> tried searching how to remove a certificate from being used but I get no 
> good results.
>
> Not stopping there, I tried working with the cloud console. According to 
> https://cloud.google.com/appengine/docs/standard/python/securing-custom-domains-with-ssl,
>  
> I tried the following command, 
>
> gcloud app domain-mappings update DOMAIN --certificate-management='AUTOMATIC'
>
>
> This instead gave me an error saying the operation failed. This is the 
> error.
>
> ERROR: (gcloud.app.domain-mappings.update) Error Response: [7] Caller is 
> not authorized to administer the domain 'www.domain.com'. If you own '
> www.domain.com', you can ob
> tain authorization by verifying ownership of the domain, or any of its 
> parent domains, via the Webmaster Central portal: 
> https://www.google.com/webmasters/verification/verification?d
> omain=www.domain.com. We reccomend verifying ownership of the largest 
> scope you wish to use with subdomains (eg. verify 'example.com' if you 
> wish to map 'subdomain.example.com'
> ).
>
> Then, I click on the link provided which sent me to a page explaining 
> domain verification. At the top of the page however, it says I'm already 
> the verified owner of my domain. Now I'm confused as there doesn't seem to 
> be any other logical progression to solving this problem. Could anyone help 
> me out with 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 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/4df456f2-5066-4ee6-b512-4d633a455ac0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Google App Engine SSL Auto-Renewal

2019-04-24 Thread James Terry
Hi all,

I'm am trying to set up SSL Renewal on my domain name in Google App Engine. 
In Settings > Custom Domains, I select my domain and then click on Enable 
Managed Security. It prompts me with the following: 

domain.com is currently using certificate '$(certificateName)'. This 
> certificate will continue to be used until the Google-managed certificate 
> is activated. Are you sure you want to proceed?


I click ok and then get prompted with "Failed to activate certificate". 
Naturally, I tried to remove the previous SSL certificate but even after 
selecting it under the SSL certificates tab, the delete button is greyed 
out. When I hover over it, it says that, "To delete a certificate, it must 
not be in use by any domain across any project". I'm guessing that this 
means I have to stop the domain before I uninstall the certificate. I then 
disabled the domain and tried again and still, I got the same message. I've 
tried searching how to remove a certificate from being used but I get no 
good results.

Not stopping there, I tried working with the cloud console. According to 
https://cloud.google.com/appengine/docs/standard/python/securing-custom-domains-with-ssl,
 
I tried the following command, 

gcloud app domain-mappings update DOMAIN --certificate-management='AUTOMATIC'


This instead gave me an error saying the operation failed. This is the 
error.

ERROR: (gcloud.app.domain-mappings.update) Error Response: [7] Caller is 
not authorized to administer the domain 'www.domain.com'. If you own 
'www.domain.com', you can ob
tain authorization by verifying ownership of the domain, or any of its 
parent domains, via the Webmaster Central portal: 
https://www.google.com/webmasters/verification/verification?d
omain=www.domain.com. We reccomend verifying ownership of the largest scope 
you wish to use with subdomains (eg. verify 'example.com' if you wish to 
map 'subdomain.example.com'
).

Then, I click on the link provided which sent me to a page explaining 
domain verification. At the top of the page however, it says I'm already 
the verified owner of my domain. Now I'm confused as there doesn't seem to 
be any other logical progression to solving this problem. Could anyone help 
me out with 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 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/c11bf2dd-ad89-4bcd-97bc-14276b87b312%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Import Error: No Module named google.auth

2019-04-24 Thread ykarout via Google App Engine
I suggest posting this on Stackoverflow and including snippets of your 
import code along with the full error you are receiving since it it better 
suited for development issues. It is a bit hard to diagnose this at this 
point.

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


[google-appengine] Re: 503 errors - default liveness checks and readiness checks

2019-04-24 Thread ykarout via Google App Engine
This could be due to your app taking long to startup and failing the 
readiness checks. Another possibility is resources on the instances are 
maxing out.

An instance will be restarted if it fails consecutive health checks [1].

To avoid this, you can tune health checks to be less aggressive by 
increasing check timeouts or intervals between checks [2]. You can also try 
to increase the memory in the app.yaml file as a test, optimum value 
depends on the app’s workload. Additionally, this doc [3] on deadline 
errors might be helpful to optimize your app.

[1] 
https://cloud.google.com/appengine/docs/flexible/python/how-instances-are-managed#health_checking
[2] 
https://cloud.google.com/appengine/docs/flexible/custom-runtimes/configuring-your-app-with-app-yaml#readiness_checks
[3] https://cloud.google.com/appengine/articles/deadlineexceedederrors

-- 
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/8d8f82c5-f43b-4040-baf7-ae4a8a389d91%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: NodeJS AppEngine App error connecting to Google Cloud SQL

2019-04-24 Thread Learn GCP with Mahesh
The connection string cannot have IP address in App Engine Standard. It 
should you Instance Connection Name.
https://www.youtube.com/watch?v=T0P6qsTuh1s will explain basics of App 
Engine Standard. 

If you want to using IP address then Serverless VPC 
https://cloud.google.com/vpc/docs/configure-serverless-vpc-access

Thank
Mahesh

On Wednesday, April 24, 2019 at 3:06:06 AM UTC+5:30, Jason Collins wrote:
>
> The connection technique is different in Standard I believe.
>
> In particular, note the "config.socketPath" in the link I sent.
>
>
>
>>
>>

-- 
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/a664cc63-10e7-47c5-a4f3-641486001c24%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.