[google-appengine] Re: How to download data from my datastore to the local machine

2017-02-27 Thread 'Nicola Spreafico' via Google App Engine
The appcfg client cannot be used anymore because it use a username/password 
authentication, which has been deprecated in favor of oauth2 (and not 
supported by the client itself).
About 1 year ago I had a very very long ticket with google support (issue 
number #08922843) where we analyzed all this situation, here a couple of 
comments:

We ended up writing a very simple remote API handler (both server and 
client) in order to reproduce the same need as you.
You need to deploy online a version with remote_api enabled and the write a 
simple client which will download the data (for all the kinds you need) 
from online and load it inside the local dev-server

In my case the client was written in Java, but because the remote_api 
exists in python I'm very confident that you can build a client of your own.
The main thing to take care is (this example is for java language, i think 
a python counterpart exists as well)
if ( ... remote api connected to development server ...) {
options.useDevelopmentServerCredential();
} else {
options.useApplicationDefaultCredential();
}

When you need to connect with the online environment, the 
application-default is used which need to be configured using GCloud SDK

https://cloud.google.com/sdk/gcloud/reference/beta/auth/application-default/login




Il giorno lunedì 27 febbraio 2017 21:56:47 UTC+1, Delyan Spasov ha scritto:
>
> I've wasted lot of time trying to download the datatstore to my local 
> machine. Nothing works!
>
> The appcfg download_data doesn't seem to work any more. There is nothing 
> about it in the new docs. It's not even mentioned even as deprecation 
> notice.
>
> It is still there in the appcfg. But it doesn't work. 
> I've tried to upload some old data. It doesn't work.
> I've tried the remote_api. Tones of errors.
>
> They all used to work. What happened?
> How to work with my database on the local machine?  
>

-- 
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/eb89bebe-305b-4f04-a600-69d59e234a7b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: "Found more than 100 URLMap entries"

2017-02-27 Thread 'Nicholas (Google Cloud Support)' via Google App Engine
Hey there,

Thanks for providing me with your *appengine-web.xml* and *web.xml*.  At 
the moment, the platform limits the number of *URLMap* handlers to *100*. 
 This can be found in the *appinfo.py* file in your own gcloud SDK 
installation (
*/platform/google_appengine/google/appengine/api/appinfo.py*
 
on line *2089*).  The definition of *URLMap* can be found in the same find 
with a helpful description on line *917*.

When it comes to Java applications, filter mappings, servlet mappings are 
the main contributors to URLMap handlers.  Basically, any entry that maps a 
URL to an endpoint will be a URLMap.  Looking at some of your servlet 
mappings, you may be able to save some maps in the following ways

   - Break down the application into many smaller services.  Your REST API 
   servlet(s) for instance could be deploy as a separate service, thus taking 
   advantage of the subdomain URL-naming scheme of App Engine services like 
   api.your-domain.com/v1/useful-method.  Essentially, the change requires 
   that part of the URL be moved from the path to the subdomain.
   - Use a CDN or Cloud Storage to serve static resources.  In your 
   appengine-web.xml, I could see several .  Cloud Storage is an 
   excellent service for serving static resources.
   - In some cases, a single servlet could serve related paths such as 
   /_ah/*.  This example can save you from having 3 single endpoints mappings 
   for /_ah/start, /_ah/health, /_ah/stop.
   
I hope this addresses your questions and helps you trim down some URL 
mappings.

On Friday, February 24, 2017 at 4:02:13 PM UTC-5, Nicholas (Google Cloud 
Support) wrote:
>
> There does not seem to be any explicit documentation about the URLMap 
> limitations for GAE nor a breakdown of which XML elements count towards 
> this limit.  The most relevant documentation I could find is the HTTP/S 
> load balancer documentation about URL Maps 
>  and 
> the URLMap resource definition 
> .  These 
> are documented in the context of the a load balancer and not an App Engine 
> application.  The load balancer documentation does not describe which XML 
> elements , , etc. nor which app.yaml 
> handlers count as a URLMap.
>
> I can't define what constitutes a URLMap until I dig into this a little 
> deeper.  I suspect this will lead to feedback for our documentation team. 
>  For the time being, perhaps we can help identify opportunities to reduce 
> the number of maps you have using more comprehensive regular expressions 
> and such.  If sensitive and not redacted, feel free to reply privately to 
> me here with your web.xml and I'll see what I can do to help.
>
> On Thursday, February 23, 2017 at 4:53:29 AM UTC-5, Joshua Fox wrote:
>>
>> Where can I find documentation on URLMap count, as reflected in this 
>> error in deployment to GAE?
>>
>>   "app.yaml... Found more than 100 URLMap entries in application 
>> configuration"
>>
>> What is included in the URLMap count?
>>
>> Which elements in *web.xml *are included? *servlet-mapping*, 
>> *security-constraint*, *filter-mapping*, or something else? 
>>
>> Which elements in *appengine-web.xml ? *
>>
>> For some reason, removing * *from 
>> *appengine-web.xml *actually allows deployment for us. Does that path 
>> count as a single URLMap? Or as one per static  file? Per JSP?
>>
>

-- 
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/b08cff4d-b9f6-4a7b-b42a-0adc3eda0d51%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] How to download data from my datastore to the local machine

2017-02-27 Thread Delyan Spasov
I've wasted lot of time trying to download the datatstore to my local 
machine. Nothing works!

The appcfg download_data doesn't seem to work any more. There is nothing 
about it in the new docs. It's not even mentioned even as deprecation 
notice.

It is still there in the appcfg. But it doesn't work. 
I've tried to upload some old data. It doesn't work.
I've tried the remote_api. Tones of errors.

They all used to work. What happened?
How to work with my database on the local machine?  

-- 
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/8001de68-02d9-4710-9d1f-d90ea04684d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Issues with Google Cloud Storage (GCS) client in GAE standard dev environment

2017-02-27 Thread 'Les Vogel' via Google App Engine
I've written several issues about this today and started several email
threads, I'll get back to you when I know more.

On Mon, Feb 27, 2017 at 12:10 PM, Paul Mazzuca 
wrote:

> That's unfortunate. Will it ever be supported, and if so when?
>
> On Mon, Feb 27, 2017 at 11:58 AM, 'Les Vogel' via Google App Engine <
> google-appengine@googlegroups.com> wrote:
>
>> Hi Paul,
>>
>> Quickly looking at the Github Repository
>>  for the
>> plugin suggests that it hasn't yet been updated to work with the Cloud
>> SDK plugin
>> .
>> I would suggest you continue to use the Java SDK plugin
>>  for
>> now.
>>
>> Regards,
>>
>> Les
>>
>> On Mon, Feb 27, 2017 at 9:57 AM, Paul Mazzuca 
>> wrote:
>>
>>> Yes.
>>>
>>> On Mon, Feb 27, 2017 at 9:39 AM, 'Adam (Cloud Platform Support)' via
>>> Google App Engine  wrote:
>>>
 The current appengine-maven-plugin version is 1.2.0
 ,
 not 1.1.0-beta1. Do you still experience the same issue on that version?

 On Monday, February 27, 2017 at 11:25:32 AM UTC-5, Paul Mazzuca wrote:
>
> After updating to the new appengine-maven-plugin (1.1.0-beta) with groupId
> com.google.cloud.tools, I am unable to get the GCS client to work in dev
> mode.  I followed the short documentation @
> https://cloud.google.com/appengine/docs/standard/java/goog
> lecloudstorageclient/setting-up-cloud-storage, however have been
> unsuccessful.  This previously worked in the older appengine-maven-plugin.
>
> The error I receive:
>
> [java.io.IOException: java.lang.NoSuchMethodException:
> com.google.appengine.tools.development.devappserver2.DevAppS
> erver2Delegate.getService(java.lang.String)]
>
>
> This is also mentioned on GitHub https://github.com/G
> oogleCloudPlatform/app-maven-plugin/issues/106.
>
>
> Has anyone been able to get gcs to work using the new mvn appengine
> plugin?
>
>
> Is it true as the documentation suggests that "there is no local
> emulation of gcs"?  I thought the previous plugin supported local 
> emulation
> (though I might not have realized it was reaching out to Internet)
>
>
> --
 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/to
 pic/google-appengine/-nUPSAL41Bs/unsubscribe.
 To unsubscribe from this group and all its topics, 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/ms
 gid/google-appengine/73a1c103-24b1-42ea-a9b4-2c2da23055f9%40
 googlegroups.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/ms
>>> gid/google-appengine/CAJpXATQ63Uy_o4s1xwjRc85ohXfYPjdKFv1nw0
>>> g1zmPxUkpdAA%40mail.gmail.com
>>> 
>>> .
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>>
>>
>> *  •  **Les Vogel*
>> *  •  *Cloud Developer Relations
>> *  •  *l...@google.com
>> *  •  *+1-4 <%2B1-650-338-7103>08-676-7023
>>
>>
>> --
>> 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/to
>> pic/google-appengine/-nUPSAL41Bs/unsubscribe.
>> To unsubscribe from this group and all its topics, 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 

Re: [google-appengine] Re: Issues with Google Cloud Storage (GCS) client in GAE standard dev environment

2017-02-27 Thread Paul Mazzuca
That's unfortunate. Will it ever be supported, and if so when?

On Mon, Feb 27, 2017 at 11:58 AM, 'Les Vogel' via Google App Engine <
google-appengine@googlegroups.com> wrote:

> Hi Paul,
>
> Quickly looking at the Github Repository
>  for the
> plugin suggests that it hasn't yet been updated to work with the Cloud
> SDK plugin
> .
> I would suggest you continue to use the Java SDK plugin
>  for
> now.
>
> Regards,
>
> Les
>
> On Mon, Feb 27, 2017 at 9:57 AM, Paul Mazzuca 
> wrote:
>
>> Yes.
>>
>> On Mon, Feb 27, 2017 at 9:39 AM, 'Adam (Cloud Platform Support)' via
>> Google App Engine  wrote:
>>
>>> The current appengine-maven-plugin version is 1.2.0
>>> ,
>>> not 1.1.0-beta1. Do you still experience the same issue on that version?
>>>
>>> On Monday, February 27, 2017 at 11:25:32 AM UTC-5, Paul Mazzuca wrote:

 After updating to the new appengine-maven-plugin (1.1.0-beta) with groupId
 com.google.cloud.tools, I am unable to get the GCS client to work in dev
 mode.  I followed the short documentation @
 https://cloud.google.com/appengine/docs/standard/java/goog
 lecloudstorageclient/setting-up-cloud-storage, however have been
 unsuccessful.  This previously worked in the older appengine-maven-plugin.

 The error I receive:

 [java.io.IOException: java.lang.NoSuchMethodException:
 com.google.appengine.tools.development.devappserver2.DevAppS
 erver2Delegate.getService(java.lang.String)]


 This is also mentioned on GitHub https://github.com/G
 oogleCloudPlatform/app-maven-plugin/issues/106.


 Has anyone been able to get gcs to work using the new mvn appengine
 plugin?


 Is it true as the documentation suggests that "there is no local
 emulation of gcs"?  I thought the previous plugin supported local emulation
 (though I might not have realized it was reaching out to Internet)


 --
>>> 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/to
>>> pic/google-appengine/-nUPSAL41Bs/unsubscribe.
>>> To unsubscribe from this group and all its topics, 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/ms
>>> gid/google-appengine/73a1c103-24b1-42ea-a9b4-2c2da23055f9%40
>>> googlegroups.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/ms
>> gid/google-appengine/CAJpXATQ63Uy_o4s1xwjRc85ohXfYPjdKFv1nw0
>> g1zmPxUkpdAA%40mail.gmail.com
>> 
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
>
>
> *  •  **Les Vogel*
> *  •  *Cloud Developer Relations
> *  •  *l...@google.com
> *  •  *+1-4 <%2B1-650-338-7103>08-676-7023
>
>
> --
> 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/-nUPSAL41Bs/unsubscribe.
> To unsubscribe from this group and all its topics, 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/CAGB1p5i1PtLEcMzk%2B24SBV8ojBq%
> 2BrC3BTdwovTWFbYX4fvUx6g%40mail.gmail.com
> 
> .
>
> For more options, visit 

[google-appengine] Re: Help troubleshooting running under the development server

2017-02-27 Thread Kevin Wise
@Adam the issue has been created: 
https://code.google.com/p/googleappengine/issues/detail?id=13587
Let me know if you need anything else

-- 
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/71d4d22f-4803-401d-be60-8093a566ba6b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Issues with Google Cloud Storage (GCS) client in GAE standard dev environment

2017-02-27 Thread 'Les Vogel' via Google App Engine
Hi Paul,

Quickly looking at the Github Repository
 for the
plugin suggests that it hasn't yet been updated to work with the Cloud SDK
plugin
.
I would suggest you continue to use the Java SDK plugin
 for now.

Regards,

Les

On Mon, Feb 27, 2017 at 9:57 AM, Paul Mazzuca 
wrote:

> Yes.
>
> On Mon, Feb 27, 2017 at 9:39 AM, 'Adam (Cloud Platform Support)' via
> Google App Engine  wrote:
>
>> The current appengine-maven-plugin version is 1.2.0
>> , not
>> 1.1.0-beta1. Do you still experience the same issue on that version?
>>
>> On Monday, February 27, 2017 at 11:25:32 AM UTC-5, Paul Mazzuca wrote:
>>>
>>> After updating to the new appengine-maven-plugin (1.1.0-beta) with groupId
>>> com.google.cloud.tools, I am unable to get the GCS client to work in dev
>>> mode.  I followed the short documentation @ https://cloud.google.com/app
>>> engine/docs/standard/java/googlecloudstorageclient/setting-u
>>> p-cloud-storage, however have been unsuccessful.  This previously
>>> worked in the older appengine-maven-plugin.
>>>
>>> The error I receive:
>>>
>>> [java.io.IOException: java.lang.NoSuchMethodException:
>>> com.google.appengine.tools.development.devappserver2.DevAppS
>>> erver2Delegate.getService(java.lang.String)]
>>>
>>>
>>> This is also mentioned on GitHub https://github.com/G
>>> oogleCloudPlatform/app-maven-plugin/issues/106.
>>>
>>>
>>> Has anyone been able to get gcs to work using the new mvn appengine
>>> plugin?
>>>
>>>
>>> Is it true as the documentation suggests that "there is no local
>>> emulation of gcs"?  I thought the previous plugin supported local emulation
>>> (though I might not have realized it was reaching out to Internet)
>>>
>>>
>>> --
>> 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/to
>> pic/google-appengine/-nUPSAL41Bs/unsubscribe.
>> To unsubscribe from this group and all its topics, 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/ms
>> gid/google-appengine/73a1c103-24b1-42ea-a9b4-2c2da23055f9%
>> 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/CAJpXATQ63Uy_o4s1xwjRc85ohXfYPjdKFv1nw0g1zm
> PxUkpdAA%40mail.gmail.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 


*  •  **Les Vogel*
*  •  *Cloud Developer Relations
*  •  *l...@google.com
*  •  *+1-4 <%2B1-650-338-7103>08-676-7023

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


Re: [google-appengine] Re: Issues with Google Cloud Storage (GCS) client in GAE standard dev environment

2017-02-27 Thread Paul Mazzuca
Yes.

On Mon, Feb 27, 2017 at 9:39 AM, 'Adam (Cloud Platform Support)' via Google
App Engine  wrote:

> The current appengine-maven-plugin version is 1.2.0
> , not
> 1.1.0-beta1. Do you still experience the same issue on that version?
>
> On Monday, February 27, 2017 at 11:25:32 AM UTC-5, Paul Mazzuca wrote:
>>
>> After updating to the new appengine-maven-plugin (1.1.0-beta) with groupId
>> com.google.cloud.tools, I am unable to get the GCS client to work in dev
>> mode.  I followed the short documentation @ https://cloud.google.com/app
>> engine/docs/standard/java/googlecloudstorageclient/setting-
>> up-cloud-storage, however have been unsuccessful.  This previously
>> worked in the older appengine-maven-plugin.
>>
>> The error I receive:
>>
>> [java.io.IOException: java.lang.NoSuchMethodException:
>> com.google.appengine.tools.development.devappserver2.DevAppS
>> erver2Delegate.getService(java.lang.String)]
>>
>>
>> This is also mentioned on GitHub https://github.com/G
>> oogleCloudPlatform/app-maven-plugin/issues/106.
>>
>>
>> Has anyone been able to get gcs to work using the new mvn appengine
>> plugin?
>>
>>
>> Is it true as the documentation suggests that "there is no local
>> emulation of gcs"?  I thought the previous plugin supported local emulation
>> (though I might not have realized it was reaching out to Internet)
>>
>>
>> --
> 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/-nUPSAL41Bs/unsubscribe.
> To unsubscribe from this group and all its topics, 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/73a1c103-24b1-42ea-a9b4-
> 2c2da23055f9%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/CAJpXATQ63Uy_o4s1xwjRc85ohXfYPjdKFv1nw0g1zmPxUkpdAA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Issues with Google Cloud Storage (GCS) client in GAE standard dev environment

2017-02-27 Thread 'Adam (Cloud Platform Support)' via Google App Engine
The current appengine-maven-plugin version is 1.2.0 
, not 
1.1.0-beta1. Do you still experience the same issue on that version?

On Monday, February 27, 2017 at 11:25:32 AM UTC-5, Paul Mazzuca wrote:
>
> After updating to the new appengine-maven-plugin (1.1.0-beta) with groupId 
> com.google.cloud.tools, I am unable to get the GCS client to work in dev 
> mode.  I followed the short documentation @ 
> https://cloud.google.com/appengine/docs/standard/java/googlecloudstorageclient/setting-up-cloud-storage,
>  
> however have been unsuccessful.  This previously worked in the older 
> appengine-maven-plugin.
>
> The error I receive:
>
> [java.io.IOException: java.lang.NoSuchMethodException: 
> com.google.appengine.tools.development.devappserver2.DevAppServer2Delegate.getService(java.lang.String)]
>
>
> This is also mentioned on GitHub 
> https://github.com/GoogleCloudPlatform/app-maven-plugin/issues/106.  
>
>
> Has anyone been able to get gcs to work using the new mvn appengine plugin?
>
>
> Is it true as the documentation suggests that "there is no local emulation 
> of gcs"?  I thought the previous plugin supported local emulation (though I 
> might not have realized it was reaching out to Internet)
>
>
>

-- 
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/73a1c103-24b1-42ea-a9b4-2c2da23055f9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Daily spending limit doesn't work

2017-02-27 Thread 'George (Cloud Platform Support)' via Google App Engine


The current forum is meant for general questions related to the Google App 
Engine service.

For your particular problem, contacting the billing department via the 
Google Cloud Platform Billing Support form 
 will 
secure speedy and targeted 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/2b8befbf-5ebc-45b6-b439-31bb63197949%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Custom domain redirecting to appspot URL

2017-02-27 Thread 'Josh Moore' via Google App Engine
This thread is the best place for the most up to date information on this
issue right now and we'll update once we have a fix fully rolled out.

On Mon, Feb 27, 2017 at 6:32 AM, Sean Lynch  wrote:

> The "Before you Begin" appears to no longer mention anything regarding the
> whitelisting requirement.  We attempted to migrate our site from GoDaddy to
> App Engine but had to abort due to the redirect issue.  Where is best place
> to subscribe to know when this has been resolved.  This thread?
>
>
> On Tuesday, January 31, 2017 at 5:54:03 PM UTC-5, Alex (Cloud Platform
> Support) wrote:
>>
>> Hi Himanshu,
>>
>> As your application is hosted on a GAE Flexible environment instance
>> (since redirected URL includes *.appspot-preview.com), custom domains
>> need to be whitelisted as mentioned in this Before you Begin section
>> .
>> In the third point, it is possible to whitelist the domains by filling out
>> this Google contact form
>> .
>> However, as this form is currently unavailable, you will be contacted by
>> email shortly to provide additional information regarding your project.
>>
> --
> 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/bfed6e96-aef4-4162-96bc-
> 19ea8a0744fa%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 

Josh Moore |  Cloud Solutions Engineer |  joshu...@google.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 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/CAOvpJmXXsVQ7PASHuTrq%3DDuKYyJg6J%2BX%2BTfciNt5goD444jZWw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Issues with Google Cloud Storage (GCS) client in GAE standard dev environment

2017-02-27 Thread Paul Mazzuca
After updating to the new appengine-maven-plugin (1.1.0-beta) with groupId 
com.google.cloud.tools, I am unable to get the GCS client to work in dev 
mode.  I followed the short documentation 
@ 
https://cloud.google.com/appengine/docs/standard/java/googlecloudstorageclient/setting-up-cloud-storage,
 
however have been unsuccessful.  This previously worked in the older 
appengine-maven-plugin.

The error I receive:

[java.io.IOException: java.lang.NoSuchMethodException: 
com.google.appengine.tools.development.devappserver2.DevAppServer2Delegate.getService(java.lang.String)]


This is also mentioned 
on GitHub https://github.com/GoogleCloudPlatform/app-maven-plugin/issues/106. 
 


Has anyone been able to get gcs to work using the new mvn appengine plugin?


Is it true as the documentation suggests that "there is no local emulation 
of gcs"?  I thought the previous plugin supported local emulation (though I 
might not have realized it was reaching out to Internet)


-- 
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/70a2063b-f3af-4fc2-ad7e-3956ccf50e65%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Which library for Non linear Conjugate Gradient on GAE for python?

2017-02-27 Thread 'Nick (Cloud Platform Support)' via Google App Engine
Hey Sumanta,

It's correct to say that the App Engine Standard Environment 
 for python 
doesn't support modules based on C code. just go head and write the non-linear 
CG algorithm 
 in pure 
python and attempt to run it, but there are two things to keep in mind:

* It seems you'd have to write it. I searched a bit and couldn't find any 
pre-made code for this.

* scipy / numpy will be much faster.

I recommend you either offload these computation problems to a Compute 
Engine  instance (possibly of micro 
instance class) or deploy an App Engine Flexible Environment 
 app where the 
Dockerfile  uses pip 
 to install your requirements.txt 
, containing the 
dependencies, so that when the app is deployed, you have numpy and scipy. 

You can also find sample apps 

 
which install numpy and scipy in our github "python-docs-samples" repo 
(they're under "scipy" and "numpy").

Cheers,

Nick
Cloud Platform Community Support

On Sunday, February 26, 2017 at 11:42:08 AM UTC-5, Sumanta Bhowmik wrote:
>
>  I do not want to write a Non linear CG implementation on my own. As far 
> as I know, GAE(python) supports numpy but does not support scipy(which has 
> optimization). I did not come across a pure python implementation on the 
> net. But I am sure many people would have had similar requirements. Is 
> there some library that I can use on GAE?
>

-- 
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/737d12bc-fc4c-4b73-bda5-0f12bd984f5f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Any GAE EU region changes going on we should be aware of?

2017-02-27 Thread Kristof Degros

Same here

I doublechecked my code as I made some changes, The dashboard shows 
yesterday one of the apps that I have, had 12gb traffic ... While I can 
browse through the logs with 2 refreshes
The dashboard is also acting up, today I already have 83 hours billed while 
only during 30 minutes a 2nd F1 instance was running if you look at the 
graph. So something is really up


Yesterday on one app I had 5 instances spin up, while I never have gone 
above 3 instances and I checked the logs and I had normal traffic. Nothing 
special, the usual traffic. I am using F1 instances
and in general my costs are around 0,0 to 0,20€ a day. Ever since 14th of 
Februaru I have unexplainable restarts, some 500 errors that I can not even 
explain. It is getting a bit crazy

I really wish these things get resolved quickly, cause I am starting to 
loose clients here



On Thursday, February 16, 2017 at 11:19:13 PM UTC+1, Linus Larsen wrote:
>
> Last couple of days our app has started to behave strange, seems like our 
> instances are shut down very rapidly. Our low traffic default instance 
> could easily manage a whole day with just a few instances, until a couple 
> of days ago. Now it starts around 100 instances a day for no apparent 
> reason. A cron job is running at every half an hour, which should keep 1 
> instance alive all the time (or at least it used too), but now almost every 
> of these requests fires up a new instance indicating that there was no 
> instance running at all. 
>
> Now, has anyone else noticing more spawning instances than before? 
> It would be interesting to know why instances are shut down.
>  
>
>  
>
>
>
>
>
>
>

-- 
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/536156da-3892-4c1a-8317-e73edfb6537d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Custom domain redirecting to appspot URL

2017-02-27 Thread Sean Lynch
The "Before you Begin" appears to no longer mention anything regarding the 
whitelisting requirement.  We attempted to migrate our site from GoDaddy to 
App Engine but had to abort due to the redirect issue.  Where is best place 
to subscribe to know when this has been resolved.  This thread?


On Tuesday, January 31, 2017 at 5:54:03 PM UTC-5, Alex (Cloud Platform 
Support) wrote:
>
> Hi Himanshu,
>
> As your application is hosted on a GAE Flexible environment instance 
> (since redirected URL includes *.appspot-preview.com), custom domains 
> need to be whitelisted as mentioned in this Before you Begin section 
> .
>  
> In the third point, it is possible to whitelist the domains by filling out 
> this Google contact form 
> . 
> However, as this form is currently unavailable, you will be contacted by 
> email shortly to provide additional information regarding your project.
>

-- 
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/bfed6e96-aef4-4162-96bc-19ea8a0744fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Help troubleshooting running under the development server

2017-02-27 Thread Brian de Alwis
In my experience, "bad runtime process port" usually indicates that something 
is writing to System.out.  It seems the dev_appserver communicates to the 
spawned JVMs via stdin/stdout, and so any other messages interfere.

Brian.

> On 26-Feb-2017, at 6:32 PM, 'Adam (Cloud Platform Support)' via Google App 
> Engine  wrote:
> 
> We've seen this error occasionally but reproducing it has been hit or miss. 
> I'd advise filing an issue on the googleappengine issue tracker  
> and uploading a sample 
> app which exhibits the problem. If you provide a link to the issue I will 
> pick it up from there.
> 
> On Saturday, February 25, 2017 at 12:07:47 PM UTC-5, Kevin Wise wrote:
> I have an exceptionally strange situation. My web app, running on Guice in a 
> app engine standard environment, works fine in a development environment on 
> Linux or Mac, but doesn't work on Windows. The symptom is that when I try to 
> run the application, it appears to startup, but then always responds with a 
> 500 error. The log reports:
> 
> ERROR2017-02-24 15:06:29,865 http_proxy.py:116] bad runtime process port 
> ['']
> INFO 2017-02-24 15:06:29,964 module.py:806] default: "GET / HTTP/1.1" 500 
> 4379
> 
> Even stranger, the server returns the log file contents to the browser.  Here 
> is a sample of the browser output:
> 
> bad runtime process port ['']
> 
> Feb 24, 2017 3:04:52 PM 
> com.google.appengine.tools.development.AbstractContainerService configure
> WARNING: Null value for 
> containerConfigProperties.get(devappserver.portMappingProvider)
> Feb 24, 2017 3:04:52 PM com.google.apphosting.utils.jetty.JettyLogger info
> INFO: Logging to JettyLogger(null) via 
> com.google.apphosting.utils.jetty.JettyLogger
> Feb 24, 2017 10:04:52 PM com.google.apphosting.utils.jetty.JettyLogger info
> INFO: jetty-6.1.x
> Feb 24, 2017 10:05:15 PM org.hibernate.validator.internal.util.Version 
> 
> INFO: HV01: Hibernate Validator 5.2.4.Final
> Feb 24, 2017 10:05:19 PM 
> com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory register
> INFO: Registering com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider as a 
> provider class
> Feb 24, 2017 10:05:19 PM 
> com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory register
> INFO: Registering com.sample.health.HealthCheckResource as a root resource 
> class
> Feb 24, 2017 10:05:19 PM 
> com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory register
> INFO: Registering com.example.appengine.helloworld.HelloResource as a root 
> resource class
> Feb 24, 2017 10:05:19 PM 
> com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory register
> INFO: Registering com.sample.exception.ConflictExceptionMapper as a provider 
> class
> Feb 24, 2017 10:05:19 PM 
> com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory register
> INFO: Registering com.sample.exception.IllegalArgumentExceptionMapper as a 
> provider class
> Feb 24, 2017 10:05:19 PM 
> com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory register
> INFO: Registering com.sample.webjars.JaxRsWebjarsServlet as a root resource 
> class
> Feb 24, 2017 10:05:19 PM 
> com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
> INFO: Initiating Jersey application, version 'Jersey: 1.19.3 10/24/2016 03:43 
> PM'
> Feb 24, 2017 10:05:19 PM 
> com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory 
> getComponentProvider
> INFO: Binding com.sample.exception.ConflictExceptionMapper to 
> GuiceManagedComponentProvider with the scope "Singleton"
> Feb 24, 2017 10:05:19 PM 
> com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory 
> getComponentProvider
> INFO: Binding com.sample.exception.IllegalArgumentExceptionMapper to 
> GuiceManagedComponentProvider with the scope "Singleton"
> Feb 24, 2017 10:05:19 PM 
> com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory 
> getComponentProvider
> INFO: Binding com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider to 
> GuiceManagedComponentProvider with the scope "Singleton"
> Feb 24, 2017 10:05:19 PM 
> com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory 
> getComponentProvider
> INFO: Binding com.sample.health.HealthCheckResource to 
> GuiceManagedComponentProvider with the scope "Singleton"
> Feb 24, 2017 10:05:19 PM 
> com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory 
> getComponentProvider
> INFO: Binding com.example.appengine.helloworld.HelloResource to 
> GuiceManagedComponentProvider with the scope "Singleton"
> Feb 24, 2017 10:05:19 PM 
> com.sun.jersey.guice.spi.container.GuiceComponentProviderFactory 
> getComponentProvider
> INFO: Binding com.sample.webjars.JaxRsWebjarsServlet to 
> GuiceManagedComponentProvider with the scope "Singleton"
> Feb 24, 2017 10:05:19 PM com.google.apphosting.utils.jetty.JettyLogger info
> INFO: Started SelectChannelConnector@localhost:54117
> 

[google-appengine] Daily spending limit doesn't work

2017-02-27 Thread Eugen R
Faced with the problem - daily spending limit doesn't work
$6.95 instance hours billed with actual daily spending limit $2.00.
Using standard environment instances B1

[screenshot][1]
  [1]: https://i.stack.imgur.com/JfwKo.png

If someone knows where to look for - will be grateful

-- 
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/f1ddbdf3-d30f-442e-bf32-62ef37b56d18%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Any GAE EU region changes going on we should be aware of?

2017-02-27 Thread Kristof Degros
Same here

I doublechecked my code as I made some changes, The dashboard shows 
yesterday one of the apps that I had 12gb traffic ... While I can browse 
through the logs with 2 refreshes
The dashboard is also acting up

Yesterday on one app I had 5 instances spin up, while I never have gone 
above 3 instances and I checked the logs an hour ago and I had normal 
traffic. Nothing special
It is getting a bit crasy


On Thursday, February 16, 2017 at 11:19:13 PM UTC+1, Linus Larsen wrote:
>
> Last couple of days our app has started to behave strange, seems like our 
> instances are shut down very rapidly. Our low traffic default instance 
> could easily manage a whole day with just a few instances, until a couple 
> of days ago. Now it starts around 100 instances a day for no apparent 
> reason. A cron job is running at every half an hour, which should keep 1 
> instance alive all the time (or at least it used too), but now almost every 
> of these requests fires up a new instance indicating that there was no 
> instance running at all. 
>
> Now, has anyone else noticing more spawning instances than before? 
> It would be interesting to know why instances are shut down.
>  
>
>  
>
>
>
>
>
>
>

-- 
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/32a90001-32b0-44d1-9ac4-2379b7074db9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Custom domain redirecting to appspot URL

2017-02-27 Thread Azmaan Onies
When is this going to be resolved? Are we looking at hours, days or weeks?

On Saturday, February 25, 2017 at 4:54:54 AM UTC+8, Lorne Kligerman wrote:
>
> Hi folks,
>
> We recently migrated all traffic from the appspot-preview.com domain back 
> to the regular appspot.com as we approach a full release.  The regression 
> you noticed was due to an issue that came up as all beta traffic moved into 
> the full time stack.  We quickly identified the issue and have a fix coming 
> shortly.  We apologize for the strange behaviour, but please be aware that 
> flex is still a beta product.  We will do our best to avoid issues like 
> this in the future.
>
> Cheers,
> Lorne.
> Product Manager - App Engine
>
> On Friday, February 24, 2017 at 7:44:30 AM UTC-8, Robert Gaal wrote:
>>
>> +1. This is a huge issue for any production app running on App Engine.
>>
>> On Friday, February 24, 2017 at 11:44:07 AM UTC+1, Aron Adler wrote:
>>>
>>> Could we clarify exactly what the issue here is? Everything was working 
>>> for a couple of days, why did it go back to redirecting to the appspot 
>>> domain? 
>>>
>>> Also seeing as everyone seems to be having the same issue it doesn't 
>>> really make sense for everyone to create separate support tickets. Can we 
>>> get someone from Google to clarify what can be done to fix this?
>>>
>>> On Friday, 24 February 2017 02:58:59 UTC, Anthony Davis wrote:

 Same issue here...

 On Thursday, February 23, 2017 at 1:43:23 PM UTC-6, Joseph Reisinger 
 wrote:
>
> Hi Alex-
>
> I'm seeing this issue with a newly deployed app engine instance. Is it 
> possible to get my domain whitelisted?
>
> Thanks
>
> —jr
>
> On Wednesday, February 15, 2017 at 8:15:27 AM UTC-8, Alex (Cloud 
> Platform Support) wrote:
>>
>> Good news, it seems like this redirection issue has now been 
>> resolved. Custom domains listed on Flexible Environment App Engine 
>> instances should work as prescribed without redirecting to an 
>> appspot.com URL.
>>
>> Regards,
>> Alex
>>
>

-- 
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/11d54a34-9dbf-44cb-963e-c0d7aa373052%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.