[google-appengine] Re: URLFetchServiceStreamHandler$Connection cannot be cast to HttpsURLConnection

2017-02-14 Thread Shachar Grembek
Thanks, but apparently it is used by a library that I using and therefore it makes things more complicated. Is there a workaround in matters of the technology stack that I am using that I can change so that the current implementation of that library wouldn't be an issue with the other stack. Fo

[google-appengine] Re: Datastore Internal Error

2017-02-14 Thread 'Alex (Cloud Platform Support)' via Google App Engine
Hi Vinod, In case this is still happening, I will need you to provide me with the following information in order to help you further: - The Cloud SDK version you are using. - A minimal working example of your code demonstrating this issue. Let me know if you would prefer to be contacte

[google-appengine] Re: URLFetchServiceStreamHandler$Connection cannot be cast to HttpsURLConnection

2017-02-14 Thread 'Adam (Cloud Platform Support)' via Google App Engine
URLFetchServiceStreamHandler extends HttpURLConnection, not HttpsURLConnection. You can use HttpURLConnection to connect to https:// URLs though. The issue is that zendesk-java-client relies on Ning's AsyncHttpClient 1.9.x which is doing things like this

[google-appengine] Re: Error while adding task to task queue

2017-02-14 Thread 'Alex (Cloud Platform Support)' via Google App Engine
Hi Sarad, It does seem to be a transient error and so, in case it still happening I will need you to provide me with the following information in order to help you further: - The Cloud SDK version you are using. - The Python version you are using. - A minimal working example of you

[google-appengine] Re: Datastore: how to design for huge time-series data

2017-02-14 Thread Evan Jones
I would recommend using the BigQuery streaming API. We do a heck of a lot of that at Bluecore and it works well. Depending on how your data arrives, you may want to use a Task Queue or similar to collect lots of rows together to be able to insert batches into BigQuery, which will be more effici

[google-appengine] URLFetchServiceStreamHandler$Connection cannot be cast to HttpsURLConnection

2017-02-14 Thread Shachar Grembek
Hi, I am using the Zendesk java client ( https://github.com/cloudbees/zendesk-java-client) on my Google App Engine server and I have a runtime issue that prevents me from using the SDK. Can you please advise: When I call the Zendesk SDK, I get on the server: I am using JDK 7 with App Engin

[google-appengine] Re: Datastore: how to design for huge time-series data

2017-02-14 Thread 'Nick (Cloud Platform Support)' via Google App Engine
Hey Etienne, You've correctly enumerated a few ways to transfer data from Cloud SQL to BigQuery: * export to CSV and load the CSV into BigQuery * retrieve the data with an app and stream it into the BigQuery API * export to Datastore and then import to BigQuery There are also other ways, suc

[google-appengine] Re: Is it possible to implement a custom MatchScorer?

2017-02-14 Thread 'Adam (Cloud Platform Support)' via Google App Engine
The MatchScorer (and RescoringMatchScorer) class is 'empty' because it just denotes an option that you can pass to search.SortOptions. You can see how it's used further down in search.py in the method _CopyMatchScorerToScorerSpecProtocolBuffer, where the type is simply checked and an option is

[google-appengine] Re: Discovery Doc generation missing "format" tag for doubles

2017-02-14 Thread 'Alex (Cloud Platform Support)' via Google App Engine
Thanks a lot for providing your reproduction. You’ll be glad to know that I have forwarded your observations to the backline team from this Cloud Platform SDK’s Public Issue Tracker thread . Feel free to follow this issue's res

[google-appengine] Re: Memcache cas never updating

2017-02-14 Thread 'Nicholas (Google Cloud Support)' via Google App Engine
Thanks for confirming that this workaround applies to you. Given your responses, I think it safe to assume you both are affected by the aforementioned issue relating to *memcache.Client().cas()*. This *should not* affect other *memcache* methods so namespace setting should work as expected th

Re: [google-appengine] Re: BigQuery Import not working on local dev_appserver. (Import error)

2017-02-14 Thread Evan Jones
This is probably happening due to Python package conflicts. By default, when you do "import google" it finds the first "google" package in your PYTHONPATH. It does *not* combine all the separate "google" packages together. There is a way to "opt in" to combining packages, but the App Engine package

[google-appengine] Is it possible to implement a custom MatchScorer?

2017-02-14 Thread Ivo Bellin Salarin
Hello everybody, I a using the python GAE. I would like to implement a custom match scorer which sorts a set of documents according to their timestamp (taking into account an eventual periodicity of the events; e.g. a sport competition which takes place every year). In search.py I can find two em

[google-appengine] Datastore Internal Error

2017-02-14 Thread Vinod Kumar
Hi, We are facing issue with production application. It's some datastore internal error. Looks like data reads and writes are randomly failing. At start the frequency was more, but then decreased. It's been almost one hour, but still not resolved completely. Please find stacktrace below. Fil

[google-appengine] Error while adding task to task queue

2017-02-14 Thread sarad mohanan
we are getting errors while adding a task to task queue File "/base/data/home/runtimes/python27_experiment/python27_lib/versions/1/google/appengine/api/apiproxy_rpc.py", line 134, in CheckSuccess raise self.exception DeadlineExceededError: The API call taskqueue.BulkAdd() took too long to

[google-appengine] Re: Datastore: how to design for huge time-series data

2017-02-14 Thread Etienne B. Roesch
Hi, Sorry for the repeat, but I am trying to wrap my head around the GAE-osphere and I am getting a bit confused; I need to store and retrieve/analyse timeseries data, of varying sizes and resolutions; at the moment, the data is received and stored on GAE through to Google Cloud SQL (python).