[google-appengine] Re: dev_appserver in 1.9.76 switched import resolution from relative to absolute?

2018-10-11 Thread Vitaly Bogomolov


> hi all! i'm debugging a dev_appserver problem that seems to have been 
> introduced in google cloud sdk 219 / app-engine-python 1.9.76: imports are 
> now all resolved as absolute instead of relative. does that sound familiar?
>


Same issue. Some days ago I was update Cloud SDK to latest version, but 
this update break my test suite (import errors)

I did not investigate the causes, but simply rolled back to the previous 
version, which works as usual.

Google Cloud SDK 207.0.0
app-engine-python 1.9.71
beta 2018.06.22
bq 2.0.34
cloud-datastore-emulator 2.0.0
core 2018.06.22
gsutil 4.32


WBR, Vitaly.

-- 
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/452c7717-de69-449e-87f6-5563b371c98d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Datastore & Firestore Transaction

2018-10-11 Thread Rajesh Gupta
We are more & more thinking on how to take the benefit of firestore in
existing appengine applications.

Existing appengine applications can greatly benefit with some kind of
guaranteed cross database transactions


On Fri, Oct 12, 2018 at 9:25 AM Rajesh Gupta <
rajesh.gu...@veersoftsolutions.com> wrote:

> I am looking to make entry in both datastore and firestore.
>
> Is there a transaction planned between the following
> Firestore in Datastore mode & Firestore in Native mode.
>
> Rajesh
> *www.VeersoftSolutions.com *
> *www.GainERP.com *
> *Accounting/Inventory/Orders/Sales/Purchase on Google Cloud Platform and
> Mobile*
>
>

Rajesh
*www.VeersoftSolutions.com *
*www.GainERP.com *
*Accounting/Inventory/Orders/Sales/Purchase on Google Cloud Platform and
Mobile*

-- 
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/CA%2BS7ijZKgFU-2vPxRnnPVwwVcSsxLH-eE2hMJmbpaFUpv_Fm%3Dg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Datastore & Firestore Transaction

2018-10-11 Thread Rajesh Gupta
I am looking to make entry in both datastore and firestore.

Is there a transaction planned between the following
Firestore in Datastore mode & Firestore in Native mode.

Rajesh
*www.VeersoftSolutions.com *
*www.GainERP.com *
*Accounting/Inventory/Orders/Sales/Purchase on Google Cloud Platform and
Mobile*

-- 
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/CA%2BS7ija3SBXSsKjxOmm67BgHzddG1cLG0iq7TEhTcp1GnoNu-A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: App engine free quota

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

Your first link leads to the page for free offers, whereas the second is 
the pricing calculator for the paid tier. The two sets of information are 
somewhat difficult to use in the same time. Always Free Products do not 
cost money within defined limits. You should choose from the offerings 
present on that page. If you do so, you do not need worry about how costs 
are calculated, as you keep defined limits in mind. 

-- 
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/6a9cdbf9-1aea-408e-8abd-e8feb75b52aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Creating Proxies.

2018-10-11 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 
programming 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 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/51aee276-eac2-40e7-a8c6-d8bcb11813bf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Creating Proxies.

2018-10-11 Thread Jack Kinniburgh-Dickie
Hi All,

I wish to create proxies using GCS for sneaker websites. The video I have 
seen somebody do it in 
is https://www.youtube.com/watch?v=hpw7g3QD4v8=458s . He mentions a 
script, does anybody have this?

Thank you
Jack

-- 
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/494029d5-69a9-4167-9b98-e11b182214cb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] App engine free quota

2018-10-11 Thread Aditya Prakash
Hi,

https://cloud.google.com/free/ says that we get 28 instance hours per day 
for standard environment, however pricing page of app engine doesn't of any 
free quota of compute resource 
(hr/day) https://cloud.google.com/appengine/pricing. Pricing calculator 
says 0.00 USD for 1.1 instance per 
hour 
https://cloud.google.com/products/calculator/#id=db16ca73-2faa-4822-8215-5ef9c33b2ada
 
I guess pricing page trumps 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 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/f5c57f50-bdb4-479c-947d-e4b58963f85f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Clipping an image to work with MODIS

2018-10-11 Thread 'Aref Amiri (Cloud Platform Support)' via Google App Engine


Hi Suzan,

You have posted your message in the wrong group. This group mainly handles 
questions related to Google Cloud App Engine. You’d have to post your 
question in a group related to Google Earth Engine. Meanwhile, you can 
refer the Google Earth Engine site 
 which offers great 
information on Google Earth Engine. It also has a page on how to get help 
.

You can also join the following group which offers tutorial on Google Earth 
Engine: 
https://groups.google.com/forum/#!forum/geohackweek-google-earth-engine-tutorial

-- 
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/95ad95a4-fda1-4fae-a90d-62ff6efed05d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Spring Boot app fails to deploy to GAE flex (MVN)

2018-10-11 Thread Daniel Blazquez
SOLVED by manually increasing memory allocation [why did not GAE scale this 
resource?!?]

resources:
  cpu: 1
  memory_gb: 2
  disk_size_gb: 10

-- 
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/28ea73d1-faea-4c77-be6c-aac5b0d1ec0e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Spring Boot app fails to deploy to GAE flex (MVN)

2018-10-11 Thread Daniel Blazquez
*SOLVED by increasing memory allocation in app.yaml*

resources:
  cpu: 1
  memory_gb: 2
  disk_size_gb: 10


On Thursday, October 11, 2018 at 5:52:51 AM UTC-7, Daniel Blazquez wrote:
>
> Hi,
>
> my simple Spring Boot app works fine locally, and it worked during months 
> deployed to Google Cloud. But today it fails to deploy about 2 out of 3 
> attempts  (after around 15 minutes stuck in this part)
>
> [INFO] GCLOUD: Updating service [default] (this may take several 
> minutes)... 
> GCLOUD: ERROR: (gcloud.app.deploy) Error Response: [4] Your deployment has 
> failed to become healthy in the allotted time and therefore was rolled 
> back. If you believe this was an error, try adjusting the 
> 'app_start_timeout_sec' setting in the 'readiness_check' section.
>
> Things I tried:
>
>1. Creating a new Cloud project
>2. Updating Cloud: gcloud components update
>3. Disable health checks gcloud app update --no-split-health-check
>
> Related:
>
>- The times I get it running, app often becomes highly unresponsive, 
>throwing multiple 502 errors, and CPU reaching 100%
>
>
> Things I suspect could be wrong:
>
>1. *Something about health checks? In the logs I see the app starting, 
>but for some reason no traffic can reach it*
>2. *I have tried looking in the logs but I don't see anything helpful. 
>Any particular logs I should be looking at?*
>3. *Should I be worried about dependencies in my Maven file, if I know 
>I can run locally?*
>
>
> My app.yaml:
>
> runtime: java
> env: flex
>
> runtime_config:  # Optional
>   jdk: openjdk8
>
> manual_scaling:
>   instances: 1
>

-- 
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/0aa1b2b4-a822-405e-bbd2-851deff9928d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Having problems with final step with Google Course Builder Deployment

2018-10-11 Thread 'Jorge A (Google Cloud Support)' via Google App Engine
This seems to be an issue with how cygwin64 manages permissions. Here's a stack 
exchange thread 

 where 
one of the answers addresses this cygwin64 issue by changing windows acl 
for bash. 

On Thursday, October 11, 2018 at 8:52:51 AM UTC-4, Natasha Rajore wrote:
>
> Hi Julie,
>
> Thanks for your response. I am still facing issues. Getting the following 
> error:
>
> Removing GCB_ALLOW_STATIC_SERV set to ''
> Sourced as: './scripts/common.sh'
> Ensuring runtime folder 
> /home/user1/coursebuilder_resources_1_11_001/runtime
> Using GAE SDK 1.9.73 from 
> /home/user1/coursebuilder_resources_1_11_001/runtime/google_appengine
> ./scripts/common.sh: line 188: /usr/include/python2.7/pyconfig.h.tmp: 
> Permission denied
> /usr/bin/bash: Exit 1.
>
> Can you please provide steps on what should I do post this?
>
> Thanks,
> Natasha
>
>
> On Tuesday, October 9, 2018 at 3:06:54 AM UTC+5:30, Julie (cloud platform 
> support) wrote:
>>
>> To clarify, are you referring to the chmod command? This StackExchange 
>> post 
>> 
>>  
>> goes over equivalent windows commands that will allow you to modify 
>> permissions.
>>
>>
>>

-- 
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/a6a77518-68f3-4914-834e-b3849ee27309%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: dev_appserver in 1.9.76 switched import resolution from relative to absolute?

2018-10-11 Thread Ryan B
thanks for the link, amit! that issue definitely looks related. this 
problem still happens for me on cloud SDK 220 + app-engine-python 1.9.77, 
so i may be seeing a different variation of that issue, since most people 
there say 220 fixed it for them. i've added a comment.


On Thursday, October 11, 2018 at 9:31:52 AM UTC-7, Amit (Google Cloud 
Support) wrote:
>
> Hello Ryan
>
> What is the current Google Cloud SDK version you are using? As of now current 
> version  for Google 
> Cloud SDK is [220.0.0]. We had a known issue [1] on version [219.0.1] in 
> dev_appserver with app-engine-python [1.9.76] which should be resolved in 
> the current version where the version of app-engine-python is [1.9.77]. I 
> would recommend to update your SDK version using this [2] command and try 
> again. If you still having this issue after upgrade and believe this could 
> be a bug, please create an issue in issuetracker 
>  with details 
> description of your issue and provide the output of this [3] command so 
> that we know more about your SDK.
>
> [1] https://issuetracker.google.com/117145272
>
> [2] gcloud components update
>
> [3] gcloud info --anonymize
>
>
> On Wednesday, October 10, 2018 at 6:51:57 PM UTC-4, Ryan B wrote:
>>
>> fwiw, i've deployed at least one of the affected apps since 
>> app-engine-python 1.9.76 was released, and it's still working fine, which 
>> implies that the prod runtime isn't similarly affected. (i did that deploy 
>> with gcloud sdk 218, purely out of superstition, but i didn't really expect 
>> it to matter much one way or the other.)
>>
>> On Wednesday, October 10, 2018 at 3:50:02 PM UTC-7, Ryan B wrote:
>>>
>>> hi all! i'm debugging a dev_appserver problem that seems to have been 
>>> introduced in google cloud sdk 219 / app-engine-python 1.9.76: imports are 
>>> now all resolved as absolute instead of relative. does that sound familiar?
>>>
>>> for example, i use the future library  in 
>>> many of my apps, which has this line of code 
>>> 
>>> :
>>>
>>> import test
>>>
>>> on gcloud sdk 218 / app-engine-python 1.9.75 and before, this worked 
>>> fine. it resolved the import relative to the containing source file, in 
>>> local/lib/python2.7/site-packages/future/... , a virtualenv, which i 
>>> set up with vendor 
>>> .
>>>  
>>> on 1.9.76, it changed to resolving absolute instead, so it imports an 
>>> unrelated test/ package directory in the top level of my app, which 
>>> obviously won't work, and the app breaks.
>>>
>>> i couldn't find any mention of this in release notes or docs. was this 
>>> expected? any recommendations for handling it? thanks in advance!
>>>
>>>
>>>

-- 
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/043b9c9d-f2f4-4aec-91bb-e94dc9d090d5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: dev_appserver in 1.9.76 switched import resolution from relative to absolute?

2018-10-11 Thread 'Amit (Google Cloud Support)' via Google App Engine


Hello Ryan

What is the current Google Cloud SDK version you are using? As of now current 
version  for Google Cloud 
SDK is [220.0.0]. We had a known issue [1] on version [219.0.1] in 
dev_appserver with app-engine-python [1.9.76] which should be resolved in 
the current version where the version of app-engine-python is [1.9.77]. I 
would recommend to update your SDK version using this [2] command and try 
again. If you still having this issue after upgrade and believe this could 
be a bug, please create an issue in issuetracker 
 with details 
description of your issue and provide the output of this [3] command so 
that we know more about your SDK.

[1] https://issuetracker.google.com/117145272

[2] gcloud components update

[3] gcloud info --anonymize


On Wednesday, October 10, 2018 at 6:51:57 PM UTC-4, Ryan B wrote:
>
> fwiw, i've deployed at least one of the affected apps since 
> app-engine-python 1.9.76 was released, and it's still working fine, which 
> implies that the prod runtime isn't similarly affected. (i did that deploy 
> with gcloud sdk 218, purely out of superstition, but i didn't really expect 
> it to matter much one way or the other.)
>
> On Wednesday, October 10, 2018 at 3:50:02 PM UTC-7, Ryan B wrote:
>>
>> hi all! i'm debugging a dev_appserver problem that seems to have been 
>> introduced in google cloud sdk 219 / app-engine-python 1.9.76: imports are 
>> now all resolved as absolute instead of relative. does that sound familiar?
>>
>> for example, i use the future library  in 
>> many of my apps, which has this line of code 
>> 
>> :
>>
>> import test
>>
>> on gcloud sdk 218 / app-engine-python 1.9.75 and before, this worked 
>> fine. it resolved the import relative to the containing source file, in 
>> local/lib/python2.7/site-packages/future/... , a virtualenv, which i set 
>> up with vendor 
>> .
>>  
>> on 1.9.76, it changed to resolving absolute instead, so it imports an 
>> unrelated test/ package directory in the top level of my app, which 
>> obviously won't work, and the app breaks.
>>
>> i couldn't find any mention of this in release notes or docs. was this 
>> expected? any recommendations for handling it? thanks in advance!
>>
>>
>>

-- 
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/c40f172f-a502-4e98-8b84-08033afb2545%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] IAM permission for cloudbuild from a different project

2018-10-11 Thread Prashanth Acharya
Hi,
   I have a source code repository in Project 'A'
   I want to use it in Project 'B's Cloud build trigger(cloudbuild.yaml in 
repo)
   Which user/role do i need to make this work?

-- 
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/d1e58e3c-6ef1-49ef-af55-7270097cf02c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Having problems with final step with Google Course Builder Deployment

2018-10-11 Thread Natasha Rajore
Hi Julie,

Thanks for your response. I am still facing issues. Getting the following 
error:

Removing GCB_ALLOW_STATIC_SERV set to ''
Sourced as: './scripts/common.sh'
Ensuring runtime folder /home/user1/coursebuilder_resources_1_11_001/runtime
Using GAE SDK 1.9.73 from 
/home/user1/coursebuilder_resources_1_11_001/runtime/google_appengine
./scripts/common.sh: line 188: /usr/include/python2.7/pyconfig.h.tmp: 
Permission denied
/usr/bin/bash: Exit 1.

Can you please provide steps on what should I do post this?

Thanks,
Natasha


On Tuesday, October 9, 2018 at 3:06:54 AM UTC+5:30, Julie (cloud platform 
support) wrote:
>
> To clarify, are you referring to the chmod command? This StackExchange 
> post 
> 
>  
> goes over equivalent windows commands that will allow you to modify 
> permissions.
>
>
>

-- 
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/1c5b5edd-452d-4aad-addf-7d3d5886fe87%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Spring Boot app fails to deploy to GAE flex (MVN)

2018-10-11 Thread Daniel Blazquez
Hi,

my simple Spring Boot app works fine locally, and it worked during months 
deployed to Google Cloud. But today it fails to deploy about 2 out of 3 
attempts  (after around 15 minutes stuck in this part)

[INFO] GCLOUD: Updating service [default] (this may take several minutes)... 
GCLOUD: ERROR: (gcloud.app.deploy) Error Response: [4] Your deployment has 
failed to become healthy in the allotted time and therefore was rolled 
back. If you believe this was an error, try adjusting the 
'app_start_timeout_sec' setting in the 'readiness_check' section.

Things I tried:

   1. Creating a new Cloud project
   2. Updating Cloud: gcloud components update
   3. Disable health checks gcloud app update --no-split-health-check

Related:

   - The times I get it running, app often becomes highly unresponsive, 
   throwing multiple 502 errors, and CPU reaching 100%


Things I suspect could be wrong:

   1. *Something about health checks? In the logs I see the app starting, 
   but for some reason no traffic can reach it*
   2. *I have tried looking in the logs but I don't see anything helpful. 
   Any particular logs I should be looking at?*
   3. *Should I be worried about dependencies in my Maven file, if I know I 
   can run locally?*


My app.yaml:

runtime: java
env: flex

runtime_config:  # Optional
  jdk: openjdk8

manual_scaling:
  instances: 1

-- 
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/d158383a-bef7-4c47-9882-ccf6b3588226%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Clipping an image to work with MODIS

2018-10-11 Thread Suzan Aranda
Hello everybody: I am new to Google Engine and I ma trying to get data from 
MODIS. I am having problems to get the data just for an specific city. It 
seems that for MODIS the Polygon command is not working. Does anyone have a 
tutorial who can send me or give me a hint? 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 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/a1692fdd-39c0-4e7d-ab6f-5ba919fa3f10%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] What are the steps for creating new SSL Certificate and deploy on app engine - java

2018-10-11 Thread Vitaly Tarasiuk
Hi,

I've bought new ssl certificate from Go Daddy ,

Now I need to do some steps before:  like sign CSR.

following this like:

https://stackoverflow.com/questions/11321094/how-to-set-up-ssl-on-google-app-engine-custom-domain-name

I try to sign SCR but unfortunately it doesn't work


1.What it the right way to do so..?

2.After I have sign CSR -> i send it to go daddy and they give me back the
sign certificate

what i should do after ??




thanks a lot

-- 
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/CAMLUVQruDrM4gcEOu%3D_TkiLxVtYR6VQ5ybfiMQ%2ByOy8dzjiniw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Protecting backend Services with a Firewall

2018-10-11 Thread Joshua Fox
We have a frontend service (Default Service [Module]) and several backend
Services that should only be accessed  by that frontend service, and not
from outside  the  GCP, e.g. from a browser.

What is the recommended firewall approach to that?

One of these?

   - GCP Firewall rules that only allow access to the backend Service from
   the  given frontend Service?
  - Not sure that per-Service controlis supported by  this Firewall.
   - GCP Firewall rules that  allow outside access to the entire Project
   only through Port 80/443; the backend Services use a *different* port so
   that they are inaccessible  from the outside?
  -  This approach is commonly used with GKE.
   - Something with VPCs?


-

-- 


*JOSHUA FOX*
Director, Software Architecture | Freightos



*T (Israel): *+972-545691165 | *T (US)*:  +1-3123400953
Smooth shipping.

-- 
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/CAD%3DB7cNZph0Kon355b8Kzrb__UhDo5Qs1VW%2BL%3DzC9yyUVN18SA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


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

2018-10-11 Thread dgang
Hi,

Thanks for your update:
I don't know why the Google library is doing this, for its own logging 
purposes or some other reason. I don't have access to source code. The one 
question is -- why is Google's AppEngine  using up our GetVersions quota?

Thanks,
David

On Wednesday, October 10, 2018 at 12:20:29 AM UTC+3, Mohammad I (Cloud 
Platform Support) wrote:
>
> Hello David,
>
> Thank you for letting us know your concern. To investigate the issue 
> further and inspect the StackTrace, we need the Project Id and preferably 
> the Application Id (for Google App Engine). You can provide the information 
> by creating a new private issue in the Public Issue Tracker 
> . It will be 
> appreciated if you provide further info how you came to the conclusion that 
> Google Cloud is calling the API, modules.getVersions() for internal logging.
> As you indicated you are a paid customer and in case you have paid 
> support, you can go to the Google Cloud Platform support 
>  and select the 
> Console Support Center to create a case instead of creating a private issue 
> in the Public Issue Tracker.
>
>
> On Sunday, October 7, 2018 at 7:01:28 AM UTC-4, dg...@freightos.com wrote:
>>
>> Hi,
>>
>> I am a paid customer.
>>
>> Google is making these calls to GetVersions() and not us. Please look at 
>> the stack trace.
>>
>> Apparently Google is doing these API calls as part of some sort of 
>> internal logging.
>>
>> Why is Google calling GetVersions() so much -- it seems to be consuming 
>> our quota.
>>
>> On Saturday, October 6, 2018 at 12:25:24 AM UTC+3, Mohammad I (Cloud 
>> Platform Support) wrote:
>>>
>>> Hello dg...@freightos.com,
>>>
>>> I have reproduced the issue that you have been experiencing and found 
>>> that your code calling the modules.GetVersions() more then 86,400 times 
>>> which is the daily safety limit quota for the Modules - Get Versions Calls. 
>>> You can see quotas for your project by clicking here 
>>> . The quotas 
>>> for Modules - Get Versions Calls  86,400 per day seems reasonable as it 
>>> is equivalent to call modules.GetVersions() each second for the entire 
>>> day. However if you are a paid customer and believe daily quota for Modules 
>>> - Get Versions Calls does not meet your requirement, please create a 
>>> feature request issue in the issue tracker 
>>> . 
>>>
>>>
>>> On Thursday, October 4, 2018 at 10:17:10 AM UTC-4, dg...@freightos.com 
>>> wrote:

 I recently got an error in appengine:

 *com.google.apphosting.api.ApiProxy$OverQuotaException: The API call 
 modules.GetVersions() required more quota than is available. The API call 
 modules.GetVersions() required more quota than is available.*
 com.google.apphosting.api.ApiProxy$OverQuotaException: The API call 
 modules.GetVersions() required more quota than is available. The API call 
 modules.GetVersions() required more quota than is available.
 com.google.apphosting.api.ApiProxy$OverQuotaException: The API call 
 modules.GetVersions() required more quota than is available.
 at 
 com.google.apphosting.utils.runtime.ApiProxyUtils.convertApiError(ApiProxyUtils.java:54)
 at 
 com.google.apphosting.utils.runtime.ApiProxyUtils.getApiError(ApiProxyUtils.java:184)
 at 
 com.google.apphosting.runtime.ApiProxyImpl$AsyncApiFuture.success(ApiProxyImpl.java:588)
 at 
 com.google.apphosting.runtime.ApiProxyImpl$AsyncApiFuture.success(ApiProxyImpl.java:484)
 at 
 com.google.apphosting.runtime.http.HttpApiHostClient.receivedResponse(HttpApiHostClient.java:274)
 at 
 com.google.apphosting.runtime.http.JettyHttpApiHostClient$Listener.onComplete(JettyHttpApiHostClient.java:158)
 at 
 org.eclipse.jetty.client.ResponseNotifier.notifyComplete(ResponseNotifier.java:193)
 at 
 org.eclipse.jetty.client.ResponseNotifier.notifyComplete(ResponseNotifier.java:185)
 at 
 org.eclipse.jetty.client.HttpReceiver.terminateResponse(HttpReceiver.java:458)
 at 
 org.eclipse.jetty.client.HttpReceiver.responseSuccess(HttpReceiver.java:405)
 at 
 org.eclipse.jetty.client.http.HttpReceiverOverHTTP.messageComplete(HttpReceiverOverHTTP.java:277)
 at 
 org.eclipse.jetty.http.HttpParser.handleContentMessage(HttpParser.java:601)
 at org.eclipse.jetty.http.HttpParser.parseContent(HttpParser.java:1545)
 at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:1369)
 at 
 org.eclipse.jetty.client.http.HttpReceiverOverHTTP.parse(HttpReceiverOverHTTP.java:159)
 at 
 org.eclipse.jetty.client.http.HttpReceiverOverHTTP.process(HttpReceiverOverHTTP.java:120)
 at 
 org.eclipse.jetty.client.http.HttpReceiverOverHTTP.receive(HttpReceiverOverHTTP.java:70)
 at