[google-appengine] Re: Ruby version file not working

2022-03-29 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello, 

You are right, the Ruby runtime uses version 2.7.5. Source code 
 is available on 
GitHub. Related details are to be found in the Overview 
 of 
the "The Ruby Runtime" documentation page 
.  

If you need to use a certain version of a programming language, you may 
consider creating a custom runtime, as documented on the "App Engine custom 
runtimes documentation" page 
. 

On Tuesday, 29 March 2022 at 09:49:59 UTC-4 jaso...@gmail.com wrote:

> Hi
>
> We are running a project in an App Engine from several years ago. We are 
> using flexible ruby. We have a .ruby-version file in our application 
> directory, with version 2.6.3, but all the deployments we have tried today 
> are ignoring the .ruby-version file, and they are installing the 2.7.5 ruby 
> version, which fails as we have a dependencies problem. In the app.yaml we 
> have:
>   env: flex
>   runtime: ruby
>
> We have tested with runtime: ruby26, but always is using ruby 2.7.5, no 
> matters which value we are using in runtime: ruby and in .ruby-version file
>
> Thanks in advance
>
> José Antonio Sánchez Ortiz
>

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/5799a8ac-f29f-4a90-a433-a76d911b8e02n%40googlegroups.com.


[google-appengine] Re: Want to use more GPU

2022-03-23 Thread 'George (Cloud Platform Support)' via Google App Engine
You may consider asking for an increase of your project's GPU quota. You 
may find relevant instructions in replies to the "How to request GPU quota 
increase in Google Cloud" question 

 
in stackoverflow. 

On Wednesday, 23 March 2022 at 09:41:14 UTC-4 cong@dac-datatech.vn 
wrote:

> Current, I'm using 4 GPU at the same time.
> I want to use more GPU, but can not extend GPU quotas.
> How can I add more GPU?
>

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/1b822d65-dd8f-4cab-b344-51e6c3749a7cn%40googlegroups.com.


[google-appengine] Re: When is the security assessment not required?

2022-03-10 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello, 

Replies to most of your questions are to be found on the "OAuth API 
verification FAQs" page 
,
 
in particular under the "How do I determine if I need to submit my app for 
restricted scope verification?" question. One exemption is described, for 
instance, as "only owners use the project", which appears to be the case. 
The FAQs cover the App Engine part of your question. You may have to 
ascertain that YouTube is OK with your use-case. 

On Thursday, 10 March 2022 at 07:31:50 UTC-5 fitnessv...@gmail.com wrote:

> I would like to create a app that can upload video to youtube, let's say 
> automatized youtube channel, where everything is done by API. So i can run 
> a script and upload everything i want from a folder on my desktop.
>
> My question is about the O'Auth 2.0 from google. In my use case, is there 
> any requirement of "security assessment ?" I'm the only one user of it and 
> the only data that matters to my is the data from my youtube channel.
>
> Can i use the API safely without paying the "security assessment" of 75 
> 000$ in the worst case ?
>
> In the case i got blocked by the "security assessement" do i have to pay 
> it 100% whatever i do ?
>
> Thanks in advance, Christos
>

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/3569b126-7d0f-4460-8aad-4d7a2752cf05n%40googlegroups.com.


[google-appengine] Re: Outbound Static IP for App Engine Flex Environment

2022-02-21 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Maha, 

You are right, there is no means offered as yet, to associate a static IP 
to an App Engine Flexible instance. You may consider setting up a load 
balancer, and use Cloud Load Balancing and serverless NEGS to reserve a 
static IP address for your load balancer, as detailed on the "Setting up a 
global external HTTP(S) load balancer (classic)" page 

. 

There is an open feature request  
for this feature. You may consider starring the issue to be notified of 
further updates.

On Monday, 21 February 2022 at 06:48:30 UTC-5 Maha Farhat wrote:

> Hi, 
>
> I want to know how we can attach a static IP to the App engine instance 
> using a flexible environment. 
>
> According to the documentation this could be achieved for the standard 
> environment using vpc_access_connector, but have not found anything for 
> the flexible environment. 
>
> Regards,
>

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/a7cd0f83-4d33-4801-9d0c-e3f1a052f9acn%40googlegroups.com.


[google-appengine] Re: gcloud app deploy error - gcloud crashed: Failed to establish a new connection

2022-02-14 Thread 'George (Cloud Platform Support)' via Google App Engine
This error is quite often indicative of local networking issues, especially 
proxies. If you are behind a corporate proxy or firewall, the Google Cloud 
CLI might not be able to access the internet with its default settings. 
You'll need to preform extra configuration steps to solve the issue. 
Related information is to be found on the "Configuring the gcloud CLI for 
use behind a proxy/firewall" documentation page 
. 

On Saturday, 12 February 2022 at 10:59:21 UTC-5 sinhas...@ocularai.co.in 
wrote:

> Hi,
>
> I am getting below error while trying to deploy my django app from gcloud 
> sdk
>
> below are the command used
> gcloud init
> and 
> gcllod app deploy
>
> below is the error message:
>
> ERROR: gcloud crashed (TransportError): HTTPSConnectionPool(host='
> oauth2.googleapis.com', port=443): Max retries exceeded with url: /token 
> (Caused by NewConnectionError(' at 0x021EB7D7A190>: Failed to establish a new connection: [WinError 
> 10060] A connection attempt failed because the connected party did not 
> properly respond after a period of time, or established connection failed 
> because connected host has failed to respond'))
>
>
> It looks like it is unable to connect since max retires exceeded. but 
> don't know what exactly.
> Please advise how to fix 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/a35779ff-a7fa-4713-a808-f1cb8dac82f4n%40googlegroups.com.


[google-appengine] Re: App Engine Standard - app:invalid port 8080

2022-02-07 Thread 'George (Cloud Platform Support)' via Google App Engine
For related detail, you may check the "Application startup" sub-chapter 

 
of the "Node.js Runtime Environment" page. 

On Sunday, 06 February 2022 at 11:41:31 UTC-5 zhenyang@gmail.com wrote:

> Hello, 
>
> I'm trying to deploy my react app to app engine using port 8080.
>
> The logs payloads as below:
> 1. textPayload: "[start] 2022/02/06 04:52:28.768200 Waiting for network 
> connection open. Subject:"app/invalid" Address:127.0.0.1:8080"
> 2.  textPayload: "[start] 2022/02/06 04:52:28.768200 Waiting for network 
> connection open. Subject:"app/valid" Address:127.0.0.1:8081"
>
> NGINX started on port 8080.
>
> I'm keep getting CANNOT GET/ from gcloud app browse.
>
> I could not find any resources about app:invalid issue, I do not how to 
> approach this issue.
>
> What should I do now?
>
>
>  
>

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/3d442e4d-e4c0-4eee-9bb2-04a050277b13n%40googlegroups.com.


[google-appengine] Re: Getting X-Appengine-Inbound-Appid from headers in Python 3

2022-01-27 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello, 

You can find relevant instructions and an example in the "Granting your app 
access to Cloud services" sub-chapter 
 
of 
the "Setting Up Access Control" documentation page. When using Python 3, 
one needs to authenticate to each service by means of a service API 
Client() call. 

On Thursday, 27 January 2022 at 09:49:49 UTC-5 sukh...@tummee.com wrote:

> Hello,
>
> We are migrating from Python 2 to Python 3 and one of our authentication 
> checks is to assert App Identity using the App Identity Python API 
> . In 
> my Python 3 application, I'm unable to get the X-Appengine-Inbound-Appid 
> data from headers. I printed the request headers in Flask by using the 
> request.headers but the above needed information was not present. Also, I'm 
> calling my Python 3 application via urlfetch from a current Python 2 
> application. 
>
> Any help would be great. 
>
> 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/8cca1166-b552-408e-8ad3-c5b3b7380bf0n%40googlegroups.com.


[google-appengine] Re: Firewalling AWS

2022-01-25 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Joshua, 

You have done the right thing with robots.txt. App Engine firewall 

 
offers these 3 options: Allow only traffic from within a specific 
network, Allow only traffic from a specific service, and Block abusive IP 
addresses. You have considered these in your post, so there is no other 
option, except based on eventual other subscriptions. 

On Tuesday, 25 January 2022 at 10:23:01 UTC-5 Joshua Smith wrote:

> I have a small site that I run on a not-for-profit basis.
>
> Periodically I need to update robots.txt or add firewall rules to shut 
> down bad actors who beat the crap out of the site running up my instance 
> costs.
>
> Lately, I've been getting slammed by instances running on AWS. They are 
> mostly making HEAD requests, which makes me think it's some kind of 
> crawler, but it uses regular browser user agents and doesn't respect my 
> robots rules.
>
> There's no legitimate reason for AWS to browse my site, so I just add a 
> firewall rule, right? Trouble is, AWS has 6,462 different IPV4 address 
> ranges, and this crawler is constantly jumping between them.
>
> Any costs that I have are paid out of my own pocket. So I'm looking for 
> suggestions that don't require MORE subscriptions (like CloudFlare or 
> something).
>
> Any ideas?
>
> -Joshua
>
>

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/ff8c1ffd-1579-4059-8cc7-30b39e32022cn%40googlegroups.com.


[google-appengine] Re: Deploying with Dockerfile: error: Unable to locate package python3.8

2022-01-24 Thread 'George (Cloud Platform Support)' via Google App Engine
How does your deploy command look like? It should look similar to: gcloud 
app deploy 
--image-url=LOCATION-docker.pkg.dev/PROJECT-ID/REPOSITORY/IMAGE:TAG. 

The error message invites us to look at logs. If we ask for logs here, we 
risk getting your private information visible in a publicly visible thread 
like this one. If you think there is a fault on App Engine Flexible side, 
you may consider opening an issut in the Public Issue Tracker 
. This discussion group is oriented more 
towards general opinions, trends, and issues of general nature touching the 
App Engine. For technical details such as these, you may consider checking 
stackoverflow or similar. 

On Sunday, 23 January 2022 at 11:50:10 UTC-5 daniel@skytruth.org wrote:

> I am using this Dockerfile to deploy to App Engine Flexible environment:
>
> FROM gcr.io/google-appengine/python
> RUN apt-get -y update && apt-get -y upgrade\
> && apt-get install -y software-properties-common \
> && add-apt-repository -y ppa:ubuntugis/ppa \
> && add-apt-repository -y ppa:deadsnakes/ppa \
> && apt-get -y update && apt-get -y upgrade\
> && apt-get -y install python3.8 python3.8-distutils python3.8-venv \
>gdal-bin libgdal-dev python3-gdal  \ 
> && apt-get autoremove -y \
> && apt-get autoclean -y \
> && apt-get clean \
> && rm -rf /var/lib/apt/lists/*
>
> RUN virtualenv /env -p python3.8
> ENV VIRTUAL_ENV /env
> ENV PATH /env/bin:$PATH
>
> etc.
>
> I've been using this configuration for at least a year and deploy to GCP 
> regularly. I haven't installed or updated any libraries and only changed 
> some Python code. As of this Friday (1/21/2022) morning, when I try to 
> deploy I'm getting these errors:
>
> Calculating upgrade...
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> Reading package lists...
> Building dependency tree...
> Reading state information...
> E: Unable to locate package python3.8
> E: Couldn't find any package by glob 'python3.8'
> E: Couldn't find any package by regex 'python3.8'
> E: Unable to locate package python3.8-distutils
> E: Couldn't find any package by glob 'python3.8-distutils'
> E: Couldn't find any package by regex 'python3.8-distutils'
> E: Unable to locate package python3.8-venv
> E: Couldn't find any package by glob 'python3.8-venv'
> E: Couldn't find any package by regex 'python3.8-venv'
> The command '/bin/sh -c apt-get -y update && apt-get -y upgrade&& 
> apt-get install -y software-properties-common && add-apt-repository -y 
> ppa:ubuntugis/ppa && add-apt-repository -y ppa:deadsnakes/ppa && 
> apt-get -y update && apt-get -y upgrade&& apt-get -y install python3.8 
> python3.8-distutils python3.8-venvgdal-bin libgdal-dev python3-gdal 
>  && apt-get autoremove -y && apt-get autoclean -y && apt-get 
> clean && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100
> ERROR
> ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited 
> with non-zero status: 100
>
>
> ---
> ERROR: (gcloud.app.deploy) Cloud build failed. Check logs at 
> https://console.cloud.google.com/cloud-build/builds/d994e9d6-3c73-4cb8-b5af-6a186c229d3f?project=33114313460
>  
> Failure status: UNKNOWN: Error Response: [2] Build failed; check build logs 
> for details
>
> Thanks in advance for any help you can provide.
>

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/6ed33fbb-9616-45c3-ac81-a9a7588a6e6fn%40googlegroups.com.


Re: [google-appengine] Python 3 local development: fast startup or static assets, choose one?

2022-01-03 Thread 'George (Cloud Platform Support)' via Google App Engine
It does look as if this is a coding issue, so it may be worth mentioning: 
this is a tracker for App Engine specific issues. When it comes strictly to 
programming and coding in Python, you’ll be at an advantage to rather post 
your questions on Stackoverflow, to gain this way access to a large number 
of experts; it is meant for providing you help with coding.
On Saturday, 01 January 2022 at 13:06:35 UTC-5 goo...@ryanb.org wrote:

> I revisited this again recently and wrote a drop-in Flask extension that 
> serves app.yaml static file and directory handlers: flask-gae-static 
> . Feedback is welcome!
>
> On Sunday, October 31, 2021 at 10:39:33 AM UTC-7 Ryan B wrote:
>
>> Resurrecting this year and a half old thread to plug 
>> https://github.com/XeoN-GHMB/app_server , a little dev_appserver 
>> replacement that wraps your existing local app server and adds static file 
>> serving that supports app.yaml static_* handlers. Sounds similar to the 40 
>> line middleware you mentioned.
>>
>> I was finally forced to migrate away from dev_appserver due to the 
>> continued degrading of the Python 2 ecosystem. Specifically, when I 
>> migrated to macOS Monterey, dev_appserver failed to start and complained, 
>> Cannot 
>> use the Cloud Datastore Emulator because the packaged grpcio is 
>> incompatible to this system. Please install grpcio using pip. I tried to 
>> install grpcio for Python 2, but Montery doesn't include Python 2's pip, 
>> and easy_install couldn't install it. app_server to the rescue!
>>
>> On Sunday, December 15, 2019 at 9:22:49 AM UTC-8 re...@el-tramo.be wrote:
>>
>>> Hi Ryan,
>>>  
>>>
 understood, but using a different static file server is not great. it 
 makes local development diverge significantly from production. local no 
 longer uses or tests app.yaml's static file handlers, but prod does, so 
 bugs will eventually pop up that only happen in production, and are thus 
 harder to test for and debug.

>>>
>>> The way I solve this is to have a little piece of middleware (only in 
>>> dev mode) that loads app.yaml and serves the static_* handlers statically. 
>>> The basic logic (I might not be handling all cover cases, but it works for 
>>> me) is pretty simple, and the entire middleware class takes about 40 lines 
>>> of code.
>>>
>>> thanks,
>>> Remko
>>>


-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/749d2e19-b8ea-44a8-b005-334c89337921n%40googlegroups.com.


Re: [google-appengine] Updates from the Google App Engine team (Fall 2021)

2021-11-05 Thread 'George (Cloud Platform Support)' via Google App Engine
There is no official description, somewhere, of "how the scaling has 
changed" or "how it has been implemented differently", as there is no 
change in scaling behavior, and no different implementation. This is an 
assumption while we investigate the situation described by Joshua above. I 
could not find a similar issue in the Public Issue Tracker 
, so the difference in scaling between 
Python 2 and 3 is likely a one-time occurrence, and caused by idiosyncratic 
settings in the project, or application-specific factors. Such issue are 
difficult to approach in a publicly-accessible thread as this one, as 
investigation needs particulars such as project ID, and access to other 
private data. To have this issue properly addressed, it's better to open a 
support case 
 or an 
issue in the Public Issue Tracker . 

On Friday, 05 November 2021 at 05:50:42 UTC-4 Nicolas Fonrose (Teevity) 
wrote:

> Hello David,
>
> >There’s not an official way of forcing the scaling to behave like it used 
> to be on python 2.7.
> Is there an official description, somewhere, of "how the scaling has 
> changed" or "how it has been implemented differently" ?
> Or this change just a side effect of technical choices that were made in 
> the new runtimes?
>
> Thanks,
>
> On Thursday, November 4, 2021 at 9:56:43 PM UTC+1 David (Cloud Platform 
> Support) wrote:
>
>> Hello,
>>
>> Other than applying changes within your own application so it will go 
>> easy at startup, you can try using warmup requests 
>> 
>>  
>> along with tweaking the min_idle_instances element 
>> 
>>  
>> in your app.yaml, in order to reduce request and response latency during 
>> the time when your app's code is being loaded to a newly created instance.
>> There’s not an official way of forcing the scaling to behave like it used 
>> to be on python 2.7. However, this type of feedback can be passed to the 
>> App Engine engineering team in the form of a feature request. You can 
>> create such a feature request here 
>> .
>>  
>> The App Engine engineering team would then evaluate it and decide whether 
>> it could be implemented or not.
>> On Thursday, November 4, 2021 at 11:38:52 AM UTC-4 Joshua Smith wrote:
>>
>>> Thanks for sending out this update. I did, indeed, miss most of this 
>>> news.
>>>
>>> This item, in particular, is *awesome*:
>>>
>>>
>>>
>>>- 
>>>
>>>Extending support for App Engine bundled services 
>>>
>>> 
>>>  
>>>(Sep 2021) 
>>>
>>>
>>> This sounds like it will make it so much easier to migrate to Python 3.7.
>>>
>>> One thing I've noticed is that my older apps on 2.7 seem to handle peak 
>>> scaling a lot better than my newer apps on 3.7. For example, if I have a 
>>> web page that hits a 2.7 app with 100 REST calls at startup (bad design, 
>>> but it happens), the old app serves them all eventually. But if I do the 
>>> same thing in a 3.7 app, it's likely to choke and fail a bunch of those 
>>> requests with these:
>>>
>>>
>>> The specific pattern is that after the first couple requests, it spins 
>>> up a new instance. That takes 5 seconds to serve its first request (simple 
>>> app, so I guess that's just GAE overhead). Then it spins up a couple more. 
>>> Then I start getting those errors on some of the requests, because 15s have 
>>> passed. In this capture the blue ones are new instances spinning up, and 
>>> the orange ones are timeout errors (note the 15s time on those).
>>>
>>>
>>> I've been designing around the issue by making sure my web apps go easy 
>>> on the server on startup. But it is yet another concern about migrating.
>>>
>>> Is there a way to tune the auto-scaling for 3.7 to behave like the 2.7? 
>>> Here's a similar set of requests to my 2.7 app, which only spins up one 
>>> extra instance, and never throws timeout errors, ever:
>>>
>>>
>>> -Joshua
>>>
>>>
>>>

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/321e134a-09d4-4536-9426-1a65170ca498n%40googlegroups.com.


[google-appengine] Re: Custom Domain much slower than $PROJECT_ID.appspot.com

2021-07-19 Thread 'George (Cloud Platform Support)' via Google App Engine
Engineering let us know that they are no longer going to fix the 
cross-region query flow. There is a readily available solution in the form 
of a serverless neg behind GCLB, and has neither the latency nor 
cross-region query flow problems, as well as having other functionality 
like cache flushes and TLS cipher control. 

On Thursday, 09 August 2018 at 09:41:52 UTC-4 soul...@gmail.com wrote:

> Hi,
>
> I've set up a custom domain for my service and I find that when accessing 
> the service via that domain it is significantly slower than accessing it 
> via its $PROJECT_ID.appspot.com address. I have determined that it's not 
> an issue with DNS as the difference in latency is still there when using 
> the resolved IP addresses directly.
>
> The slowdown is very noticeable: it varies from 2x to 10x slower on the 
> custom domain, and the delay occurs in the period between the connection 
> being established and the first byte being sent.
>
> Also note my app engine service is running in Sydney.
>
> Is it possible I've misconfigured something? My DNS is CNAMEd to 
> ghs.googlehosted.com, but it seems to me that using custom domains for 
> routing is simply really slow. Is there anything I can do to improve the 
> latency here?
>
> Cheers,
> James
>

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/a81746f3-de60-4db6-8ddb-0d1efd23dd86n%40googlegroups.com.


[google-appengine] Re: get SSL certificate (appspot.com) to consume WS deployed on GCP

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

To declare that HTTPS should be used for a URL, you set up a security 
constraint in the deployment descriptor for your appspot.com domain. 
Related details are to be found in the "Secure URLs" sub-chapter 

. 

You might find the "Get started with managed SSL/TLS certificates" page 

 
of interest as well. 

On Tuesday, 06 July 2021 at 10:53:16 UTC-4 jacost...@gmail.com wrote:

> Hello everyone, how are you?
>
> I need to get the ssl certificate of this WS to consume it from my 
> application
>
>
> https://ecommerce-apis-dot-api-project-307770427626.uc.r.appspot.com/ecommerce-APIS/exist/102096
>
> I have tried to obtain the default ssl certificate (domain appspot.com) 
> but I can't find anything, can someone guide me?
>
> Thank you!
> Greetings
>

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/20c4fb1e-1216-41b4-b3f9-9d930c16689fn%40googlegroups.com.


[google-appengine] Re: Multiprocessing app engine issue

2021-06-18 Thread 'George (Cloud Platform Support)' via Google App Engine
This discussion group is oriented more towards general opinions, trends, 
and issues of general nature touching the App Engine. For coding and 
program architecture, as well as implementing multiprocessing in your code, 
you may be better served in dedicated forums such as stackoverflow, where 
experienced programmers are within reach and ready to help.

On Monday, 14 June 2021 at 01:28:35 UTC-4 ankit...@gmail.com wrote:

> Hi Team,
>
> Can you please suggest, how we can resolve this?
>
> On Saturday, 12 June 2021 at 19:13:27 UTC+5:30 Ankit Dwivedi wrote:
>
>> Hi, 
>>
>> yes we are successfully able to upload file to bucket, but as earlier 
>> said we have two services A and B and calling service B api from service A 
>> to upload the file. All the api's working properly but when calling service 
>> B api from service A to upload the file, api request is waiting for 
>> completion and we want response back from service A without waiting for the 
>> response.
>>
>> We tried followed app engine cloud task approach but stuck, as we are not 
>> able to send image in request body.
>> Please advise how we can achieve this.
>>
>>  
>>
>> On Saturday, 12 June 2021 at 05:59:11 UTC+5:30 jlibera wrote:
>>
>>> Hello,
>>>
>>> For your use case, would you be able to confirm if the files are indeed 
>>> being successfully uploaded to your GCS bucket? Also, would you be able to 
>>> verify if the public documentation for logging with [1] your Python App 
>>> Engine application was already consulted? Are you able to call other 
>>> functionalities from your services (downloading, listing, etc.)? Perhaps 
>>> the issue may lies in your code implementation which I would suggest to 
>>> reach out to communities such as Stack Overflow [2] or Github for such 
>>> inquiries as they would be better suited for developmental questions. 
>>>
>>> Furthermore, I would advise to look through documentation on how App 
>>> Engine handles it's requests [4] in order to gain some insight on how your 
>>> requests are received and responses sent for your application. 
>>>
>>> [1] 
>>> https://cloud.google.com/appengine/docs/standard/python/how-requests-are-handled#logging
>>> [2] https://stackoverflow.com/
>>> [3] https://github.com/GoogleCloudPlatform/python-docs-samples/issues
>>> [4] 
>>> https://cloud.google.com/appengine/docs/standard/python3/how-requests-are-handled
>>>
>>> On Friday, June 11, 2021 at 10:47:48 AM UTC-4 ankit...@gmail.com wrote:
>>>
 Hi Team,

 We are stuck with a issue, we are trying to use multiprocessing. We are 
 using below ways.

 1. from multiprocessing.dummy import Pool
 pool = Pool(20)
 pool.apply_async(call_api, )

 2. import concurrent.futures
 import requests
 pool = concurrent.futures.ThreadPoolExecutor(max_workers=4)
 pool.submit(lambda:requests.post(x))

 We are using python 3.7 and app.yaml file is below.

 service: abc
 runtime: python37
 instance_class: B4_1G
 entrypoint: gunicorn -w 4 -k uvicorn.workers.UvicornWorker app.main:app
 basic_scaling:
   idle_timeout: 10m
   max_instances: 25

 Both the methods are working fine in our local machines(computers) but 
 when deploying on app engine these functionality are not working even we 
 are not getting any error in logs.

 Our use case is, we have two services A and B in service B we have 
 written a api to upload file into google bucket, and we are calling this 
 api from service A, we are uploading big files so we cant wait to 
 complete, 
 so we want response back from service A after call Service B api.

 Please help to understand, what is the issue and how can we achieve 
 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/057415d3-507d-4321-878d-2c19ec72d996n%40googlegroups.com.


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

2021-06-16 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello, 

You are right, you can use traffic splitting to specify a percentage 
distribution of traffic across two or more of the versions within a 
service, as detailed on the "Split Traffic" page 
. 
Deploying with --promote would attract all traffic to the deployed version. 
However, by contrast, traffic splitting is applied to URLs that do not 
explicitly target a version. In other words, you'll need 2 separate 
services, one for your prod environment, the other for staging. Two 
versions would not work for traffic splitting. 

You can access different versions by version URLs at any time. 

On Tuesday, 15 June 2021 at 08:28:05 UTC-4 bha...@gmail.com wrote:

>
> 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 able to visit this version by URL? Would this version 
> be stopped or active?*
> - Split Traffic it works sort of against (--promote). We use it when we 
> want to split the traffic among versions instead of promoting a single 
> version.
>
> I am planning to have two versions of my app. One is prod and another 
> staging.
>
> Only prod should serve clients. While staging should only be used 
> internally for testing, etc.
>
> Shall I use *--promote* with the prod environment and *--no-promote* with 
> the staging one?
>
> Thanks
> Bill
>

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/9d2dbb80-b62e-4f84-b372-5567ac7af1b6n%40googlegroups.com.


[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 not added, but removed from request 
responses 
.
 
You are right, outgoing traffic is counted towards your bill 
. 

This discussion group is oriented more towards general opinions, trends, 
and issues of general nature touching App Engine and Cloud SQL. For coding 
and programming architecture, as well as adding or removing headers, you 
may be better served in dedicated forums such as stackoverflow, where 
experienced programmers are within reach and ready to help. 
On Sunday, 13 June 2021 at 18:27:59 UTC-4 waltrau...@gmail.com wrote:

> Hi,
>
> in LogsExplorer I see by a request (protoPayload):
> responseSize: "95"
> cost: 1.0617e-8
>
> I guess it is byte and dollar, from: outgoing bandwidth cost of 0.12$/gb.
>
> This request has 0 content length and I tried to remove each and every 
> response headers via Jetty. Still Google Frontend adds response headers and 
> I guess *these are counted towards my bill too, even if I do not see how 
> I could stop App Engine to add these response headers.* In Chrome 
> developer console I see following response headers:
>
>1. content-length:0
>2. content-type:text/html
>3. date:Sun, 13 Jun 2021 12:27:59 GMT
>4. server:Google Frontend
>5. 
>x-cloud-trace-context:01c5ef694***
>
> *My question(s): *Do browsers need these response headers? Can I ask 
> Google Frontend to skip all headers? (app.yaml or so). If not, why is it 
> counted towards my bill? Please do not say it is not much, because if it is 
> sooo little, you might as well not count this 100 bytes...
>
> It seems odd to me that the system adds data to a response (if it is not 
> needed for the browser) and I have to pay for it.
>
> How is this relevant? I try to minimise my costs associated with a future 
> denial of wallet like attack. GET requests to static resources may cause a 
> huge bill through outgoing bandwidth / gb, which is a big vulnerability I 
> believe so.
>
> In the process of minimizing data sent for first GET requests to /, I 
> realized I pay for these unwanted response headers which might not be much 
> in case of an attack relative to data I must send the first time, still it 
> is somehow disturbing :)
>
> If you could, I would also be happy to get some suggestions how I can 
> defend against denial of wallet attacks. I do not find anything useful.
>
> Actually I have a system now and to be honest if I send 500 bytes of data 
> the extra 100 bytes will not make a lot of difference, still now I am 
> curious why I have to pay for the data if it is just garbage (I do not know 
> at this point, it seems to be garbage to me cause I do not need it) and I 
> do not want to send it to the client.
>
> Thanks!
>

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/c10ef382-0d84-41bf-91f1-b727542357e2n%40googlegroups.com.


[google-appengine] Re: The /app/bootstrap/cache directory must be present and writable.

2021-06-14 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Bill, 

To thoroughly investigate this issue one needs access to private data, such 
as project numbers. Such information should not be published here, or in 
any other publicly visible thread.  

As this issue is specific to your app, you should either contact a GCP 
Support Engineer, or, if you think this is GCP-related, you should open an 
issue in the Public Issue Tracker , 
marking it as private. Publicly visible postings as in this Group are not 
the proper way to report an issue, as often private information items such 
as project numbers are requested. 

On Friday, 11 June 2021 at 10:46:23 UTC-4 bha...@gmail.com wrote:

>
> Hello,
>
> Suddenly, I started getting the following error while running Google Cloud 
> Build:
>
> ---
> Step #3: Step #2: Generating optimized autoload files
> Step #3: Step #2: > Illuminate\Foundation\ComposerScripts::postAutoloadDump
> Step #3: Step #2: > @php artisan package:discover --ansi
> Step #3: Step #2: 
> Step #3: Step #2: In PackageManifest.php line 177:
> Step #3: Step #2: 
> Step #3: Step #2: The /app/bootstrap/cache directory must be present and 
> writable. 
> Step #3: Step #2: 
> Step #3: Step #2: 
> Step #3: Step #2: Script @php artisan package:discover --ansi handling the 
> post-autoload-dump event returned with error code 1
> Step #3: Step #2: error building image: error building stage: waiting for 
> process to exit: exit status 1
> Step #3: Finished Step #2
> Step #3: ERROR
> 
>
> This is my composer section:
> "scripts": {
> "post-autoload-dump": [
>   "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
>   "@php artisan package:discover --ansi"
> ],
> "post-root-package-install": [
>   "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
> ],
> "post-create-project-cmd": [
>   "@php artisan key:generate --ansi"
> ],
> "post-install-cmd": [
>   "find .\/bootstrap\/cache -type d -exec chmod g+s {} \\;",
>   "find .\/storage -type d -exec chmod g+s {} \\;",
>   "chmod -R 755 .\/bootstrap\/cache",
>   "chmod -R 755 .\/storage\/logs",
>   "php artisan cache:clear",
>   "php artisan route:cache",
>   "php artisan config:cache",
>   "php artisan view:cache"
> ],
> "post-update-cmd": [
>   "Illuminate\\Foundation\\ComposerScripts::postUpdate"
> ]
>   },
>
> This is my cloudbuild file:
> steps:
>   - name: 'gcr.io/cloud-builders/gsutil'
> args: [ 'rsync', 'gs://$_BUCKET/', './' ]
>   - name: node:14.0.0
> entrypoint: npm
> args: ['install']
>   - name: node:14.0.0
> entrypoint: npm
> args: ['run', 'prod-all']
>   - name: 'gcr.io/cloud-builders/gcloud'
> args: ['beta', 'app', 'deploy', '--project', '$PROJECT_ID', '-q', 
> '$_GAE_PROMOTE', '-v', '$_GAE_VERSION']
> timeout: '3600s'
>
> It was working just this morning, I am not sure what happened.
>
>
> Thanks
> Bill
>
>

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/f2f00762-9e1f-401a-bd94-9ecf76368638n%40googlegroups.com.


Re: [google-appengine] Re: Max 10,000 file limit is not suitable for modern full featured wordpress site or any PHP app

2021-05-10 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Sandeep, 

What form do your plugins take? Are these plugins not files? If the plugins 
are included in your PHP application, you may need to deploy your app again 
with the new plugins. 

You may use the advantages offered by a paid account to request a quota 
increase, if this solves the issue. 

Access to resources is controlled by quotas, Cloud Platform resources not 
being limitless. The purpose of this quota-imposed limitation is to avoid a 
situation whereby an app uses resources on a large scale, preventing other 
apps and projects to access the same resources. Everyone pays for the 
received services, but resources in Cloud Platform, even if plentiful, are 
not unlimited, hence imposed quotas. 

On Friday, 07 May 2021 at 09:23:35 UTC-4 Sandeep Koduri wrote:

> These are plugins which are in PHP not static files. 
> We are using a paid account. 
>
> On Fri, May 7, 2021 at 3:50 AM 'yananc' via Google App Engine <
> google-a...@googlegroups.com> wrote:
>
>> Hi Sandeep,
>>
>> According to the documentation [1], Apps can serve static files from a 
>> Google Cloud option such as Cloud Storage, serve them directly, or use a 
>> third-party CDN. And also, the Google Cloud Platform free tier coverage 
>> does not provide quota increase requests, you may have to upgrade to a paid 
>> billing account if you would like to use features that are not included in 
>> the Free trial, such as GPUs, Windows servers, and quota increases [2].
>>
>>
>> [1]: 
>> https://cloud.google.com/appengine/docs/standard/go111/serving-static-files
>>
>> [2]: https://cloud.google.com/free/docs/gcp-free-tier#how-to-upgrade
>>
>>
>> On Wednesday, April 28, 2021 at 3:14:38 PM UTC-4 Sandeep Koduri wrote:
>>
>>> I was looking at what files/folders has most files. Realized its 
>>> plugins, I am not sure if I can use plugins from Cloud Storage. 
>>>
>>> I dont understand the solution here, if appengine is infrastructure as 
>>> service and I am paying for resources I use., why do I need special support 
>>> plan. 
>>>
>>> Addressing responses from Google here, Cloud Storage Cant be answer for 
>>> problem here. And its not App Engine Free Tire issue(we have a billing 
>>> account).
>>>
>>> On Wednesday, April 1, 2020 at 12:18:03 AM UTC+5:30 henry@gmail.com 
>>> wrote:
>>>
 Thanks  Katayoon
 we are uploading just 1 file per POST request.  About 10'000 files per 
 month. 
 Henry



 On Tue, 31 Mar 2020 at 10:45, 'Katayoon (Cloud Platform Support)' via 
 Google App Engine  wrote:

> Hello Henry,
>
> Looking into your issue report, it seems your issue is not related to 
> the App Engine deployment quota and is related to the Blobstore 
> . 
> So, you may consider the maximum number of files in a single form POST 
> which the limit is 500. I have reopened your issue tracker ticket for 
> further investigation and you can continue with it.
>
> -- 
>
 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-appengi...@googlegroups.com.
>
 To view this discussion on the web visit 
> https://groups.google.com/d/msgid/google-appengine/cb50ade3-c13b-4de0-a0ab-3ac9311157ef%40googlegroups.com
>  
> 
> .
>
 -- 
>>
> You received this message because you are subscribed to a topic in the 
>> Google Groups "Google App Engine" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/google-appengine/uxLbmkWZPqM/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to 
>> google-appengi...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-appengine/731d2dc7-490d-4c3b-80e5-fa1da8314bbcn%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/7fe3a8e4-c751-46ec-b8a7-7d0fd6a9ee6en%40googlegroups.com.


Re: [google-appengine] Re: GAE request URI traffic stats

2021-05-05 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Amogh, 

You are perfectly right, log-based metrics do enjoy real-time behavior: 
"Combine the power of Cloud Logging with BigQuery for advanced analysis and 
use log-based metrics to build real-time Cloud Monitoring dashboards", as 
indicated on the "Cloud Logging" documentation page 
. 

On Tuesday, 04 May 2021 at 17:56:21 UTC-4 amo...@pncl.tech wrote:

> This is very helpful, thanks Yanan. We were trying to do something similar 
> with the Trace reports, but those seem to be static only and don't update 
> in realtime. Can we expect the logs based metrics to have realtime 
> reporting? Is there any delay expected from the time a log entry gets 
> written to the time it gets accounted for in the metrics computed and shown?
>
> Regards,
>
> Amogh
>
> Sent via Superhuman 
>
>
> On Sun, May 02, 2021 at 3:52 PM, yananc  wrote:
>
>> Hi, 
>>
>> So my understanding is that you would like to have the stat metrics by 
>> URL paths in App Engine. It will be helpful to explore ‘logs-based 
>> metrics’  to 
>> set up and group the metrics you desired. Hope it helps!
>>
> On Tuesday, April 27, 2021 at 9:09:09 AM UTC-4 amo...@pncl.tech wrote:
>>
> Thanks for you response Yanan!
>>>
>>> Here's what I'm looking for. Say my appengine instance is hosted on 
>>> website.com and exposes the following routes
>>> website.com/api/search
>>> website.com/api/posts
>>> website.com/api/search?q="google 
>>> "
>>> that my clients will hit with traffic. I'd like to know what is the qps 
>>> and latency across each of those routes separately.
>>> Looking at stackdriver logs, I see that protoPayload.latency already 
>>> logs the latency for each request separately. I'm just looking for a way to 
>>> show all of them aggregated per route.
>>>
>>> Amogh
>>>
>>
>>> Sent via Superhuman 
>>>
>>>
>>> On Mon, Apr 26, 2021 at 1:28 PM, yananc  wrote:
>>>
 Hi, 

 By the ‘URI’, are you referring to instances, a service or other 
 resources in App Engine? And also, it might help to refer to the Cloud 
 Monitoring metric list for App Engine 
  
 for the complete information available. Hope it helps!
 On Sunday, April 25, 2021 at 9:09:11 AM UTC-4 amo...@pncl.tech wrote:

> Is there a page that shows the per URI stats for services hosted in 
> GAE? I can find a bunch of monitoring and reporting that shows overall 
> latency, qps etc, but not one that can help me drill down across specific 
> URI's that might be requested for the GAE application.
>
> If not in cloud monitoring, is it possible to have an off the shelf 
> solution like prometheus / grafana to be easily configured to do so with 
> GAE traffic?
>
> Amogh
>
 -- 
 You received this message because you are subscribed to a topic in the 
 Google Groups "Google App Engine" group.
 To unsubscribe from this topic, visit 
 https://groups.google.com/d/topic/google-appengine/B21GoY1NnzQ/unsubscribe
 .

>>> To unsubscribe from this group and all its topics, send an email to 
 google-appengine+unsubscr...@googlegroups.com.

>>>
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/google-appengine/47c027f8-4922-4ec9-a387-4de4483c1a75n%40googlegroups.com
  
 
 .

>>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "Google App Engine" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/google-appengine/B21GoY1NnzQ/unsubscribe
>> .
>>
> To unsubscribe from this group and all its topics, send an email to 
>> google-appengine+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-appengine/72e630c3-51a5-4ed5-9fb5-332ef2bdc6b4n%40googlegroups.com
>>  
>> 
>> .
>>
>
>

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/d34323b0-0608-468a-8cef-4195e656fbe0n%40googlegroups.com.


[google-appengine] Re: How to get InputStream and OutputStream from Cloud Storage on App Engine Java?

2021-04-26 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Richard, 

Maybe worth mentioning: the present discussion group is for general ideas 
on the Google App Engine, and related problems and trends. For coding in 
Java, you’ll be at an advantage to rather post your questions on 
Stackoverflow, to gain this way access to a large number of experts; it is 
meant for providing you help with coding.

On Saturday, 24 April 2021 at 09:27:56 UTC-4 Richard Arnold wrote:

> I am attempting to use FFMPEG on Google App Engine (Java) to re-encode 
> some video files I have that are sitting in Google Cloud Storage. I found a 
> Java wrapper around ffmpeg that I would like to use here: 
> https://github.com/kokorin/Jaffree. 
>
> My issue is that this library requires an InputStream and OutputStream. I 
> am trying to specify the InputStream as a file in Google Cloud Storage and 
> the OutputStream as a new file. 
>
> I think I have done specifying the InputStream correctly, but I do not 
> know what to do about the OutputStream.
>
> How can I specify the OutputStream to be a new file?
>
> Or if possible, can I just overwrite the file in Google Cloud Storage?
>
> Here is my Java code in Google App Engine so far:
>
> Storage storage = StorageOptions.getDefaultInstance().getService();
>
> // This is the input file
> BlobId id = BlobId.of("storageBucket", "videos/video_1.mp4");
> byte[] content = storage.readAllBytes(id);
> InputStream inputStream = new ByteArrayInputStream(content);
>
> FFmpeg.atPath()
> .addInput(PipeInput.pumpFrom(inputStream))
> .setOverwriteOutput(true)
> .addArguments("-movflags", "faststart")
> .addOutput(PipeOutput.pumpTo(outputStream)) < I need to set this
> .setProgressListener(new ProgressListener() {
> @Override
> public void onProgress(FFmpegProgress progress) {
> double percents = 100. * progress.getTimeMillis() / 
> duration.get();
> System.out.println("Progress: " + percents + "%");
> }
> })
> .execute();
>

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/c418b7a9-9846-4f96-8e9c-2f310cbb18edn%40googlegroups.com.


[google-appengine] Re: ZONE_RESOURCE_POOL_EXHAUSTED on europe-west1

2021-03-29 Thread 'George (Cloud Platform Support)' via Google App Engine
There were indeed issues with Flex deployments in the time frame you 
indicate, and a likeliness you were affected. These issues have been 
meanwhile fixed. You are encouraged to open a PIT issue to get to the 
bottom of the issue and gather details of interest. 

On Friday, 26 March 2021 at 12:26:32 UTC-4 vic...@allinpower.nl wrote:

> Since 13:00 CET, my application in the Google App Engine Flexible 
> environment keeps returning 502's on all requests.
>
> After examining the logs, the error that returns is 
> "ZONE_RESOURCE_POOL_EXHAUSTED". 
>
> When trying to deploy a new version, i get the error message:
> ERROR: (gcloud.app.deploy) Error Response: [8] The region europe-west1 
> does not have enough resources available to fulfill the request. Please try 
> again later.
>
> I've googled for this error and all messages i find say its related to an 
> outtage, but on the status dashboard everything seems to be up and running.
>
> Can anyone tell me how i can solve 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/ced9f8cd-edce-426b-bf04-fede0f944db7n%40googlegroups.com.


[google-appengine] Re: ZONE_RESOURCE_POOL_EXHAUSTED on europe-west1

2021-03-26 Thread 'George (Cloud Platform Support)' via Google App Engine
You might be right about a non-displayed outage, but this needs further 
investigation. This means accessing private data such as project numbers 
and other details that should never be published in a public forum like 
this one. If you think this is a App Engine Flex issue, you should open a 
bug in the Public Issue Tracker , where 
dedicated specialists will open an investigation and solve the issue in 
real time. 

On Friday, 26 March 2021 at 12:26:32 UTC-4 vic...@allinpower.nl wrote:

> Since 13:00 CET, my application in the Google App Engine Flexible 
> environment keeps returning 502's on all requests.
>
> After examining the logs, the error that returns is 
> "ZONE_RESOURCE_POOL_EXHAUSTED". 
>
> When trying to deploy a new version, i get the error message:
> ERROR: (gcloud.app.deploy) Error Response: [8] The region europe-west1 
> does not have enough resources available to fulfill the request. Please try 
> again later.
>
> I've googled for this error and all messages i find say its related to an 
> outtage, but on the status dashboard everything seems to be up and running.
>
> Can anyone tell me how i can solve 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/6d30c4c5-66a7-48a7-b7cf-4053c181e6f8n%40googlegroups.com.


Re: [google-appengine] Uploads to Blobstore failing

2021-03-25 Thread 'George (Cloud Platform Support)' via Google App Engine
You may find related information on the Images API for Python 2 Overview 
page 
<https://cloud.google.com/appengine/docs/standard/python/images?csw=1#Transforming_Images_from_the_Blobstore>.
 
You are right about opening a separate thread for each separate issue, in 
principle. Maybe worth mentioning: this is a discussion group for Google 
App Engine, and related problems and trends. When it comes strictly to 
programming and coding in specific languages, you’ll be at an advantage to 
rather post your questions on Stackoverflow <http://stackoverflow.com/>, to 
gain this way access to a large number of experts; it is meant for 
providing you help with coding.

On Wednesday, 24 March 2021 at 20:16:09 UTC-4 shaunb...@gmail.com wrote:

>
> Thanks.  I was able to get this working by getting the service account 
> with 'gcloud iam service-accounts list'.
>
> I put in this value as a new 'Member', and gave it the roles 'Storage 
> Legacy Bucket Owner' and 'Storage Legacy Object Owner'.  This uploads the 
> files properly.
>
> However, since I'm uploading images, it seems like my calls to 
> images.get_serving_url(...) have broken.  Not sure if the method of getting 
> these urls has changed with the switch to google cloud storage.  I'll try 
> to resolve this independently and open a separate thread if necessary.
>
> Thanks.
>
> On Wednesday, March 24, 2021 at 3:52:57 PM UTC-7 George (Cloud Platform 
> Support) wrote:
>
>> To determine which service account is involved, you may check Listing 
>> service accounts 
>> <https://cloud.google.com/iam/docs/creating-managing-service-accounts#listing>.
>>  
>> To grant to your newly identified service account the desired role, 
>> Granting, 
>> changing, and revoking access to resources 
>> <https://cloud.google.com/iam/docs/granting-changing-revoking-access> is 
>> relevant. 
>>
>> On Wednesday, 24 March 2021 at 17:42:30 UTC-4 shaunb...@gmail.com wrote:
>>
>>> Thanks George for the comment.  How can I verify that permission is on? 
>>>  I tried turning on 'Uniform' access control, and that didn't work.  
>>>
>>> Also, as a test, I made the container 'Public' - meaning I added 
>>> 'allUsers' as a 'Storage Legacy Bucket Owner', and a 'Storage Legacy Object 
>>> Owner'.  This worked!  But, I really don't want this public.  I just want 
>>> my app to be able to use it.  So, I guess I just need to figure out what's 
>>> misconfigured here and how to fix it.
>>>
>>>
>>> On Wednesday, March 24, 2021 at 10:47:28 AM UTC-7 George (Cloud Platform 
>>> Support) wrote:
>>>
>>>> You are right, owners of the project are expected to enjoy the needed 
>>>> permission. More specifically, the service account should be granted 
>>>> the objects.create permission per bucket.
>>>>
>>>> On Wednesday, 24 March 2021 at 13:14:33 UTC-4 shaunb...@gmail.com 
>>>> wrote:
>>>>
>>>>> Hi Joshua!  Yes, this is the exact thread I'm referencing in the 
>>>>> initial post.  I saw someone mentioned there was a solution in that 
>>>>> thread 
>>>>> with setting permissions, but they didn't give any specifics on exactly 
>>>>> what needed to be set.  If anyone knows what exactly 'permission magic' 
>>>>> is 
>>>>> needed to resolve this, it would be really helpful.  
>>>>>
>>>>> The screenshot I included in the original post shows the permissions I 
>>>>> have for the bucket.  To me, it looks like 'Owners of the project: 
>>>>> puzzleflow-dev' should cover the necessary permission.  But, I must be 
>>>>> missing something.
>>>>>
>>>>> Thanks!
>>>>>
>>>>> On Wednesday, March 24, 2021 at 9:38:57 AM UTC-7 Joshua Smith wrote:
>>>>>
>>>>>> Search the list archives last October for this subject "Uploads to 
>>>>>> Legacy Blobstore are Failing with 500, nothing in the logs"
>>>>>>
>>>>>> I ended up giving up and switching to new blobstore, but at the end 
>>>>>> of the thread, I think someone did identify the permission magic to fix 
>>>>>> the 
>>>>>> problem.
>>>>>>
>>>>>> -Joshua
>>>>>>
>>>>>> On Mar 24, 2021, at 12:10 PM, Shaun Budhram  
>>>>>> wrote:
>>>>>>
>>>>>> Also for reference, this is what the permissions on the the bucket 
>>>>>> 

Re: [google-appengine] Uploads to Blobstore failing

2021-03-24 Thread 'George (Cloud Platform Support)' via Google App Engine
To determine which service account is involved, you may check Listing 
service accounts 
<https://cloud.google.com/iam/docs/creating-managing-service-accounts#listing>. 
To grant to your newly identified service account the desired role, Granting, 
changing, and revoking access to resources 
<https://cloud.google.com/iam/docs/granting-changing-revoking-access> is 
relevant. 

On Wednesday, 24 March 2021 at 17:42:30 UTC-4 shaunb...@gmail.com wrote:

> Thanks George for the comment.  How can I verify that permission is on?  I 
> tried turning on 'Uniform' access control, and that didn't work.  
>
> Also, as a test, I made the container 'Public' - meaning I added 
> 'allUsers' as a 'Storage Legacy Bucket Owner', and a 'Storage Legacy Object 
> Owner'.  This worked!  But, I really don't want this public.  I just want 
> my app to be able to use it.  So, I guess I just need to figure out what's 
> misconfigured here and how to fix it.
>
>
> On Wednesday, March 24, 2021 at 10:47:28 AM UTC-7 George (Cloud Platform 
> Support) wrote:
>
>> You are right, owners of the project are expected to enjoy the needed 
>> permission. More specifically, the service account should be granted 
>> the objects.create permission per bucket.
>>
>> On Wednesday, 24 March 2021 at 13:14:33 UTC-4 shaunb...@gmail.com wrote:
>>
>>> Hi Joshua!  Yes, this is the exact thread I'm referencing in the initial 
>>> post.  I saw someone mentioned there was a solution in that thread with 
>>> setting permissions, but they didn't give any specifics on exactly what 
>>> needed to be set.  If anyone knows what exactly 'permission magic' is 
>>> needed to resolve this, it would be really helpful.  
>>>
>>> The screenshot I included in the original post shows the permissions I 
>>> have for the bucket.  To me, it looks like 'Owners of the project: 
>>> puzzleflow-dev' should cover the necessary permission.  But, I must be 
>>> missing something.
>>>
>>> Thanks!
>>>
>>> On Wednesday, March 24, 2021 at 9:38:57 AM UTC-7 Joshua Smith wrote:
>>>
>>>> Search the list archives last October for this subject "Uploads to 
>>>> Legacy Blobstore are Failing with 500, nothing in the logs"
>>>>
>>>> I ended up giving up and switching to new blobstore, but at the end of 
>>>> the thread, I think someone did identify the permission magic to fix the 
>>>> problem.
>>>>
>>>> -Joshua
>>>>
>>>> On Mar 24, 2021, at 12:10 PM, Shaun Budhram  
>>>> wrote:
>>>>
>>>> Also for reference, this is what the permissions on the the bucket look 
>>>> like.  I think these look correct, but I'm not sure?  These were created 
>>>> automatically (except for my name, which I added as a test)
>>>>
>>>> 
>>>>
>>>> On Wednesday, March 24, 2021 at 8:15:04 AM UTC-7 Shaun Budhram wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I have an older application using the Blobstore API.  I think I 
>>>>> inadvertently upgraded to Google Cloud Storage when I used 'gcloud' to 
>>>>> deploy the app.  A new storage bucket .appspot.com was created.
>>>>>
>>>>> The problem I'm having is that whenever my app uses 
>>>>> 'blobstore.create_upload_url' to create an upload URL, the the 
>>>>> upload/redirect to the handler is now failing.  I searched the forum and 
>>>>> found this post:
>>>>>
>>>>>
>>>>> https://groups.google.com/g/google-appengine/c/0-U4xe0Dp0M/m/Lxc9AAw2AQAJ
>>>>>
>>>>> This line in particular:
>>>>>
>>>>> *It created a new app-id.appspot.com 
>>>>> <http://app-id.appspot.com/> bucket but my app engine service account did 
>>>>> not have permissions. Once I gave it permission it started working again 
>>>>> with the blobstore items showing up in the new "default" bucket.*
>>>>>
>>>>> This suggests that my app needs permission to the storage bucket, 
>>>>> which didn't happen automatically.  
>>>>>
>>>>> My question is, is this a code-level change that I need to perform 
>>>>> when creating the upload url, or is this a configuration somewhere in the 
>>>>> web console?  Does anyone know how I can link permissions between this 
>>>>> storage bucket and my app engine service account for this app? 
>>>>

Re: [google-appengine] Uploads to Blobstore failing

2021-03-24 Thread 'George (Cloud Platform Support)' via Google App Engine
You are right, owners of the project are expected to enjoy the needed 
permission. More specifically, the service account should be granted 
the objects.create permission per bucket.

On Wednesday, 24 March 2021 at 13:14:33 UTC-4 shaunb...@gmail.com wrote:

> Hi Joshua!  Yes, this is the exact thread I'm referencing in the initial 
> post.  I saw someone mentioned there was a solution in that thread with 
> setting permissions, but they didn't give any specifics on exactly what 
> needed to be set.  If anyone knows what exactly 'permission magic' is 
> needed to resolve this, it would be really helpful.  
>
> The screenshot I included in the original post shows the permissions I 
> have for the bucket.  To me, it looks like 'Owners of the project: 
> puzzleflow-dev' should cover the necessary permission.  But, I must be 
> missing something.
>
> Thanks!
>
> On Wednesday, March 24, 2021 at 9:38:57 AM UTC-7 Joshua Smith wrote:
>
>> Search the list archives last October for this subject "Uploads to 
>> Legacy Blobstore are Failing with 500, nothing in the logs"
>>
>> I ended up giving up and switching to new blobstore, but at the end of 
>> the thread, I think someone did identify the permission magic to fix the 
>> problem.
>>
>> -Joshua
>>
>> On Mar 24, 2021, at 12:10 PM, Shaun Budhram  wrote:
>>
>> Also for reference, this is what the permissions on the the bucket look 
>> like.  I think these look correct, but I'm not sure?  These were created 
>> automatically (except for my name, which I added as a test)
>>
>> 
>>
>> On Wednesday, March 24, 2021 at 8:15:04 AM UTC-7 Shaun Budhram wrote:
>>
>>> Hi,
>>>
>>> I have an older application using the Blobstore API.  I think I 
>>> inadvertently upgraded to Google Cloud Storage when I used 'gcloud' to 
>>> deploy the app.  A new storage bucket .appspot.com was created.
>>>
>>> The problem I'm having is that whenever my app uses 
>>> 'blobstore.create_upload_url' to create an upload URL, the the 
>>> upload/redirect to the handler is now failing.  I searched the forum and 
>>> found this post:
>>>
>>> https://groups.google.com/g/google-appengine/c/0-U4xe0Dp0M/m/Lxc9AAw2AQAJ
>>>
>>> This line in particular:
>>>
>>> *It created a new app-id.appspot.com  bucket 
>>> but my app engine service account did not have permissions. Once I gave it 
>>> permission it started working again with the blobstore items showing up in 
>>> the new "default" bucket.*
>>>
>>> This suggests that my app needs permission to the storage bucket, which 
>>> didn't happen automatically.  
>>>
>>> My question is, is this a code-level change that I need to perform when 
>>> creating the upload url, or is this a configuration somewhere in the web 
>>> console?  Does anyone know how I can link permissions between this storage 
>>> bucket and my app engine service account for this app? 
>>>
>>> Any help is greatly appreciated.  Thanks!
>>>
>>
>> -- 
>> 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-appengi...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-appengine/546775b5-e326-4bed-a4bc-0d74adead697n%40googlegroups.com
>>  
>> 
>> .
>>
>>
>> 
>>
>>

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/0084c059-c53f-4760-bca6-848dbabb2d04n%40googlegroups.com.


[google-appengine] Re: Want to start google course builder at my GCP

2021-02-22 Thread 'George (Cloud Platform Support)' via Google App Engine
This discussion group is oriented more towards general opinions, trends, 
and issues of general nature touching the App Engine. For coding and 
program architecture, as well as writing application based on Course 
Builder, you may be better served in dedicated forums such as 
stackoverflow, where experienced programmers are within reach and ready to 
help. 

On Friday, 19 February 2021 at 14:06:15 UTC-5 pankaj1...@gmail.com wrote:

> Hi Every one,
>
> Can anybody help me for create a LMS based on google course builder?
> I need steps that I need to follow to create this. I try with docs but not 
> succeed.
> Can anybody help?
>
> Regards
> Pankaj Kr.
>   
>

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/0bb89ba7-e0d0-480b-9f49-166f6df4354dn%40googlegroups.com.


[google-appengine] Re: Error connecting to MongDB Atlas from App Engine (node.js)

2021-02-02 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Yezzer, 

If you think this is caused by errors on the GCP side, you are encouraged 
to rather open an issue in the Public Issue Tracker 
, as more details are needed to 
investigate, some of which are of a private nature. A publicly visible 
thread like this one is not suitable for such an investigation. 

There is a community tutorial 

 
"Hello World app - MongoDB Atlas and App Engine flexible environment with 
Node.js" that may serve as a good example. It is worthwhile going through 
it and verifying that you have set all details correctly. 

On Tuesday, 02 February 2021 at 11:03:53 UTC-5 Yezzer wrote:

> Hi,
>
> I'm trying to connect to MongoDB Atlas from App Engine, but getting 
> errors. I've whitelisted 0.0.0.0/0 on MongoDB Atlas as this is just a 
> test project.
>
> I can connect fine from my local node server. Any ideas as to what I can 
> try?
>
> MongoServerSelectionError: connection  to 35.224.187.131:27017 
> closed at Timeout._onTimeout 
> (/app/node_modules/mongodb/lib/core/sdam/topology.js:438:30) at 
> listOnTimeout (internal/timers.js:554:17) at processTimers 
> (internal/timers.js:497:7) { reason: TopologyDescription { type: 
> 'ReplicaSetNoPrimary', setName: 'atlas-loe0la-shard-0', maxSetVersion: 
> null, maxElectionId: null, servers: Map { '
> cluster0-shard-00-00.pntaf.mongodb.net:27017' => [ServerDescription], '
> cluster0-shard-00-01.pntaf.mongodb.net:27017' => [ServerDescription], '
> cluster0-shard-00-02.pntaf.mongodb.net:27017' => [ServerDescription] }, 
> stale: false, compatible: true, compatibilityError: null, 
> logicalSessionTimeoutMinutes: 30, heartbeatFrequencyMS: 1, 
> localThresholdMS: 15, commonWireVersion: 9 } }
>

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/04cf81f1-82e4-46c2-847c-7950d2628c0bn%40googlegroups.com.


[google-appengine] Re: AppEngine Error: EROFS: read-only file system, open '.next/static/sitemap.xml

2020-11-09 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Mog, 

In App Engine Standard Environment, the local filesystem that your 
application is deployed to is not writeable. This behavior ensures the 
security and scalability of your application. You should thus not consider 
writing other than temporary files in the /tmp directory. To store data 
permanently, you'll have to use other services, such as Cloud SQL or Cloud 
Storage. There are some differences 

 
between Standard and Flex environments. 
On Sunday, 08 November 2020 at 12:58:06 UTC-5 Mog Obahor wrote:

> Does anyone know how to change the write permissioni to App Engine file 
> system. I am deploying a nextJS app and dynamically generating a 
> sitemap.xml file and trying to save it in the .next/static location. It 
> works localhost but not on App Engine

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/472c913a-730b-48bb-8553-422aec6134bdn%40googlegroups.com.


[google-appengine] Re: how to make TCP connection to an external server from GAE java

2020-10-27 Thread 'George (Cloud Platform Support)' via Google App Engine
It depends on your use-case, which one is to be chosen. Seen that you need 
to maintain communication with the LDAP server, I'd say Compute Engine, but 
App Engine Flex is expected to work as well. You may find various 
comparisons 
<https://www.magalix.com/blog/google-app-engine-vs.-kubernetes-engine> on 
the Web, to help you decide. 
On Tuesday, 27 October 2020 at 09:53:05 UTC-4 jlin...@gmail.com wrote:

> I am planning to deploy an app on GCP platform.  The application 
> communicates with LDAP server on port 636. Not sure which option is better 
> one, like computer engine, gkt, etc.
> could u please advise ?
>
> thank you
>
> Jerry
>
> On Tuesday, 20 October 2020 at 01:31:40 UTC+11 George (Cloud Platform 
> Support) wrote:
>
>> What do you mean by TCP connections, exactly, how does your use-case look 
>> like? 
>>
>> WebSockets are supported now by App Engine Flex, you may check the 
>> "Introducing WebSockets support for App Engine Flexible Environment" page 
>> <https://cloud.google.com/blog/products/application-development/introducing-websockets-support-for-app-engine-flexible-environment>
>> . 
>>
>> Relevant examples are to be found on the Internet, for instance in a 
>> reply to the "How do I deploy socket.io to Google App Engine?" question 
>> <https://stackoverflow.com/questions/37401250/how-do-i-deploy-socket-io-to-google-app-engine>
>>  
>> in stackoverflow. Basically, you need to edit your app.yaml configuration 
>> file and set: 
>>
>> *network:*
>> *  session_affinity: true*
>>
>> On Friday, 16 October 2020 at 09:46:33 UTC-4 jlin...@gmail.com wrote:
>>
>>>
>>> Does the current GAE flex environment support TCP connection to an 
>>> external server like SMTP , LDAP server ?
>>>
>>> If it is not available in GAE flex env.,  what are the other 
>>> options(choices) ?
>>>
>>>
>>> thank u
>>>
>>> Jerry
>>>
>>>
>>>

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/70675c79-812b-479c-8dda-c41559dca8f6n%40googlegroups.com.


[google-appengine] Re: Started getting Error code 203 24 hours ago

2020-10-22 Thread 'George (Cloud Platform Support)' via Google App Engine
On the Public Issue Tracker, if you choose the exact public issue you deem 
appropriate, you can then click again on the issue classification line at 
the top, and a drop-down list will be offered. You'll see that exactly the 
same public issue has a twin private issue with the same name. It is the 
private one you should choose. 

On Thursday, 22 October 2020 at 00:07:20 UTC-4 NP wrote:

> Hi,
>
> I only see the option to create a public issue. How do I create a private 
> issue as you said
>
> On Wednesday, October 21, 2020 at 12:33:17 PM UTC-7 Elliott (Cloud 
> Platform Support) wrote:
>
>> Hello,
>>
>> The best way to move forward to report an issue is to create a private 
>> Google 
>> Issue Tracker  to 
>> investigate the error you are reporting since Google Groups is meant to 
>> have general discussions. At that point, you may share project specific 
>> information if needed.
>>
>> There are several options to choose from on that page. If you need help 
>> choosing one, you may respond to this message and we will guide you then.
>>
>>
>> On Wednesday, October 21, 2020 at 10:05:03 AM UTC-4 NP wrote:
>>
>>> Starting from yesterday, I now get the following error when I try to 
>>> load  my home page. This started happening after I redeployed some changes
>>>
>>> *.The process handling this request unexpectedly died. This is 
>>> likely to cause a new process to be used for the next request to your 
>>> application. (Error code 203).*
>>>
>>> This has nothing to do with my code because everything works on my local 
>>> machine. I even changed the handler on my home page route to just return 
>>> "Done"  but I'm still getting the error i.e. I currently have
>>>
>>> @app.route("/")
>>> def homePageHandler():
>>> return "Done"
>>>
>>>
>>>

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/1a8709d8-8c52-44a0-86e3-f83e38bfa379n%40googlegroups.com.


[google-appengine] Re: Data storage service recommendation (cost vs query latency) when using large time series dataset?

2020-10-20 Thread 'George (Cloud Platform Support)' via Google App Engine
You may consider Big Query, depending on how you plan to handle your data. 
A small example is provided on the "Quickstart: Using client libraries" 
page [1].

This discussion group is oriented more towards general opinions, trends, 
and issues of general nature touching the app engine. For coding and 
program architecture, as well as decisions on how to best handle large 
datasets, you may be better served in dedicated forums such as 
stackoverflow, where experienced programmers are within reach and ready to 
help. 

[1]  
https://cloud.google.com/bigquery/docs/quickstarts/quickstart-client-libraries

On Sunday, 18 October 2020 at 16:07:08 UTC-4 floris...@gmail.com wrote:

> I'm designing a small Flask Google App web-application/dashboard which 
> will present evolution of some climate data over time at global level. 
>
> The dataset consists of approx. 1.5 million time series, which were 
> measured at an equal number of sensors. The time series have each around 50 
> observations, hence my time series dataset has approx 75 million rows. 
>
> The end-user should have ability explore all observations from a certain 
> sensor. Such query would therefore have to return all observations which 
> match the sensor id provided by the end user. 
>
> Unfortunately the budget for this application is small. However, I don't 
> expect many users to use the webapp (few per day maybe). Nevertheless query 
> latency should be as small as possible. 
>
> Considering all these constraints, what would be my optimal google data 
> storage service? Just Cloud Bigtable? Or will that be relatively expensive 
> compared to Cloud SQL for example? 
>
>

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/463f9971-713e-482a-811e-9145d46cbadbn%40googlegroups.com.


[google-appengine] Re: Where can I get access to App Engine's IRAP certificaiton?

2020-10-19 Thread 'George (Cloud Platform Support)' via Google App Engine
Which cloud provider is meant here?

The IRAP relevant page is "IRAP (Information Security Registered Assessors 
Program)" [1]. 

[1] https://cloud.google.com/security/compliance/irap
On Friday, 16 October 2020 at 09:45:47 UTC-4 bre...@instantscripts.com.au 
wrote:

> Hello,
>
> I require evidence that our cloud provider conforms to IRAP 
> certification. GCP claims to have IRAP certification (
> https://cloud.google.com/security/compliance/irap) but I cannot find this 
> available for download in the compliance reports manager. (
> https://cloud.google.com/security/compliance/compliance-reports-manager).
>
> Where can I find this documentation? Google support is very hard to 
> navigate.
>
> 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/2391ffe2-f9ac-46ef-9fd4-b01b16669cd2n%40googlegroups.com.


[google-appengine] Re: how to make TCP connection to an external server from GAE java

2020-10-19 Thread 'George (Cloud Platform Support)' via Google App Engine
What do you mean by TCP connections, exactly, how does your use-case look 
like? 

WebSockets are supported now by App Engine Flex, you may check the 
"Introducing WebSockets support for App Engine Flexible Environment" page 

. 

Relevant examples are to be found on the Internet, for instance in a reply 
to the "How do I deploy socket.io to Google App Engine?" question 

 
in stackoverflow. Basically, you need to edit your app.yaml configuration 
file and set: 

*network:*
*  session_affinity: true*

On Friday, 16 October 2020 at 09:46:33 UTC-4 jlin...@gmail.com wrote:

>
> Does the current GAE flex environment support TCP connection to an 
> external server like SMTP , LDAP server ?
>
> If it is not available in GAE flex env.,  what are the other 
> options(choices) ?
>
>
> thank u
>
> Jerry
>
>
>

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/d597bcf4-a827-4483-a9bb-0d4f1b7a9c39n%40googlegroups.com.


[google-appengine] Re: How to mock or instantiate App Engine Entity when unit testing

2020-10-16 Thread 'George (Cloud Platform Support)' via Google App Engine
You may consider taking a look at the "Local Unit Testing for Java 8" 
documentation page 
, 
where actual and quite useful JUnit examples are provided. 

On Thursday, 15 October 2020 at 18:44:51 UTC-4 maicol...@bluetab.net wrote:

> Hi, I'm here 10 years later, I'd like to coverage my real  Datastore 
> entities with mock using Junit, I don't know how to deal with that. Any 
> help ?
> Thanks in advance.
>
> On Friday, November 19, 2010 at 1:28:55 AM UTC-5 mayumi wrote:
>
>> Problem: An Entity was a final class. 
>> Solution: Use power mock or mocking container which let's you mock the 
>> final classes. 
>>
>> On Oct 28, 8:56 pm, mayumi  wrote: 
>> > I'm actually not testing the Entity itself or Appengine 
>> > DatastoreService. 
>> > Basically, I am converting the Entity to object I need than performing 
>> > some 
>> > operations to all the entity that is relevant. 
>> > What I am testing is the idempotence and making sure that object which 
>> > is converted 
>> > will result in same outcome event executed twice, etc so the behavior 
>> > of what is 
>> > happening inside the map(). 
>> > 
>> > Testing framework we're using requires Guice to inject or create mocks 
>> > as necessary. 
>> > Maybe this could be the problem? 
>> > 
>> > Thanks for the reply. 
>> > 
>> > On Oct 28, 1:52 pm, "Ikai Lan (Google)"  
>> > wrote: 
>> > 
>> > > Do you need to mock Entity? Can you use a real instance of an Entity 
>> and 
>> > > check for state changes? You can mock out DatastoreService, so it 
>> might make 
>> > > more sense to write your expects() in those mocks instead. Entity 
>> classes 
>> > > only really have getProperty() and setProperty(), and in my opinion, 
>> it's 
>> > > not worth writing tests to see if these get called. What are you 
>> trying to 
>> > > do? 
>> > 
>> > > -- 
>> > > Ikai Lan 
>> > > Developer Programs Engineer, Google App Engine 
>> > > Blogger:http://googleappengine.blogspot.com 
>> > > Reddit:http://www.reddit.com/r/appengine 
>> > > Twitter:http://twitter.com/app_engine 
>> > 
>> > > On Thu, Oct 28, 2010 at 9:31 AM, Mayumi Liyanage < 
>> > 
>> > > mayumi.liyan...@coldwin.com> wrote: 
>> > > > In the project I'm working on we are using GWT + GAE. We are unit 
>> > > > testing using automocking container Jukito (
>> http://code.google.com/p/ 
>> > > > jukito/) which is  build on top of Mokito (
>> http://code.google.com/p/ 
>> > > > mockito/) + JUnit. 
>> > > > The problem is unit testing the Mapper API. Since Mapper API's map 
>> > > > method takes an Entity as a argument so testing framework will have 
>> to 
>> > > > have access to this Entity class. However we could not mock the 
>> Entity 
>> > > > class since it is a final class.  Also, we could not instantiate 
>> the 
>> > > > Entity class outside of GAE environment. ' 
>> > > > Does anyone have workaround for unit testing using Entity? 
>> > 
>> > > > Thanks. 
>> > 
>> > > > -- 
>> > > > You received this message because you are subscribed to the Google 
>> Groups 
>> > > > "Google App Engine" group. 
>> > > > To post to this group, send email to google-a...@googlegroups.com. 
>> > > > To unsubscribe from this group, send email to 
>> > > > google-appengi...@googlegroups.com<
>> google-appengine%2bunsu...@googlegroups.com> 
>> > > > . 
>> > > > For more options, visit this group at 
>> > > >http://groups.google.com/group/google-appengine?hl=en. 
>> > 
>> >
>
>

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/b77abfd5-c607-4fd0-a027-e3000669f3b4n%40googlegroups.com.


[google-appengine] Re: Email ingestion in GCS

2020-10-13 Thread 'George (Cloud Platform Support)' via Google App Engine
This discussion group is oriented more towards general opinions, trends, 
and issues of general nature touching App Engine. For coding and 
programming architecture, in particular initial design decisions, you may 
be better served in dedicated forums such as stackoverflow, where 
experienced programmers are within reach and ready to help. 

On Monday, 12 October 2020 at 17:22:51 UTC-4 thepus...@googlemail.com wrote:

> Hello,
> An external data source will send data as spread sheet attachment via 
> email. I am looking for a ingestion solution where 
> - email received 
> - the attachments will be send to named GCS buckets
> - which will trigger a pub-sub context to a pub-sub
> - that will trigger a cloud run
> - which will insert the data may be in a BQ
>
> have to come across such pipeline ? can you  help with nay other 
> suggestions
>
> BR
>

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/83a9142c-c89d-4bcf-87f8-ed72c769ca3bn%40googlegroups.com.


[google-appengine] Re: wget from api.nasdaq fails only on App Engine

2020-10-05 Thread 'George (Cloud Platform Support)' via Google App Engine
Do you have a service running in App Engine? How do you run wget in this 
case from that service?

You should be aware that by default, the App Engine implementation of the 
HTTPS wrapper attempts to validate the certificate of the host, and rejects 
requests where the certificate does not match. You may need to disable this 
behavior, as described in the "Issuing an HTTPS request" paragraph 

. 

On Monday, 05 October 2020 at 15:06:35 UTC-4 anan...@gmail.com wrote:

> Works fine on my home PC. What could be the reason?
>
> wget --user-agent=Safari "
> https://api.nasdaq.com/api/quote/AAPL/dividends?assetclass=stocks;
>
> hangs on App Engine but returns data immediately on my laptop. 
> Do they detect the request is from App Engine and decide not to respond?
>
> wget  "https://finance.yahoo.com; # works fine on App Engine
>
> Thanks!
>

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/6417e9b2-9932-40d8-9a05-a627f49e2954n%40googlegroups.com.


[google-appengine] Re: C# SqlServer database connection problem while deploying to AppEngine

2020-10-05 Thread 'George (Cloud Platform Support)' via Google App Engine
You mention a proxy? Is your local machine behind a proxy? That would be 
consistent with the error you keep receiving. Does the situation change if 
you access App Engine without a proxy, from another network?

It may be worthwhile having a look at Configuring Cloud SDK for use behind 
a proxy/firewall . 

On Monday, 05 October 2020 at 13:55:34 UTC-4 krzyszt...@gmail.com wrote:

> Hi
> I have this problem when trying to deploy to AppEngine. On local machine 
> using proxy it works fine.
>
> Microsoft.EntityFrameworkCore.Database.Connection[20004]
> A network-related or instance-specific error occurred while establishing a 
> connection to SQL Server. The server was not found or was not accessible. 
> Verify that the instance name is correct and that SQL Server is configured 
> to allow remote connections. (provider: TCP Provider, error: 40 - Could not 
> open a connection to SQL Server)
> An error occurred using the connection to database 'dblivtron' on server 
> 'cloudsql'.
>
> My config:
> Appengine Flexible API = enabled
> Cloud SQL Admin API = enabled
> Instance public address = enabled
>
> Instance Connection Name: 
> livtron-testproject:europe-west1:livtrondbinstance
> Data base: dblivtron
>
> My app.yaml:
> runtime: custom
> env: flex
> manual_scaling:
>   instances: 1
> resources:
>   cpu: 1
>   memory_gb: 0.5
>   disk_size_gb: 10
> beta_settings:
>   cloud_sql_instances: 
> livtron-testproject:europe-west1:livtrondbinstance=tcp:3306
>   
> My connection string in appsettings.json  
>   "ConnectionStrings": {
> "DefaultConnection": "Server=cloudsql;Database=dblivtron;User 
> Id=sqlserver;Password=#;MultipleActiveResultSets=true;Encrypt=false;Pooling=true;"
>   },
>
>

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/233ea8c0-c842-46bd-8239-9623bff0228cn%40googlegroups.com.


[google-appengine] Re: Spring Boot + JSP + WAR + Java 11 + GAE Standard Environment = sad

2020-08-04 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Todd, 

What you aim to do it quite achievable. You may consider following the 
"Deploy a Spring Boot app to App Engine standard environment" example, 
first on page 7 
,
 
and then on page 8 
.
 
This lab in its entirety may prove useful. 

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/1ec36a58-6127-4ca9-9f4a-09382f117adco%40googlegroups.com.


[google-appengine] Re: How many domains can I link to my GAE application ?

2020-07-28 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Cláudio, 

Good question; you are right, documentation did not change in this respect, 
and there is no indication of a newly-imposed limit. 

This does not mean that we uphold the solution described in the initial 
post . For program architecture, and choosing the best solution, you may be 
better served in dedicated forums such as stackoverflow, where experienced 
programmers are within reach and ready to help. 

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/dd1e33d0-76cf-4c8d-9218-bb1ab7029beeo%40googlegroups.com.


[google-appengine] Re: Communication between Java services given IP address

2020-07-27 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Luca, 

You may consider an address in the form of: 
https://VERSION_ID-dot-SERVICE_ID-dot-PROJECT_ID.REGION_ID.r.appspot.com
as detailed on the "Communicating Between Your Services" documentation page 
.
 
You may profit from reading Microservices Architecture on Google App Engine 

 
as well. 

This discussion group is oriented more towards general opinions, trends, 
and issues of general nature touching the app engine. For coding and 
program architecture, as well as organizing inter-service communication, 
you may be better served in dedicated forums such as stackoverflow, where 
experienced programmers are within reach and ready to help.

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/abfb2721-17e3-44ed-8bcd-41ed455ea149o%40googlegroups.com.


Re: [google-appengine] Re: Rapid increase in app latency

2020-06-29 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Chase, 

As this issue is specific to your app, you should either contact a GCP 
Support Engineer, or, if you think this is GCP-related, you should open an 
issue in the Public Issue Tracker , 
marking it as private. Publicly visible postings as in this Group are not 
the proper way to report an issue, as often private information items such 
as project numbers are requested. 

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/59f7bb2b-c751-4ee4-8d40-47f8c375d8f6o%40googlegroups.com.


Re: [google-appengine] Re: How To Access REST Web-service Deployed In My Instance?

2020-06-23 Thread 'George V. (Google Cloud Platform Support)' via Google App Engine
Please keep in mind that authentication and authorization is two different 
things. Authentication is  "Authorization refers to the process of 
determining what permissions an authenticated client has for a specific 
resource." 

That being said authentication identifies who you are, and authorization 
determines what you can do. Here 
 you 
may find multiple authentication methods suited for different use cases. 
>From what I understand the most suited for your case is "Authentication 
between services 
".
 
Let us know if that was helpful.

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/6e9cc8b6-af2d-4998-9145-53a803466d8ao%40googlegroups.com.


[google-appengine] Re: The current Google Cloud project does not contain an App Engine application. Use `gcloud beta app create` to initialize an App Engine application within the project

2020-06-16 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Siddharth,

Glad to read you have troubleshot your issue successfully. You are welcome 
opening separate issues in the Public Issue Tracker 
, if you are faced with other Cloud 
Platform related problems. This applies now, for the remaining issues you 
describe, which seem to be project-specific. You'll have to provide private 
information such as project numbers, so you should open a private issue in 
the PIT. 

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/a07e8e3e-a042-4225-86c0-96a37d4b6c54o%40googlegroups.com.


[google-appengine] Re: Unable to edit wp-config file

2020-06-09 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Shivam, 

Where is your WordPress code situated? If it's on your local development 
machine, you need to use a local text editor such as Notepad++ in Windows, 
or emacs in Linux. Cloud Shell Editor is meant for text in Cloud Shell. 

You seem to want to deploy your WordPress site by means of FTP transfer. 
Instead, you should use a command similar to *$ gcloud app deploy app.yaml 
cron.yaml*, as documented on the "Run WordPress on App Engine standard 
environment" documentation 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/03a8b055-c6b6-438c-8bee-5f0db2ff5017o%40googlegroups.com.


[google-appengine] Re: Instance shuts down abruptly and new instance starts automatically

2020-06-09 Thread 'George (Cloud Platform Support)' via Google App Engine
To solve such an issue, which depends on your project and specific 
settings, private information is usually requested. A public forum, such as 
this one, is not suitable for such exchange of information. By contrast, a 
private issue in the Public Issue Tracker secures confidentiality, and 
private data protection. Opening your issue there offers the additional 
advantage of being actively followed, and fixed in due course. 

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/6ad95f05-62f0-4a6d-b66b-668819ff5988o%40googlegroups.com.


[google-appengine] Re: .net core deploy "An internal error occurred while creating a Google Cloud Storage bucket"

2020-06-08 Thread 'George (Cloud Platform Support)' via Google App Engine
Hi Nicolas, 

This version of .NET Runtime is not supported. You may check "The .NET 
Runtime" documentation 
 for 
related detail. If you think this is an issue on side of App Engine, it is 
more effective to log the issue in the Public Issue Tracker 
. 

This discussion group is oriented more towards general opinions, trends, 
and issues of general nature touching App Engine. For coding and 
programming architecture, as well as statements such as "FROM 
mcr.microsoft.com/dotnet/core/aspnet:3.1-buster-slim AS base", you may be 
better served in dedicated forums such as stackoverflow, where experienced 
programmers are within reach and ready to help.

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/f762fb0d-11d4-40f4-8627-989154c27401o%40googlegroups.com.


[google-appengine] Re: Set service on Google Task API - PHP

2020-06-01 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Allison, 

It depends on how you set up the queue you send your tasks to. You can 
explicitly route all tasks in a queue to a non-default target by using 
appEngineRoutingOverride in a command similar to: 

gcloud tasks queues update [QUEUE_ID] 
--routing-override=service:[SERVICE],version:[VERSION]

This is detailed on the "Configuring Cloud Tasks queues" page 
. 

This discussion group is oriented more towards general opinions, trends, 
and issues of general nature touching App Engine and Cloud Tasks. For 
coding and programming architecture, as well as setting up Cloud Tasks 
queues in your code, you may be better served in dedicated forums such as 
stackoverflow, where experienced programmers are within reach and ready to 
help. 

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/443e61b4-c754-4f4b-8635-f600d0f950e6%40googlegroups.com.


[google-appengine] Re: Granting access to Google on my app

2020-05-20 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Andrea, 

Authentication success depends on how you include credentials in your Java 
client's constructor. If you don't specify credentials in the client's 
constructor, the client looks for credentials in the app's environment. In 
your particular case, this would be your friend's smartphone. You may 
consider checking the "Setting Up Access Control" page 
 
for related detail. 

On the same page, information in the Granting access to team members 

 sub-chapter 
may prove useful, if your app needs to handle user-specific data. 

This discussion group is oriented more towards general opinions, trends, 
and issues of general nature touching App Engine. For coding and 
programming architecture, as well as coding a Java client, you may be 
better served in dedicated forums such as stackoverflow, where experienced 
programmers are within reach and ready to help. 

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/7c00c542-1718-4578-ae22-d2bdd34e3275%40googlegroups.com.


[google-appengine] Re: /usr/bin/bash: Exit 28.

2020-05-19 Thread 'George (Cloud Platform Support)' via Google App Engine
What do you want to deploy? Is it an app to App Engine, as expected here, 
or maybe Course Builder? If you are trying to deploy Course Builder, you 
may profit from this Guide: How to Deploy Course Builder from Any OS 

. 

If you try to deploy an app to App Engine, it is advisable to run gcloud 
components update first. 

What is the output of gcloud info? 

More information becomes available if you run: gcloud app deploy 
--verbosity=debug. What is the output of this command? Prior to posting 
this information here, you should edit out all private information, such as 
project names or IDs, user names, and the like, as the information becomes 
publicly visible. 

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/b153e721-1b92-4d8a-a40e-32d4d136f5da%40googlegroups.com.


[google-appengine] Re: rdp background stop running when I disconnect

2020-05-18 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello June, 

How do you disconnect from your remote windows exactly: do you log out of 
the machine, or simply close the window of the RDP session? If you log out, 
this is expected behavior, as logging out shuts down any application 
running on the remote desktop. By contrast, if you only close the remote 
session window on your local machine, the desktop session stays active, and 
programs continue to run.

To see exactly what caused RadioBoss to stop running, you may- access 
information in the Event Viewer logs for significant entries. Do use this 
feature, you should follow these steps on the remote machine: 

1) Press Windows key + X.
2) From the list, click on Event Viewer.
3) Now under Window Logs, you need to look at System logs.

 

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/9feb3434-a66b-4902-8f50-b5721c9b6dc2%40googlegroups.com.


[google-appengine] Re: A question about app.yaml settings.

2020-05-12 Thread 'George (Cloud Platform Support)' via Google App Engine
Manual scaling specifies the number of instances that continuously run 
regardless of the load level. This allows tasks such as complex 
initializations and applications that rely on the state of the memory over 
time. If you choose manual scaling, and, as a consequence, your instance 
runs continuously, you will be charged for the amount of time the instance 
runs, that is, in this case, all the time, as documented on the "App Engine 
Pricing" page .  

By contrast, you may have no instance running when you have chosen 
automatic scaling, so no related costs. As mentioned on the same page, 
basic or automatic scaling: accrual ends fifteen minutes after an instance 
finishes processing its last request. 

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/a6a5ea79-6090-4095-ab1b-40cd4b8afb5f%40googlegroups.com.


[google-appengine] Re: Alternative to IN (Filter)

2020-05-11 Thread 'George (Cloud Platform Support)' via Google App Engine
You are right, Datastore allows querying on properties. Supported 
comparison operators are =, <, >, <=, and >=. "Not equal" and IN operators 
are currently not supported. This may change in future. You may check 
related detail on the Query 
 page, among 
others. 

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/3f76f611-4b92-49fb-a42b-566d2134b825%40googlegroups.com.


[google-appengine] Re: Is GAE standard billing method changed?

2020-05-08 Thread 'George (Cloud Platform Support)' via Google App Engine
Unfortunately, I cannot post a picture here. You might not see the "load 
page" feature, as this is not yet generally available. It should appear on 
the Quotas page under "IAM and Admin", where many App Engine quota items 
are listed. You need to click on one of the items for a new windows, where 
"load usage" link should appear on the very right. As mentioned, you may 
not have yet access to this feature. 

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/9cdebb20-5abd-48d3-b087-6272473059ce%40googlegroups.com.


[google-appengine] Re: Can't deploy flexible

2020-05-08 Thread 'George V. (Google Cloud Platform Support)' via Google App Engine

>
> Upon searching for the error on older cases and as the error message 
> suggests, there are some cases where this behavior can be caused by some 
> internal operations. Our suggestion right now is to run the following 
> command [1] and the try to deploy your application again.
>
Could you please try this and confirm if this solves your issue?
_
[1]: gcloud config set app/trigger_build_server_side false

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/8464442e-f670-4d8d-aa2f-45aa60b4c991%40googlegroups.com.


[google-appengine] Re: Is GAE standard billing method changed?

2020-05-07 Thread 'George (Cloud Platform Support)' via Google App Engine
Hi Tapir. 

If you navigate to the Quotas page, click on the quota of interest, you'll 
see on the column on the right a series of "load usage" links. Do you refer 
to these links? In my case, they work as expected. Using another browser 
for test purposes might indicate where the issue is. 

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/141a38b7-58a8-4909-a288-51dc0ff2ffe4%40googlegroups.com.


[google-appengine] Re: Is GAE standard billing method changed?

2020-05-04 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Tapir, 

There are no changes in GAE billing recently, which may have affected you; 
this, depending on how recent you mean. 

You can change daily quota limits for your already present limits, but you 
cannot change or remove existing spending limits. You may check "Spending 
limits" documentation 
. 

Quota page is not gone for me, I can see it, as well as the "Delete" button 
for app versions. You may be affected by a browser problem. It's worthwhile 
deleting cookies, and trying to use another browser, to see if that makes a 
difference. 

To examine directly your billing-related issues, we'll need private 
information such as project IDs. This private information ought never be 
disclosed in publicly-visible threads as this one. You should rather open a 
separate issue in the Public Issue Tracker 
, marking your issue as private. 

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/d37f4979-7c19-49b0-a96f-a401ab1352d7%40googlegroups.com.


[google-appengine] Re: what is version in (com.google.cloud.tools)

2020-05-04 Thread 'George (Cloud Platform Support)' via Google App Engine
Parameter "version" is defined as 
:
 
"The version of the app that will be created or replaced by this 
deployment. If you do not specify a version, one will be generated for you".

You seem to want to set version to your Cloud SDK version, which contains 
unacceptable "." dots. It is the version of your app needed, which has to 
be supplied by you, or generated automatically. You may check the "App 
Engine Maven Plugin (Cloud SDK-based) Goals and Parameters" documentation 
page  
for related detail. 

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/b72d7eb4-118c-4ec9-8b7d-e47b94008041%40googlegroups.com.


[google-appengine] Re: Deployment issue in gae (standard envoirement)

2020-05-04 Thread 'George (Cloud Platform Support)' via Google App Engine
How did you run the "gcloud app deploy" command, what parameters?   gcloud 
app deploy [CONFIGURATION_FILES] is expected. What configuration files did 
you indicate? 

The recommended deployment procedure 

 
uses Maven. 

Error message seems to point out that you use an older version of Guava 
, namely dating 
from 2014. A more recent version might be of help in this context.  

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/f10674b7-a970-485e-ad25-7d5b8e106da7%40googlegroups.com.


[google-appengine] Re: Why would the same exact Firebase Function take 10x as long to run using a schedule/onRun trigger than a HTTP onRequest trigger?

2020-05-01 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Mike, 

To establish the root cause of this wide difference in execution time 
between your 2 functions we need details such as project ID, function 
names, and even a sample of your function's code in view of reproductions. 
All this private information cannot be disclosed in a publicly visible 
thread as this one. If you think there is a possible error in Firebase, you 
should open a private issue in the Public Issue Tracker 
, setting it as private, to protect your 
private information. 

This discussion group is oriented more towards general opinions, trends, 
and issues of general nature touching App Engine. For Firebase function 
behavior, you may be better served in dedicated forums such as 
stackoverflow, where experienced programmers are within reach and ready to 
help. 

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/5c390a79-e4f3-4cd7-8913-c2470859f9b4%40googlegroups.com.


[google-appengine] Re: {err:ENOENT} on deploy

2020-04-16 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Peter, 

How did you run the gcloud app browse command? You should edit out any 
piece of private information, such as project number and the like. What is 
the output from the same command, followed by the flag set to 
--verbosity=debug?

What is the output of gcloud info (again, no private information)?

Does your environment allow for a browser to be launched, i.e. headless or 
not?

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/0bdf17c1-ab3b-42f1-a525-3d3f7dade9db%40googlegroups.com.


[google-appengine] Re: Obsfucate in java

2020-04-06 Thread 'George (Cloud Platform Support)' via Google App Engine
In ProGuard, class path entries can be specified using multiple-outjars 
options. Without any-outjars options, no jars will be written. This seems 
to be the case here: you might not have set these options. You may check 
ProGuard 
documentation 
 for related 
detail. 

This discussion group is oriented more towards general opinions, trends, 
and issues of general nature touching App Engine. For coding and 
programming architecture, as well as using third-party tools such as 
ProGuard, you may be better served in dedicated forums such as 
stackoverflow, where experienced programmers are within reach and ready to 
help.

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/5456f736-6060-4290-87b8-a67671b02072%40googlegroups.com.


[google-appengine] Re: "Request global variable is not set" suddenly started in deferred

2020-04-02 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Remko, 

There are no instance-related problems that would explain these errors, at 
the moment. To examine this issue we would normally need the project number 
involved, and sample code to reproduce the issue independently here. This 
private information cannot be disclosed here, in a publicly visible 
posting. You are encouraged to open a private issue with similar contents 
in the Public Issue Tracker , where 
privacy levels can be controlled. You may also provide this information in 
a private message to me, by using the top right reply button, and choosing 
„reply privately to author” from the drop-down menu. 

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/9840c9eb-8497-44aa-bd93-03b295ec2536%40googlegroups.com.


[google-appengine] Re: Run gcloud commands from PHP

2020-03-31 Thread 'George (Cloud Platform Support)' via Google App Engine
In your local development environment, if you want to run a script 
including gcloud commands, you should refer to the "Scripting gcloud CLI 
commands" documentation page 
. In this local 
environment, it is unclear why you chose to use PHP and the shell_exec() 
command; you can run the script directly at the command prompt. 

If you mean to run shell_exec() in the code of your deployed PHP app, this 
is not supported. App Engine Standard Environment does not allow system 
calls. In the Flexible Environment, the following functions are disabled: 
exec, passthru, proc_open, proc_close, shell_exec, show_source, symlink, 
system. 

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/243ffd40-7baf-4821-9954-9dd86ac9f904%40googlegroups.com.


[google-appengine] Re: Run gcloud commands from PHP

2020-03-30 Thread 'George (Cloud Platform Support)' via Google App Engine
What would you like to accomplish by running this command? Does your 
use-case ask specifically for the use of a gcloud command? 

In this particular case, the easiest and straightforward way to get the 
desired information is an API call to method: instances.list 
 of 
the REST API, from your PHP script. To simplify calling the API, you should 
use the Client Library 

. 

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/51f71c27-76ca-415d-979d-c4e20a055935%40googlegroups.com.


[google-appengine] Re: Deploy Laravel app on google app engine! INVALID_ARGUMENT: Network 'default' does not exist

2020-03-13 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Ben, 

This is usually indicative of a situation characterized by a missing 
default network. Your default network could have been deleted at a certain 
moment in time. Recreating the default network should address the issue, or 
specifying your actual network in app.yaml:

*network:*
*  instance_tag: TAG_NAME*
*  name: NETWORK_NAME*
*  subnetwork_name: SUBNETWORK_NAME*

You may refer to the "app.yaml Configuration File" documentation page 

 
for related detail. 

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/fc7d9ec6-59b3-46ea-853b-e2843d8d5cad%40googlegroups.com.


[google-appengine] Re: Google IoT with Node-red using JWT

2020-02-26 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Hassan, 

Node-RED provides specific documentation on this issue on the "Connect to 
an MQTT Broker" page . 
You may benefit from guidance and examples provided on the "Publishing over 
the MQTT bridge" documentation page 
. 

This discussion group is oriented more towards general opinions, trends, 
and issues of general nature touching App Engine. For coding and 
programming architecture, as well as setting up connections to an MQTT 
broker, you may be better served in dedicated forums such as stackoverflow, 
where experienced programmers are within reach and ready to help. 

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/cf5330c1-b125-487b-bd27-82d69744db98%40googlegroups.com.


[google-appengine] Re: GAE app working fine on appspot url in EU but does not even load in US

2020-02-04 Thread 'George (Cloud Platform Support)' via Google App Engine
Is the issue still affecting you? Has it disappeared by itself, as last 
time? How long did it last? 

App Engine is regional , 
so deploying your app in a European region secures optimal performance and 
minimal lag for the chosen region. For the time-frame you indicated, there 
is no outage that may explain your app becoming inaccessible from a US 
region. There may be other factors explaining this occurrence, but a 
thorough investigation needs information that may be private in nature. 
Groups threads such as this one are unable to secure the needed level of 
privacy. You are encouraged to open an issue in the Public Issue Tracker 
, if you consider a full investigation 
worthwhile. 

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/7acda512-6cd2-412a-9c96-31eb3845d988%40googlegroups.com.


[google-appengine] Re: Bigger app sizes with Cloud SDK than with AppCfg

2020-01-29 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Diego, 

The directory called "appengine-staging" is required, and created by 
default. You are able to modify its location using the stagingDirectory 
parameter of the appengine:deploy goal. It is the directory to which to 
stage the application. Default is 
${project.build.directory}/appengine-staging. Related details are to be 
found on the "App Engine Maven Plugin Goals and Parameters" documentation 
page 
. 

How did you determine that the Maven plugin generates bigger apps? 

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/40044c48-d137-4b83-b4cb-a783c123832f%40googlegroups.com.


[google-appengine] Re: Question about standard app engine with Python runtime migration from 2.7 to 3.7?

2020-01-21 Thread 'George (Cloud Platform Support)' via Google App Engine
In the app.yaml configuration file of a Python 3 application, "threadsafe" 
field is deprecated. All applications are presumed to be threadsafe. You 
may find related details in the "Updating app.yaml" sub-chapter 

 
of the "Preparing configuration files for the Python 3 runtime" 
documentation page. 

You did not mention what "skip_files:" related errors you are faced with. 

All this is above the scope of this discussion group, in fact off-topic. 
You should post such questions to StackOverflow, or other similar forums. 
This forum is meant for general discussion on the platform and its 
services. By contrast, in StackOverflow, you get in contact with 
experienced programmers, who are happy to help. 

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/7b64ca15-1d87-4654-b1d9-90829338dec3%40googlegroups.com.


[google-appengine] Re: Any GAE Profiler for Flask

2020-01-13 Thread 'George (Cloud Platform Support)' via Google App Engine
You may also check flask_profiler 1.8.1 
. , or nylas/nylas-perftools 
. 

This discussion group is oriented more towards general opinions, trends, 
and issues of general nature touching App Engine and Cloud SQL. For coding 
and programming architecture generally, or choosing a profiler for Flask, 
you may be better served in dedicated forums such as stackoverflow, where 
experienced programmers are within reach and ready to help.

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/df53625d-905c-435b-9d73-f617d9aaa1b7%40googlegroups.com.


[google-appengine] Re: charges

2020-01-10 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Tony, 

Your data is secure in the Cloud. You may check the following document 
 for details: "Is my data 
safe and secure in the cloud?". This page provides also links to other 
pages with more in-depth content on the matter. 

As your project seems to relate to Google Assistant, you may profit from 
going over its dedicated 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/bd12e4aa-d04f-4a5f-9b46-827710df3bb1%40googlegroups.com.


[google-appengine] Re: N00b - CPU Quota Error Message

2020-01-06 Thread 'George (Cloud Platform Support)' via Google App Engine
It looks as if you have reached a CPU quota, meaning the total number of 
virtual CPUs across all of your VM instances in a region. To check the 
available quota for resources in your project, go to the *Quotas* 
 page in the Google 
Cloud Console. If your reached a CPU quota, waiting would not help; you 
need to request changes to quota from the *Quotas* 
 page in the Cloud 
Console. 

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/a0164562-537d-4d0c-87d7-60b986840a49%40googlegroups.com.


[google-appengine] Re: Cannot use webapp2 Mako api

2020-01-03 Thread 'George (Cloud Platform Support)' via Google App Engine
 You must add the mako package to your application directory for App 
Engine, as documented on the "Mako" page 
. 

This discussion group is oriented more towards general opinions, trends, 
and issues of general nature touching App Engine and Cloud SQL. For coding 
and programming architecture, as well as setting up Mako, you may be better 
served in dedicated forums such as stackoverflow, where experienced 
programmers are within reach and ready to help.

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/490f11ce-5cad-4553-97de-fdef68122639%40googlegroups.com.


[google-appengine] Re: Cannot emulate Bottle API with available dev_appserver.py Options

2019-12-30 Thread 'George (Cloud Platform Support)' via Google App Engine
It looks as if you are looking for the following command: dev_appserver.py 
[PATH_TO_YOUR_APP] , assuming you are in Standard Environment.  Related 
detail is to be found on the "Using the Local Development Server" 
documentation page 

. 

Regarding Python libraries such as Bottle, you may check Using Python 
Libraries 

.  

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/4db236a2-103a-4cac-adac-9dc9ff5bb17f%40googlegroups.com.


[google-appengine] Re: App is listening on port 8080. We recommend your app listen on the port defined by the PORT environment variable to take advantage of an NGINX layer on port 8080.

2019-12-30 Thread 'George (Cloud Platform Support)' via Google App Engine
Hi Kevin, 

In fact, listening to the PORT environment variable in your app still 
constitutes good practice. You should try using this environment variable 
in your code, referring to the "Node.js Runtime Environment" documentation 
page 

. 

This discussion group is oriented more towards general opinions, trends, 
and issues of general nature touching the app engine. For coding and 
program architecture, as well as setting environment variables, you may be 
better served in dedicated forums such as stackoverflow, where experienced 
programmers are within reach and ready to help.

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/7494f31b-93f1-48fb-89fb-491e136a7159%40googlegroups.com.


[google-appengine] this is a privacy test

2019-12-27 Thread 'George (Cloud Platform Support)' via Google App Engine
tesst

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/3be99d1c-ed2a-423d-892c-82f9be78501f%40googlegroups.com.


[google-appengine] Re: GCLOUD SDK Support For Python 3

2019-12-20 Thread 'George (Cloud Platform Support)' via Google App Engine


Hello Mua, 

It is difficult to predict if installation of the gcloud tools/sdk on 
python3 environment  will be supported, and when, as decisions on 
development paths may be taken or altered at any moment. You may refer to 
the Understanding differences between the Python 2 and Python 3 environments 

 
page, and contained links for related information. 

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/dc6a2880-cf19-4643-8599-97da85850fd5%40googlegroups.com.


[google-appengine] Re: Connecting App Engine Flex with Dotnet application to Cloud SQL 2nd generation instance

2019-12-16 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Amitesh, 

This error is indicative of timeout issues. You may check replies to the 
"Attempted to read past end of the stream error in MySQL" question 

 
in stackoverflow, as an example. 

For connection specific issues, you may refer to "Connecting to Cloud SQL 
from external applications" documentation page 
. 

This discussion group is oriented more towards general opinions, trends, 
and issues of general nature touching the app engine. For technical MySQL 
connection issues, and generally for coding you may be better served in 
dedicated forums such as stackoverflow, where experienced programmers are 
within reach and ready to help. 

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/cbf6a106-4646-46e8-95c7-c5979276c79b%40googlegroups.com.


[google-appengine] Re: How to upload 1 GB file from SFTP to google cloud storage using python on Google App Engine?

2019-12-16 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Siripong, 

You may find Python code samples for uploading filed to GCS on the 
"Uploading objects" documentation page 

. 

This discussion group is oriented more towards general opinions, trends, 
and issues of general nature touching the app engine. For coding and 
program architecture, as well as setting up proxies, you may be better 
served in dedicated forums such as stackoverflow, where experienced 
programmers are within reach and ready to help.

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/47c9e61f-d7e7-465b-b1c1-967cf674599b%40googlegroups.com.


[google-appengine] Re: Creating dev / staging / prod environment

2019-12-10 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Ashok, 

The recommended practice is setting up separate projects, one for each of 
these environments, and this for more than one reason. You'll find related 
details on the "Naming Developer Environments" documentation page 
.
 
There is minimal effort involved in setting up these different projects. 

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/ea6f5460-fdb1-4369-8764-121891fc2840%40googlegroups.com.


[google-appengine] Re: Google App Engine Search stopped working

2019-11-19 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Liu, 

The error may have various origins. You should try including the app engine 
dependency in your pom.xml. 

This discussion group is oriented more towards general opinions, trends, 
and issues of general nature touching App Engine. For coding in Java, and 
software architecture, as well as registering dependencies, you may be 
better served in dedicated forums such as stackoverflow, where experienced 
programmers are within reach and ready to help. If you think this a Cloud 
Platform related problem, you are encouraged to open a private issue in the 
Public Issue Tracker, where private information, such as project names, can 
be securely exchanged. 

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/b1c4577e-d202-4bf9-a349-4d4fc060ce43%40googlegroups.com.


[google-appengine] Re: Python 3: how to deserialize App Engine application logs from StackDriver Logging API?

2019-11-07 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Ryan, 

You are right, posting to stackoverflow is the right thing to do for such a 
subject. You are now able to follow replies and suggestions in the new 
stackoverflow thread. This discussion group is oriented more towards 
general opinions, trends, and issues of general nature touching the app 
engine. For coding and program architecture, as well as de-serializing App 
Engine application logs from StackDriver Logging API, you may be better 
served in dedicated forums such as stackoverflow, where experienced 
programmers are within reach and ready to help.

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/e9d6a56f-318c-40f0-a8c2-87531c5fab2c%40googlegroups.com.


[google-appengine] Re: Deploy Node red in App engine

2019-11-06 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Miriam, 

Support for Node-RED is in development stages right now; you may refer to 
the Node-RED Support Requested  
issue in the Public Issue Tracker. No estimated time to feature 
implementation has been set. Meanwhile, you may follow developments in the 
linked PIT thread.

Internet offers various unsupported instructions for Node-RED on App 
Engine, for instance Node-RED on Google Cloud Platform 
,
 
or node-red-contrib-google-cloud 
 in 
GitHub. 

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/9db65d9b-01e2-4322-8497-3834bfa762c8%40googlegroups.com.


[google-appengine] Re: No Cloud Tasks local emulator

2019-11-04 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Ryan, 

Your interest in this feature has been properly taken into consideration, 
and your suggestions highly appreciated. At the moment, this feature is 
still work in progress. I hope this is going to get implemented soon. There 
are no proper estimates for a final implementation date. You can follow 
developments in the thread you have starred. Engineering should update 
thread in real time. 

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/15649beb-c2f7-42e1-89e5-1549f8d28c87%40googlegroups.com.


[google-appengine] Re: Google Cloud Datastore emulator export/import not working

2019-11-04 Thread 'George (Cloud Platform Support)' via Google App Engine
The API documentation page referred to in my initial answer indicates 
single quotes after -d, --data parameter. I have mistakenly indicates 
double quotes. What is the result of running the same command with single 
quotes after -d? A relevant copy of your curl command would be appreciated, 
in reply. 

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/302c9356-3c31-4ca0-9824-5dca5bee502b%40googlegroups.com.


[google-appengine] Re: Google Cloud Datastore emulator export/import not working

2019-11-01 Thread 'George (Cloud Platform Support)' via Google App Engine
Your strings for input_url and output_url_prefix do not seem to conform to 
the indications and examples provided on the Exporting and importing 
emulator data 
 
page. In particular, your use of escaping "/" is understandable, but not 
required in this case. Does it make any difference if you simply enclose 
the string in double quotes, as exemplified on that 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/82928c72-75e7-4df0-b1f9-096f5e3a8799%40googlegroups.com.


[google-appengine] Re: Java Standard: successfully deploy but no instances: The server encountered an error and could not complete your request.

2019-10-29 Thread 'George (Cloud Platform Support)' via Google App Engine
Glad to read you have troubleshot your issue successfully. You are welcome 
opening separate issues in the Public Issue Tracker 
, if you are faced with other Cloud 
Platform related problems. 

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/e12e8dde-9d2d-4b62-9060-75c4fd483e49%40googlegroups.com.


[google-appengine] Re: the build-an-app demo of the appengine python 3.7 doesn't work out

2019-10-29 Thread 'George (Cloud Platform Support)' via Google App Engine
Have you included  all necessary dependencies in the requirements.txt file? 
Sub-chapter Updating your web service to use tokens 

 describes 
how to retrieve, verify, and decrypt the token in the root method of your 
main.py file. Have you followed this example? Does your demo differ in any 
way? 

This discussion group is oriented more towards general opinions, trends, 
and issues of general nature touching App Engine. For coding and 
programming architecture, as well as setting up Firebase authentication, 
you may be better served in dedicated forums such as stackoverflow, where 
experienced programmers are within reach and ready to help. If you think 
this a Cloud Platform related problem, you are encouraged to open a private 
issue in the Public Issue Tracker, where private information, such as 
project names, can be securely exchanged. This is not possible in public 
forums such as Groups. 

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/5f473f95-88d6-4dbf-a52f-e96d519f17f0%40googlegroups.com.


[google-appengine] Re: Prophet Facebook

2019-10-28 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Eduard, 

You also need a appengine_config.py file, and other configuration settings 
to install your library, as detailed on the "Using Python 2 libraries" 
documentation page 

. 

Are there enough resources available? If you are using a VM, be aware that 
you will need at least 4GB of memory to install fbprophet 
, and at least 
2GB of memory to use fbprophet, 

This discussion group is oriented more towards general opinions, trends, 
and issues of general nature touching the app engine. For coding and 
program architecture, as well as importing third-party Python libraries, 
you may be better served in dedicated forums such as stackoverflow, where 
experienced programmers are within reach and ready to help. 

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/2c7bd9c3-332f-4caf-8c90-980fc087de79%40googlegroups.com.


[google-appengine] Re: Python3 AppEngine Standard - No Endpoints Support

2019-10-28 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Matthew, 

There is no immediate plan to replace Python versions in Cloud Endpoints 
Frameworks, and have Python 3 in place of 2.7. This also implies that 
danger of discontinuing Python 2.7 to result in no Cloud Endpoints 
Frameworks is as good as nonexistent. You should not worry about such 
deprecation coming out of the blue with no warning. There is always advance 
notice expected in such cases, a long time before the actual change would 
get implemented. You would have ample time to adapt to the new situation. 
In this particular case, there is no need to fear any 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/e0990b3e-1cc0-4d1b-a7e9-7519041e1503%40googlegroups.com.


[google-appengine] Re: Java Standard: successfully deploy but no instances: The server encountered an error and could not complete your request.

2019-10-25 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Jonathan, 

Have you had a look at your logs? In Cloud Console, you should navigate to 
logging and examine logs for any relevant message. To narrow down your 
investigation, you should select logging level as "error", or "debug". As a 
first step, if you notice session support is not enabled in 
appengine-web.xml, try editing appengine-web.xml, and adding line: 
true. 

You are encouraged to open a private issue with similar contents in Public 
Issue Tracker , where private details, 
such as project names, can be exchanged safely, away from public scrutiny, 
if you mark the issue as private. Public forums such as Groups are not 
suitable in this respect.  

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/0ce8713a-6e15-4306-a94b-08d5e1f2e5a8%40googlegroups.com.


[google-appengine] Re: Operation not complete. Waiting to retry. -> ERROR: (gcloud.app.deploy) Error Response: [13] An internal error occurred.

2019-10-24 Thread 'George (Cloud Platform Support)' via Google App Engine
Hi Dario, 

Glad to read you have found a solution. You are right, this looks like a 
corrupted Cloud SDK install, so a simple reinstall of the SDK would have 
very likely lead to normal behavior again. 

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/88d195ea-2d27-44c7-ae7c-69a5d5c5ad5b%40googlegroups.com.


[google-appengine] Re: The end of PaaS ?

2019-10-23 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Kaan, 

The problems you describe here are most suitable for feature requests in Public 
Issue Tracker . Developers may assess 
merit in each case, and decide on proper implementation. 

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/5234a8b4-c4c2-485f-b040-dac2f44a37e5%40googlegroups.com.


[google-appengine] Re: The end of PaaS ?

2019-10-22 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Patrice, 

Your perception about App Engine as PaaS scheduled to be shut down is 
unjustified: there are no such plans at the moment, nor are there chances 
the PaaS offer gets abandoned, not for the foreseeable future. 

Products on this list 

 
are migrated: Task Queue to Cloud Tasks, Cron to Cloud Scheduler, Memcache 
to Memorystore, Datastore to Firestore, and Search to ElasticSearch, to 
make them available and ready to use outside of GAE. In other words, the 
intention is to not restrict products on this list to the App Engine SDK.

Now with GKE, Cloud Run, and other Cloud provider computing solutions, it 
only makes sense to allow for these other platforms to take advantage of 
the products previously only GAE could.

Worthwhile mentioning that, while the Engineering Team migrated these 
products outside of GAE, they also took it upon themselves to improve them, 
which is why there may be some difference in the new flavors of these 
products. 

As a side note, GCS is not tied to App Engine, and therefore does not 
require any migration. 

There is still a product that qualifies fully as PaaS: Cloud Functions. It 
is the true PaaS product: Developers do not need to worry about instance 
configuration at all.


-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/3c85f56e-d4f7-4ce9-8d76-e996ffa8be4d%40googlegroups.com.


[google-appengine] Re: Operation not complete. Waiting to retry. -> ERROR: (gcloud.app.deploy) Error Response: [13] An internal error occurred.

2019-10-21 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Dario, 

How does your app.yaml look like? 

To enable a closer examination of your installation, you need to run the 
following commands: 

gcloud components update
gcloud info
gcloud app deploy --verbosity=debug

What is the output from these commands? You should edit out all private 
data from the gcloud info command, app.yaml and generally from your reply. 
As you see, we need private information to examine your situation in depth. 
Groups threads do not offer proper tools to safeguard your information from 
public eyes. You are encouraged to open a private issue in Public Issue 
Tracker with similar contents, where visibility to postings can be 
restrained. 

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/157717cf-1262-4516-a14d-4d43e8dd%40googlegroups.com.


[google-appengine] Re: 2 instances

2019-10-21 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Julien, 

If you want to limit the total number of running instances to one, in 
Standard Environment, you specify this in your app's app.yaml configuration 
file, for instance by choosing manual scaling, and setting desired value 
for the max_instances parameter. Manual scaling uses resident instances 
that continuously run the specified number of instances irrespective of the 
load level. More details are to be found on the "How Instances are Managed" 
page 
.
 
Some settings in Automatic scaling may get you the same functionality. 

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/4c32ec60-e8d2-481c-94c9-c4e6d4f90094%40googlegroups.com.


[google-appengine] Re: dev_appserver.py slow instance start

2019-10-21 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Zdenko, 

You are right: if you don't notice any delays when using a clean VM, it 
seems likely that your local setup is at fault. 

All this is above the scope of this discussion group, in fact off-topic. 
You should post such questions to StackOverflow, or other similar forums. 
This forum is meant for general discussion on the platform and its 
services. By contrast, in StackOverflow, you get in contact with 
experienced programmers, who are happy to help. 

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/bfadb3bb-643e-4f1d-867c-e907150edcb9%40googlegroups.com.


[google-appengine] Re: Why is Jinja2 urlize filter not working with GAE flask app?

2019-10-18 Thread 'George (Cloud Platform Support)' via Google App Engine
You probably did not register this filter; you have to register the filter 
using a statement similar to: jinja_env.filters['variable_name_here'] = 
identifier. 

This discussion group is oriented more towards general opinions, trends, 
and issues of general nature touching App Engine and Cloud SQL. For coding 
and programming architecture, as well as setting up Jinja urlize filters, 
you may be better served in dedicated forums such as stackoverflow, where 
experienced programmers are within reach and ready to help. You have done 
the right thing by posting Why is Jinja2 urlize filter not working with GAE 
flask app? 


-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/e27354f0-57de-4e60-af0e-bfffb020da84%40googlegroups.com.


[google-appengine] Re: PermanentTaskFailure with deferred API in appengine standard python (maybe datastore related)

2019-10-18 Thread 'George (Cloud Platform Support)' via Google App Engine
You have taken the right approach, publishing on stackoverflow. If you 
think this a Cloud Platform issue, and not on your app's side, you are 
encouraged to post in Public Issue Tracker 
. 

This discussion group is oriented more towards general opinions, trends, 
and issues of general nature touching App Engine and Cloud SQL. For coding 
and programming architecture, as well as Deferred API specific problems, 
you may be better served in dedicated forums such as stackoverflow, where 
experienced programmers are within reach and ready to help.

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/ec7e7e8a-88cd-4c3f-bbbf-6394c6ddfc71%40googlegroups.com.


[google-appengine] Re: deploy error - token exchange failed

2019-10-17 Thread 'George (Cloud Platform Support)' via Google App Engine
You should rather run gcloud auth application-default login 
, 
if your intention is to acquire new user credentials to use for Application 
Default Credentials. 

How did you grant roles to your user account, exactly? 

-- 
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 the web visit 
https://groups.google.com/d/msgid/google-appengine/a2ceff6d-1ab3-4dd9-a216-281de5075c46%40googlegroups.com.


  1   2   3   4   5   6   7   8   9   10   >