[google-appengine] Re: This deployment has too many files error

2018-11-14 Thread 'Katayoon (Cloud Platform Support)' via Google App Engine
This issue is already reported in the Issue Tracker 
. I recommend that you continue 
with that thread and provide us with the following info there:

- Which GAE environment (flex or standard) are you using?
- Are you using `skip_files` in app.yaml?
- Can you confirm that on windows, there is not a hidden folder that ought 
be ignored, but in fact uploaded?


- Note that Google Groups are reserved for general discussions on Google 
Cloud Platform-end products and not for reporting issues. 

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


[google-appengine] Re: Issue with Standard environment(Node.js) automatic scaling

2018-11-14 Thread Nikitha Kamath
Thank you Dan.

Any suggestion on the parameter values that should be set for automatic 
scaling?

On Monday, November 5, 2018 at 7:08:54 PM UTC+5:30, Nikitha Kamath wrote:
>
>
> Hi,
>
> A Node.js application is deployed in App engine standard environment. In 
> the app.yaml, automatic scaling is chosen with values given below. However, 
> when using 'gcloud app deploy', it gives this error : Unexpected 
> attribute 'target_throughput_utilization' for object of type 
> AutomaticScaling.What is the solution for this? Are we missing some 
> values in app.yaml? Also when there are no incoming requests, the number of 
> instances is always 2 instead of 0. Why is that?
>
> Thank you.
>
> runtime: nodejs8
> instance_class: F2
> automatic_scaling:
>   max_concurrent_requests: 10
>   target_throughput_utilization: 0.8
> handlers:
> - url: /.*
>   secure: always
>   redirect_http_response_code: 301
>   script: auto
>
>

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


[google-appengine] Re: Error Response: [13] Error processing user code

2018-11-14 Thread 'Katayoon (Cloud Platform Support)' via Google App Engine
Hi Carlson,

I see that you have already reported the issue in the Issue Tracker 
 and it is being 
investigated. In order to avoid duplicating efforts we will let you work 
with your ticket in the issue tracker. 

- Note that Google Groups are reserved for general discussions on Google 
Cloud Platform-end products and not for reporting issues. 

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


Re: [google-appengine] bc.googleusercontent.com Appendswrong info to query string and goes to 404

2018-11-14 Thread Barry Hunter
Traffic from 'bc.googleusercontent.com' is originating from Compute Engine.

so its unlikely to be google itself, although admitedly google employees
can rent vps'es too.

On Wed, 14 Nov 2018, 11:23 Gardecor Incorp,  wrote:

>
> SERVER vars:
> [REMOTE_ADDR] => 35.236.192.28
> [REMOTE_HOST] => 28.192.236.35.bc.googleusercontent.com
> [REMOTE_PORT] => 61840
> [HTTP_USER_AGENT] => Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-PT;
> rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729) which is
> Firefox 3.5 on XP
>
> Whatever this is doing, it is appending
> 'A=0
> to the URL.
>
> E.g., correct URL =
> https://mysite.com/mypage?me=yes
>
> That [REMOTE_HOST] => 28.192.236.35.bc.googleusercontent.com
>
> changes it to
> https://mysite.com/me=yes'A=0
>
> That results in a 404 because the query string, me=yes, should be the
> correct var for the program to find the right page.
>
> (1) What's happening? Is this really Google?
>
> (2) If it's Google, then why doesn't Google quality check and correct what
> they are doing?
>
> (3) Why doesn't the user agent reflect a bot?
>
> (4) It's upsetting to find this during a debugging routine a long time
> after the program is coded and quality checked okay.
> How can that be prevented in the future? How do I predict that Google will
> do something stupid like this.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-appengine.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/1d445966-5624-49da-ba58-b27c5fd50f1e%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

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


[google-appengine] Re: AppEngine Java SDK 1.9.68 is not available via Maven

2018-11-14 Thread 'Katayoon (Cloud Platform Support)' via Google App Engine
Hi Yuri,

This issue/request is already forwarded to the App Engine product team via this 
ticket  to make SDK java 1.9.68 
available on Maven. I recommend to star the ticket for further updates. 

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


[google-appengine] Re: [flex] Is there a way to call the HTTPS URL in cron?

2018-11-14 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Paul, 

At the moment, there is no way to force cron to call to the HTTPS URL. 
There is already a feature request with similar contents in the Public 
Issue Tracker, called "cron.yaml - no option for https only 
". It offers some insight in 
the context of your request. You can follow this feature request for 
developments and eventual 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 post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/7d3cf8df-0ab0-446b-bc24-047e4a815a3f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Will App Engine Flex Environment ever support Memcache?

2018-11-14 Thread 'Dan S (Cloud Platform Support)' via Google App Engine
Hello,

It seems that the present screenshot does not prove that you were selected 
to use the Flex Memcache Alpha Service. You'll know if you were selected if 
you receive an email with the invitation. Thus, it's important to get 
attention to your spans filters. The invitation to earlier access should 
also give you access to participate in the product forum[1]. I hope this 
information has met your needs.

[1] https://groups.google.com/forum/#!forum/gae-flex-memcache-preview


On Saturday, November 10, 2018 at 7:24:12 PM UTC-5, William Hingston wrote:
>
> It appears I was accepted into the alpha at some point (I filled out the 
> form months ago)
>
> However I wasn't given any notification and I'm not able to find any 
> documentation on how to use memcache in my app. I can manually add and 
> remove keys from the web interface though.
>
> Attached a screenshot of memcache in my flexible app's dashboard.
>
> On Wednesday, 8 August 2018 03:33:49 UTC+9:30, Gopal Ashok wrote:
>>
>> Hi Joshua,
>> App Engine Memcache for Flex alpha is closed. 
>>
>> The current caching story for App Engine Flex is Cloud Memorystore (Beta) 
>> which currently supports Redis. We do plan to provide support for Memcache 
>> that can be accessed from Flex. We will have a closed alpha for this in 
>> late Q3\early Q4 timeframe. 
>>
>> If you need a managed memcache service one option is to use redislabs.
>>
>> https://cloud.google.com/appengine/docs/flexible/python/using-redislabs-memcache
>>
>> Thanks
>> Gopal
>>
>>
>> On Tuesday, July 24, 2018 at 3:29:40 PM UTC-7, Joshua Lyon wrote:
>>>
>>> Thanks for the reply. I signed up for both Memcache (Flex) and Could 
>>> Tasks alpha access several days/weeks ago and never heard anything back... 
>>> hence the reason I'm posting here to get clarification.
>>>
>>> It's unclear if some of these alphas are just not actually open yet, if 
>>> they aren't accepting new requests, if the request just got lost, or what's 
>>> going on. As such, I was hoping to get some clarification! :-D
>>>
>>

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


[google-appengine] Re: Google Cloud App Engine Standard not support gzip?

2018-11-14 Thread Jason Collins
What runtime are you using?

On Wednesday, 14 November 2018 10:22:27 UTC-8, Indra Sumawi wrote:
>
> Currently I develop REST API using laravel framework and I deploy it to 
> both Google Cloud App Engine Standard and Flexible version.
>
> When I deploy it to flexible version, it works fine. However, since my app 
> still prototype, I want to change it to standard version so I can get the 
> free tier because my app still use very little resources. 
>
> However, when I try to deploy to App Engine standard, everything still 
> works, but the response quite slow, compared to flexible. I already tried 
> to change the instance class to the highest spec machine, but still the 
> same result.
>
> So I try to find out what's going on, I thought App engine standard slower 
> than flexible.
>
> My findings:
>
> App Engine Standard
>
> [image: MdRqA.png]
>
> [image: nx9T3.png]
>
>
>
> App Engine Flexible 
>
> [image: JGBau.png]
>
> [image: lgEpT.png]
>
>
>
>
> As you can see, the standard and flexible request to the same API 
> endpoint, however, in standard version, the response return not in gzip 
> encoding and more bytes were return, while flexible version return in gzip 
> encoding.
>
> I think that might be the problem why every request become slow. In 
> Flexible, mostly the request return under 1000 ms, while in standard most 
> of the time around 2000 ms.
>
> Do you guys have any idea how to enable gzip compression in App Engine 
> Standard, or do you think there is other problem that cause the response to 
> be slow.
>
> Thank You for your 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 post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/97962a5d-5e88-410c-a9dd-ecf103e26552%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Issue with Standard environment(Node.js) automatic scaling

2018-11-14 Thread Henry Pan
Saluting Dan from Sunnyvale,

Would you please also advice whether the instance will scale better in GKE ?

Thanks in advance

Henry Pan


On Wednesday, November 14, 2018 at 9:51:28 AM UTC-8, Dan S (Cloud Platform 
Support) wrote:
>
> Hello, 
>
> Your instance will be scaled depending on the parameter limits first 
> reached. 
>
> If you have 5 concurrent requests, but reached the Max_pending_latency 
> parameter, for example, then the instance will be scaled. Also, there are 
> some standard values that can spawn your instances[1].
>
> [1] https://cloud.google.com/appengine/docs/standard/nodejs/config/appref
>
>
> On Saturday, November 10, 2018 at 7:25:12 PM UTC-5, Nikitha Kamath wrote:
>>
>> Thank you. This issue have been reported in Issue tracker.
>>
>> With the below scaling parameters, when will a new instance get spawned? 
>> I mean will it depend on concurrent requests or CPU utilization or pending 
>> latency or any other metrics?
>>
>> instance_class: F2
>> automatic_scaling:
>>   max_concurrent_requests: 10
>>   max_idle_instances: 1
>>   max_pending_latency: 300ms
>>   min_idle_instances: 0
>>   min_pending_latency: 30ms
>>
>>
>> On Monday, November 5, 2018 at 7:08:54 PM UTC+5:30, Nikitha Kamath wrote:
>>>
>>>
>>> Hi,
>>>
>>> A Node.js application is deployed in App engine standard environment. In 
>>> the app.yaml, automatic scaling is chosen with values given below. However, 
>>> when using 'gcloud app deploy', it gives this error : Unexpected 
>>> attribute 'target_throughput_utilization' for object of type 
>>> AutomaticScaling.What is the solution for this? Are we missing some 
>>> values in app.yaml? Also when there are no incoming requests, the number of 
>>> instances is always 2 instead of 0. Why is that?
>>>
>>> Thank you.
>>>
>>> runtime: nodejs8
>>> instance_class: F2
>>> automatic_scaling:
>>>   max_concurrent_requests: 10
>>>   target_throughput_utilization: 0.8
>>> handlers:
>>> - url: /.*
>>>   secure: always
>>>   redirect_http_response_code: 301
>>>   script: auto
>>>
>>>

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


[google-appengine] I have a Python project deployed in google app engine, and I am experiencing conflict issues between different versions of the same project

2018-11-14 Thread Heisenberg W

In my newest project version, I added some new routes and handlers. Now, 
after deploying the newest version, I had to migrate the traffic back to 
the old version, but now I keep getting error "Route 'u name not defined", 
even though my previous source code has no reference to this route. In 
short, after deploying to a new version, migrating back to old version, now 
old version doesn't work and keep asking about routes that are defined in 
the new version and not in the previous version.

I have already tried clearing caching, re uploading the project but in vain.

 I'd really appreciate any help. 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 post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/5d9830bd-ac98-4488-9fe8-433717b4034d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Not able to register for Google Cloud Platform Free Trial

2018-11-14 Thread Trav Shadows
Yes. But even with EMV card, you get the notification - "This card does not 
accept automatic payments" So while you do get in, they will close down 
your account in a few months. I dont know how many months you'll get free 
trial though

On Friday, October 13, 2017 at 6:33:40 PM UTC+5:30, RAJ KUMAR wrote:
>
> You can use EMV Debit card of following banks.
>
> ICICI bank, HDFC bank,AXIS bank.I would like to suggest you to visit my 
> blog for detail answer.
>
> Not able to register for Google Cloud Platform Free Trial offer using 
> Debit card/Credit card? 
> 
>
> On Thursday, September 7, 2017 at 6:41:51 PM UTC+5:30, Developer Coder 
> wrote:
>>
>> Hi
>> I want to open account in Google Cloud Platform so i have read the 
>> documentation. When i open this 
>> https://console.cloud.google.com/freetrial?page=0 and add the basic 
>> detail.
>> After that when i add detail in Payment Method and click on *Start my 
>> free trial* button then it said *Invalid card detail try with another 
>> card* and account is not activate. I have tried with *VISA* card and *Master 
>> Card*. So kindly please do some help that how to solve this issue? 
>> I just want to know that credit card is required to open account in 
>> Google Cloud Platform Or we can use Bank account number also to open 
>> account on it?
>>
>> On Friday, April 7, 2017 at 6:49:54 PM UTC+5:30, Sarmistha Guha Thakurta 
>> wrote:
>>>
>>> I was trying to register for the Free Trial of Google Cloud Platform. 
>>> However, after I filled up my data and credit card details, though My VISA 
>>> credit card was debited with $1 but I was shown an error "Transaction was 
>>> declined due to an Invalid Payment". I tried with AMEX card as well but 
>>> still the same error?
>>> #GoogleCloudPlatform #FreeTrial #GCP
>>>
>>

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


[google-appengine] GAE Python2.7 SSL not working anymore?

2018-11-14 Thread Roberto Martino
Hi I have this error at the end of the stacktrace   in stackdriver:

File 
"/base/alloc/tmpfs/dynamic_runtimes/python27g/90ff42587f3b5ce/python27/python27_lib/versions/third_party/ssl-2.7.11/ssl.py",
 
line 843, in do_handshake self._sslobj.do_handshake() error: [Errno 11] 
Resource temporarily unavailable

It's been heppening for a few days. It's strange because ssl.py is a 
standard python library.

The very same code, with the very same data, works in my machine. 

I do not understand what's happening. Please help me.

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


[google-appengine] GAE python2.7 SSL not working anymore

2018-11-14 Thread Roberto Martino

Hi

My app worked for years but I have this error a few days.

The code uses SSL to send a notificationa via Apple APNS
The error in Stackdrivers is: : [Errno 11] Resource 
temporarily unavailable 

I tryed to update the library that I'm using, as result same error but 
slightly more clear:

File 
"/base/alloc/tmpfs/dynamic_runtimes/python27g/90ff42587f3b5ce/python27/python27_lib/versions/third_party/ssl-2.7.11/ssl.py",
 
line 843, in do_handshake
self._sslobj.do_handshake()
error: [Errno 11] Resource temporarily unavailable

I also tryed the very same code with the very same data on my machine and 
it works

It is strange because ssl.py is a standard library and it's declared in 
libraries in the app.yaml as: - name: sslversion: 2.7.11

Please help me

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


[google-appengine] This deployment has too many files error

2018-11-14 Thread Sandip Mavani
 

 This deployment has too many files. New versions are limited to 1.


i got such error in my php project


but i have only 4478


Uploading 4478 files to Google Cloud Storage.


i am deploying using 


gcloud beta app deploy

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


[google-appengine] bc.googleusercontent.com Appendswrong info to query string and goes to 404

2018-11-14 Thread Gardecor Incorp

SERVER vars:
[REMOTE_ADDR] => 35.236.192.28
[REMOTE_HOST] => 28.192.236.35.bc.googleusercontent.com
[REMOTE_PORT] => 61840
[HTTP_USER_AGENT] => Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-PT; 
rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729) which is 
Firefox 3.5 on XP

Whatever this is doing, it is appending 
'A=0
to the URL.

E.g., correct URL = 
https://mysite.com/mypage?me=yes

That [REMOTE_HOST] => 28.192.236.35.bc.googleusercontent.com

changes it to
https://mysite.com/me=yes'A=0

That results in a 404 because the query string, me=yes, should be the 
correct var for the program to find the right page.

(1) What's happening? Is this really Google?

(2) If it's Google, then why doesn't Google quality check and correct what 
they are doing?

(3) Why doesn't the user agent reflect a bot?

(4) It's upsetting to find this during a debugging routine a long time 
after the program is coded and quality checked okay.
How can that be prevented in the future? How do I predict that Google will 
do something stupid like this.

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


[google-appengine] [flex] Is there a way to call the HTTPS URL in cron?

2018-11-14 Thread Paul Kim
Is there a way to call the HTTPS URL in cron?  Cron seems to call the HTTP 
URL and I have a redirect to force HTTPS on my app.  Is there a way to 
force cron to call to the HTTPS URL?

I am on flex php.

I can make an exception in my redirect code for the tasks that cron will 
run but the preferred solution would be to have all URLs secured by HTTPS.

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


[google-appengine] Google App Engine Issue

2018-11-14 Thread iCoderz Developers
Hello,

I am trying to create a zip on google cloud storage but unable to create a
zip using php.

Here is my sample code. Please help me. if you got any solution please let
me know soon.

Thank you,
xyz

$ZipArchivePath = 'gs://projectID.appspot.com/Temp/zipfile.zip';

$zip = new ZipArchive();
$zip->open($ZipArchivePath, ZipArchive::CREATE);
$zip->addFile($xmlname,$filesystem->read('Temp/'.$id.'/'.$xmlname));
$zip->close();

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


[google-appengine] Error Response: [13] Error processing user code

2018-11-14 Thread Carlson Lau
After not deploying for a month, I tried deploying an update today, 
however, after the file upload was complete I received the following 
message:

Updating service [default]...failed.   
 

*ERROR:* (gcloud.app.deploy) Error Response: [13] Error processing user code

I tried to deploy using my previously deployed code to no avail. 
Running 

gcloud app deploy --verbosity=debug

Shows that Updating service [default]...â ›DEBUG: Operation [apps/...] not 
complete. Waiting to retry.
And then repeatedly gets stuck on that step. Hope someone can 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 post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/1338c298-4262-4a2c-b4d6-e90b96d2b479%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Google Cloud App Engine Standard not support gzip?

2018-11-14 Thread Indra Sumawi
 

Currently I develop REST API using laravel framework and I deploy it to 
both Google Cloud App Engine Standard and Flexible version.

When I deploy it to flexible version, it works fine. However, since my app 
still prototype, I want to change it to standard version so I can get the 
free tier because my app still use very little resources. 

However, when I try to deploy to App Engine standard, everything still 
works, but the response quite slow, compared to flexible. I already tried 
to change the instance class to the highest spec machine, but still the 
same result.

So I try to find out what's going on, I thought App engine standard slower 
than flexible.

My findings:

App Engine Standard

[image: MdRqA.png]

[image: nx9T3.png]



App Engine Flexible 

[image: JGBau.png]

[image: lgEpT.png]




As you can see, the standard and flexible request to the same API endpoint, 
however, in standard version, the response return not in gzip encoding and 
more bytes were return, while flexible version return in gzip encoding.

I think that might be the problem why every request become slow. In 
Flexible, mostly the request return under 1000 ms, while in standard most 
of the time around 2000 ms.

Do you guys have any idea how to enable gzip compression in App Engine 
Standard, or do you think there is other problem that cause the response to 
be slow.

Thank You for your 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 post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/08fc8fa5-9a14-42f5-9982-95046a680271%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Suspicious Activity Regarding App Engine Login

2018-11-14 Thread Aidan Speaks
Hello, I do not use App Engine but I did receive an absolutely random 
request to login to App Engine with my google account on Windows 10. Before 
this happened I had become aware that my Windows 10 machine had been 
comprimised and that I had a backdoor on it. I am currently reinstalling 
windows and running a full scan on my PC. But in the midst of this a new 
tab in Chrome is opened out of nowhere with a page saying whether I wanted 
to give access to an "application" to do something with Google App Engine, 
I declined but what worries me is it never said what application like 
normal applications too and on top of that my computer was comprised. As a 
reference I had just installed an application called NPack so I could back 
up my applications to install on another PC and I had installed Rufus to 
get my reinstall USB ready. Can anyone help me understand why it asked me 
for this and what it could be, should I be worried?

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


[google-appengine] Re: Issue with Standard environment(Node.js) automatic scaling

2018-11-14 Thread 'Dan S (Cloud Platform Support)' via Google App Engine


Hello, 

Your instance will be scaled depending on the parameter limits first 
reached. 

If you have 5 concurrent requests, but reached the Max_pending_latency 
parameter, for example, then the instance will be scaled. Also, there are 
some standard values that can spawn your instances[1].

[1] https://cloud.google.com/appengine/docs/standard/nodejs/config/appref


On Saturday, November 10, 2018 at 7:25:12 PM UTC-5, Nikitha Kamath wrote:
>
> Thank you. This issue have been reported in Issue tracker.
>
> With the below scaling parameters, when will a new instance get spawned? I 
> mean will it depend on concurrent requests or CPU utilization or pending 
> latency or any other metrics?
>
> instance_class: F2
> automatic_scaling:
>   max_concurrent_requests: 10
>   max_idle_instances: 1
>   max_pending_latency: 300ms
>   min_idle_instances: 0
>   min_pending_latency: 30ms
>
>
> On Monday, November 5, 2018 at 7:08:54 PM UTC+5:30, Nikitha Kamath wrote:
>>
>>
>> Hi,
>>
>> A Node.js application is deployed in App engine standard environment. In 
>> the app.yaml, automatic scaling is chosen with values given below. However, 
>> when using 'gcloud app deploy', it gives this error : Unexpected 
>> attribute 'target_throughput_utilization' for object of type 
>> AutomaticScaling.What is the solution for this? Are we missing some 
>> values in app.yaml? Also when there are no incoming requests, the number of 
>> instances is always 2 instead of 0. Why is that?
>>
>> Thank you.
>>
>> runtime: nodejs8
>> instance_class: F2
>> automatic_scaling:
>>   max_concurrent_requests: 10
>>   target_throughput_utilization: 0.8
>> handlers:
>> - url: /.*
>>   secure: always
>>   redirect_http_response_code: 301
>>   script: auto
>>
>>

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


[google-appengine] AppEngine Java SDK 1.9.68 is not available via Maven

2018-11-14 Thread Yuri Sergiichuk
Hi all.

I've noticed that the 1.9.68 version of the AppEngine Java SDK was released 
 back 
on October 25, 2018, but it is not yet available in the Maven Central 
repository. It is not the first time 
 
the SDK for Java is not available in the Maven repository. Maybe something 
is broken in the release procedure?

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