[google-appengine] Re: Calling Cloud Function from App Engine Java

2021-06-15 Thread Anatoli Trifonov
This does not seem to be working for connection from Java standard App Engine to Cloud Function. I created VPC Access Connector. Enabled it in my Java App Standard Engine application. Deployed function with vpc access connector. Java App still gets error 403 when connecting to function. I know

Re: [google-appengine] Re: How to run a custom script after deploying to App Engine?

2021-06-15 Thread Bilal Haidar
Thanks a lot > On 15 Jun 2021, at 6:22 PM, 'Abel (Google Cloud Platform Support)' via Google > App Engine wrote: > > Hello Javier, > > >Thanks for our message! I’ve been having difficult time understand these > >concepts. > Do not worry, we are here to assist you. > > >I have a step that

Re: [google-appengine] Re: How to authenticate a curl request in my app?

2021-06-15 Thread Bilal Haidar
Thanks a lot > On 15 Jun 2021, at 11:57 PM, 'David (Cloud Platform Support)' via Google App > Engine wrote: > >  > Hello, > > As you mentioned, a good way of doing this would be using secret manager. > This is the official document that explains how to use secret manager and > should help

[google-appengine] Re: How to authenticate a curl request in my app?

2021-06-15 Thread 'David (Cloud Platform Support)' via Google App Engine
Hello, As you mentioned, a good way of doing this would be using secret manager. This is the official document that explains how to use secret manager and should help you in getting your curl to work properly. On

[google-appengine] Re: no response headers from Google Frontend (or not paying for them), denial of wallet attacks

2021-06-15 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello, You are right, some headers are added, as a service to the app. This is documented in the App Engine-specific headers sub-chapter . However, the headers you mention are

[google-appengine] Re: Calling Cloud Function from App Engine Java

2021-06-15 Thread Anatoli Trifonov
Thank you. I will have a look. -- 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

Re: [google-appengine] Re: How to run a custom script after deploying to App Engine?

2021-06-15 Thread 'Abel (Google Cloud Platform Support)' via Google App Engine
Hello Javier, >Thanks for our message! I’ve been having difficult time understand these concepts. Do not worry, we are here to assist you. >I have a step that deploys the app to app engine. This step creates a nested container where it hosts the app inside. Could you please attach only the

Re: [google-appengine] Google App Engine - Split Traffic and promote

2021-06-15 Thread Patrice Bertrand
Sure.  Note that I'm just a regular user. I think it is best if "versions" in terms of GAE deployment match "versions" in terms of your Git, i.e. a consistent state of your project's files. Thus there will be occasions when you need to change version for your production environment.    In such

Re: [google-appengine] Google App Engine - Split Traffic and promote

2021-06-15 Thread Bilal Haidar
Thanks Patrice! Can you explain to me or refer me to a resource on the real use of versions? I must have misunderstood it. Many thanks Bilal On Tue, Jun 15, 2021 at 5:34 PM Patrice Bertrand < patrice.bertrand...@gmail.com> wrote: > Hello Bill, > > Maybe you should consider using 2 distincts

Re: [google-appengine] Google App Engine - Split Traffic and promote

2021-06-15 Thread Patrice Bertrand
Hello Bill, Maybe you should consider using 2 distincts projects instead of versions for the need that you describe.  This will allow you to use versions as proper versions, and to handle a version change within a given service. Alternatively, you could consider using 2 services, each with

[google-appengine] Google App Engine - Split Traffic and promote

2021-06-15 Thread Bilal Haidar
Hi, I would like to understand the relation between --promote (--no-promote) and split traffic. - When I make a version deployment (--promote), it means it takes 100% of the traffic - When I make a version deployment (--no-promote), it won't take any traffic percentage. *However, would I be

[google-appengine] Re: How to connect to cloud sql using cloud shell and SSL?

2021-06-15 Thread Bilal Haidar
Thanks goya! Super clean On Tuesday, June 15, 2021 at 3:02:40 PM UTC+3 goya wrote: > When your Cloud SQL instance has SSL, you cannot directly connect to it > from the Cloud Shell. You need to install the Cloud SQL Auth proxy in the > Cloud Shell [1] and connect to the instance using it. > > >

[google-appengine] Re: Calling Cloud Function from App Engine Java

2021-06-15 Thread 'goya' via Google App Engine
To be able to access your internal only function, the requests need to come from a VPC network in the same project. App Engine Flex and Standard connect differently to VPC networks: For App Engine flex you just need to set the network settings in the app.yaml file. On the other hand,

[google-appengine] Re: How to connect to cloud sql using cloud shell and SSL?

2021-06-15 Thread 'goya' via Google App Engine
When your Cloud SQL instance has SSL, you cannot directly connect to it from the Cloud Shell. You need to install the Cloud SQL Auth proxy in the Cloud Shell [1] and connect to the instance using it. [1]:

Re: [google-appengine] Re: Google App Engine TCP Connections

2021-06-15 Thread Bradley Barrows
Hi, I found the issue and the solution. I thought that GCP was killing off the VM/container running the App Engine server as the logging and request handling would just STOP right when this larger query was made. I was sure it had something to do with the limit on the amount of data that an

[google-appengine] Calling Cloud Function from App Engine Java

2021-06-15 Thread Anatoli Trifonov
I would like to confirm that App Engine Java *Standard *can not connect to Google Cloud Function if function is configured to accept only local traffic --ingress-settings=internal-only Could someone confirm please or share the link on how to connect? Java App and Function are in the same Google

[google-appengine] How to connect to cloud sql using cloud shell and SSL?

2021-06-15 Thread Bilal Haidar
Hi, My database instance has SSL enabled. When I try to connect to it via Cloud Shell, I get the famous message "ERROR 1045 (28000): Access denied for user". When I remove SSL from the instance, I can connect to it. Even when using SSL, the IP of the cloud shell is automatically whitelisted.