Re: [google-appengine] Re: Using Process Managers

2018-07-26 Thread 'Dennis Yurkevich' via Google App Engine
Thank you Julie and Kenworth.

I will add one and measure the overhead.

However from my testing it seems GAE keeps the app running. Not sure if
there is anything which does that or the code is awesome 

Thank you for your help!
Dennis

On Thu, 26 Jul 2018 at 21:15, 'Julie (cloud platform support)' via Google
App Engine  wrote:

> The decision on whether or not to include a process manager really depends
> on your application and if it is critical that it avoids/minimizes
> downtime. As mentioned by Kenworth, including one would likely improve user
> experience but may increase resource usage and therefore cost.
>
> --
> 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/a7aba032-962d-4f8b-9ae0-d163c2203491%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

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


Re: [google-appengine] Re: React JS routers doesn't work

2018-07-26 Thread 'Jean Juste-constant' via Google App Engine
It seems your first handlers is setting '/' with 'dist/index.html'. I would 
change the second handler to be more precise or simply add the wildcard: 
'/*'. This way any url other than the root '/' should refer to the static 
dir you've set. 


On Wednesday, July 25, 2018 at 5:23:34 PM UTC-4, Birhanu Hailemariam wrote:
>
> I checked the GCP documentation throughly prior to publishing my question 
> and there isn't any clear instruction for mapping ReactJS routes correctly 
> in *app.ymal *config handlers. And, I was wondering if I cloud be missing 
> something in my config or is it even possible achieving this with App 
> Engine at all!... Anyway, will continue looking for the answer in other 
> platform. Than you for the tips!
>
> On Wed, Jul 25, 2018 at 11:28 PM 'Katayoon (Cloud Platform Support)' via 
> Google App Engine  wrote:
>
>> You may check your handler elements descriptions through this link 
>> .
>>  
>>
>>
>> Note that Google Groups are reserved for general Google Cloud 
>> Platform-end product discussions and not for technical questions. For 
>> further technical support, I recommend that you post your full detailed 
>> question  to Stack Overflow 
>> , using the 
>> supported Cloud tags.
>>
>> -- 
>> 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/c95cee97-96a4-45e3-b619-63de54f3622e%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

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


Re: [google-appengine] Re: Transaction APIs in Google Actions

2018-07-26 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Roberto, 

Your solution has the best chances to get accepted if you follow 
documentation in all detail. Deciding on how others would decide on the 
quality of your implementation is well over the scope of this discussion 
group. 

-- 
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/e4650a78-fc39-4cc9-b08b-6798621f91ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Using Process Managers

2018-07-26 Thread 'Julie (cloud platform support)' via Google App Engine
The decision on whether or not to include a process manager really depends 
on your application and if it is critical that it avoids/minimizes 
downtime. As mentioned by Kenworth, including one would likely improve user 
experience but may increase resource usage and therefore cost.

-- 
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/a7aba032-962d-4f8b-9ae0-d163c2203491%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] What software can I use to create account billing for my customer using Google Cloud?

2018-07-26 Thread Peter Polz
Hi!

What software can I use to create account billing for my customer using 
Google Cloud?

thx
Peter

-- 
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/92de89ba-9e44-4821-95a2-18f98f819b98%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Can't deploy NodeJs app with using IAM roles in a service account: error response 13: An internal error occurred

2018-07-26 Thread Valentin Despa

I am trying to deploy the *standard example NodeJs App* using a service 
account.

https://github.com/GoogleCloudPlatform/nodejs-docs-samples/tree/master/appengine/hello-world/standard

I have created a new *service account* with the roles (as described in the 
documentation 
https://cloud.google.com/appengine/docs/standard/nodejs/granting-project-access#deploying_using_iam_roles):

- App Engine Admin
- Storage Object Admin

When deploying with 

*gcloud app deploy --verbosity=debug*

I get the error:

Updating service [default]...⠛DEBUG: Operation [apps/MYAPP/operations/
01c6d8bc-9247-4d1b-924f-c6ec12514fcf] complete. Result: {
"metadata": {
"target": "apps/MYAPP/services/default/versions/20180726t071855",
"method": "google.appengine.v1.Versions.CreateVersion",
"user": "MYACCOUNT@ MYAPP.iam.gserviceaccount.com",
"insertTime": "2018-07-26T05:18:59.150Z",
"endTime": "2018-07-26T05:19:02.609Z",
"@type": 
"type.googleapis.com/google.appengine.v1.OperationMetadataV1"
},
"done": true,
"name": "apps/MYAPP/operations/01c6d8bc-9247-4d1b-924f-c6ec12514fcf",
"error": {
"message": "An internal error occurred.",
"code": 13
}
}
Updating service [default]...failed.
DEBUG: (gcloud.app.deploy) Error Response: [13] An internal error occurred.


*If I add the role Project Owner it is properly working and deploying a new 
version. *So it does not seem to be a problem with the code itself.

So it seems to be a permission problem. 

Does anybody have any ideas? I hate to do CI/CD with accounts with more 
permission than they need.

-- 
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/7ffc02ad-cfbf-4dce-8b53-72e3dff32417%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Problems deploying NodeJs App - Error Response: [13] An internal error occurred.

2018-07-26 Thread Valentin Despa

I am trying to deploy the standard example NodeJs App using a service 
account.

https://github.com/GoogleCloudPlatform/nodejs-docs-samples/tree/master/appengine/hello-world/standard

I have created a new service account with the roles (as described in the 
documentation 
https://cloud.google.com/appengine/docs/standard/nodejs/granting-project-access#deploying_using_iam_roles):

- App Engine Admin
- Storage Object Admin

When deploying with 

gcloud app deploy --verbosity=debug

I get the error:

Updating service [default]...⠛DEBUG: Operation 
[apps/MYAPP/operations/01c6d8bc-9247-4d1b-924f-c6ec12514fcf] complete. 
Result: {
"metadata": {
"target": "apps/MYAPP/services/default/versions/20180726t071855",
"method": "google.appengine.v1.Versions.CreateVersion",
"user": "MYACCOUNT@ MYAPP.iam.gserviceaccount.com",
"insertTime": "2018-07-26T05:18:59.150Z",
"endTime": "2018-07-26T05:19:02.609Z",
"@type": 
"type.googleapis.com/google.appengine.v1.OperationMetadataV1"
},
"done": true,
"name": "apps/MYAPP/operations/01c6d8bc-9247-4d1b-924f-c6ec12514fcf",
"error": {
"message": "An internal error occurred.",
"code": 13
}
}
Updating service [default]...failed.
DEBUG: (gcloud.app.deploy) Error Response: [13] An internal error occurred.


If I add the role Project Owner it is properly working and deploying a new 
version. So it does not seem to be a problem with the code itself.

So it seems to be a permission problem. 

Does anybody have any ideas? I hate to do CI/CD with accounts with more 
permission than they need.

-- 
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/6534e8d0-2323-48e5-a0e1-2e4fe3409070%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Asp.Mvc core always sees requests as HTTP

2018-07-26 Thread 'Olu' via Google App Engine
The documentation 

 
explains "By default, HTTPS connections on your custom domain will be 
enabled automatically using managed SSL certificates.". Managed 
certificates are provisioned on App Engine automatically once a Custom 
Domain is mapped to your application and the necessary DNS records are 
configured. Custom domains can be setup on App Engine on this section,  App 
Engine > Settings > Custom Domains 

. 

Please note that Custom Domains always require ownership verification 
. 

However, about being able to setup redirects based on the incoming request, 
unfortunately, App Engine Flex does not support the use of Secure handlers 

 
any longer. Hence, as recommended on this similar Stackoverflow case 
,
 
the only way around with App Engine flex is to handle such redirects within 
your application. 

-- 
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/b7729292-3cd4-46f5-b62c-1c0958357357%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.