[google-appengine] Re: How to restrict the connection between different GAE?

2018-10-04 Thread 'Caxton Chan' via Google App Engine
Hi Attila, Thanks and this way looks straightforward. Sorry that I forgot to mention that A is GAE flex env and B is GAE std env. Is this also apply to flex one? Best regards, Caxton On Friday, October 5, 2018 at 12:13:18 PM UTC+8, Attila-Mihaly Balazs wrote: > > Depending on how "A calls B" th

[google-appengine] Re: How to restrict the connection between different GAE?

2018-10-04 Thread 'Caxton Chan' via Google App Engine
Hey Katayoon, Thanks. This is a good point and it seems worth to try. I found this page demonstrated how to authenticate from a service account. Is this the same thing you talked about? On Friday,

[google-appengine] Re: How to restrict the connection between different GAE?

2018-10-04 Thread Attila-Mihaly Balazs
Depending on how "A calls B" there are different options. But assuming that you're using HTTPS / the urlfetch service, you'll get an "X-Appengine-Inbound-Appid" header which you can trust (see https://cloud.google.com/appengine/docs/standard/java/issue-requests). Attila -- You received this m

[google-appengine] Re: Python code runs in laptop's dev_appserver, but won't run in GAE :(

2018-10-04 Thread yanay
Dustin: You are spot on. Working like a charm. Before I leave the thread -- What was missing initially (that led to requirements.txt) were *httplib2* and *oath2client*. Noting that they are not bundled by default (per the link you sent), I just want to make sure I am using the right libs, and I

[google-appengine] Re: How export last week logs to bucket storage using API automatically (preferred with CRON.xml tasks)

2018-10-04 Thread 'Jorge A (Google Cloud Support)' via Google App Engine
You can use the logs.list method to list the logs from Stackdriver for a project. To store it in a bucket you can put the results of the logs.list method into a text file and upload if to GCS. On Thursday, September 27, 20

[google-appengine] Re: Is GAE required for GCE usage?

2018-10-04 Thread 'Mohammad I (Cloud Platform Support)' via Google App Engine
Hello James, It is possible to use Google Compute Engine only without using any Google App Engine. In fact Google App Engine flexible environment runs services on Compute Engine VMs. You can see the comparison between App Engine flexible environment to Compute Engine here.

[google-appengine] Re: How to restrict the connection between different GAE?

2018-10-04 Thread 'Katayoon (Cloud Platform Support)' via Google App Engine
You may use a Service Account which is a special type of Google account that belongs to your application. It is worthwhile to take a look at service account best practices

[google-appengine] Re: Python code runs in laptop's dev_appserver, but won't run in GAE :(

2018-10-04 Thread dustiningram via Google App Engine
Hi there, It sounds like you're deploying a Python 2 app, but specifying dependencies via a `requirements.txt` file is only supported with the App Engine Python 3 runtime. To use third-party dependencies with the Python 2 runtime, you'll need to bundle them with your application. See this guid

[google-appengine] Re: how to avoid an out of quota of module.get_versions in appengine

2018-10-04 Thread dgang
I asked this in server fault also after reading that it may there be more appropriate:https://serverfault.com/questions/933927/why-do-i-get-an-out-of-quota-on-module-getversion-and-how-to-avoid-this On Thursday, October 4, 2018 at 5:17:10 PM UTC+3, dg...@freightos.com wrote: > > I recently got an

[google-appengine] Is GAE required for GCE usage?

2018-10-04 Thread James Graham
I use four GCE VMs with a variety of APIs and services, but every month I see charges for App Engine Flex usage even though the GAE dashboard shows 0 requests over the same timeframe. Is it possible to use GCE without GAE? I can't tell if GAE is serving a purpose or if it was created accidentall

[google-appengine] How to restrict the connection between different GAE?

2018-10-04 Thread 'Caxton Chan' via Google App Engine
For some reason I have to create two projects A and B: - A is proxy server bounded with Endpoint and restrict access via API key, and - B is the main API server which does real work. - The client apps are connected to A with specific API key Is there any way to restrict B can

[google-appengine] Re: Setting OmitStackTraceInFastThrow in GAE Standard Java 8

2018-10-04 Thread Kishu Agarwal
Hey Mohammad I, Thanks for the information. I will surely look into it. On Thursday, October 4, 2018 at 3:08:21 AM UTC+5:30, Mohammad I (Cloud Platform Support) wrote: > > Hello Kishu, > > You are right to point out that “Environment Variables” can be set in the > Flex environment only as outli

[google-appengine] how to avoid an out of quota of module.get_versions in appengine

2018-10-04 Thread dgang
I recently got an error in appengine: *com.google.apphosting.api.ApiProxy$OverQuotaException: The API call modules.GetVersions() required more quota than is available. The API call modules.GetVersions() required more quota than is available.* com.google.apphosting.api.ApiProxy$OverQuotaException

[google-appengine] Python code runs in laptop's dev_appserver, but won't run in GAE :(

2018-10-04 Thread yanay
Dear GAE experts -- I'm just learning the environment and hope someone can bail me out of this situation: I have a tiny python script (that I cut and paste from the hello-world example and some others) I got it to work on my laptop (that has all the SDKs, token, etc. loaded) After gcloud app dep

Re: [google-appengine] Re: socket.io with GAE

2018-10-04 Thread Jin Gyu Chong
Thanks for your reply. Jin On Thu, Oct 4, 2018 at 3:08 PM Attila-Mihaly Balazs wrote: > GAE does not support websockets. You can start this issue and wait: > https://issuetracker.google.com/issues/35886348 (it has been there for > almost 10 years) > > -- > You received this message because you a