[google-appengine] Re: Anyone who uses App Engine are technically being scammed - Why? No way to assess actual error rates

2018-12-07 Thread Attila-Mihaly Balazs
Not that I disagree (there are a fair number of "hidden errors" coming from G's infrastructure which G could do better in exposing to us), but in the end this is the the nature of distributed systems. There will be always many possible sources of errors between the clients and servers and one

[google-appengine] Re: Global app engine as described in the article

2018-11-28 Thread Attila-Mihaly Balazs
Hi Aron, Could you please provide the stackoverflow link? We're having a similar internal discussion and would love to see the discussion over there. All the best, Attila -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe

[google-appengine] Re: How to delete 800 mln records from Datastore?

2018-11-26 Thread Attila-Mihaly Balazs
AFAIK the simplest way to delete them which requires *no code to be written* is the deprecated but still working datastore admin. In your Google Cloud Console go to Datastore > Admin click on "Open Datastore Admin", select the entity kind you want to delete and click "Delete Entities". This

[google-appengine] Re: FYI: how to parse datastore export

2018-11-21 Thread Attila-Mihaly Balazs
Thank you for reminding me about that option. I've now sent the feedback using that option (I didn't actually see it in the top-right corner, but rather at the end of the page), but I also felt it important to post the information in a "public" place so that it can be found by other facing the

[google-appengine] FYI: how to parse datastore export

2018-11-20 Thread Attila-Mihaly Balazs
There is a somewhat new service to export/import datastore entities: https://cloud.google.com/datastore/docs/export-import-entities#starting_managed_export_and_import_operations (which previously could be done from the "datastore admin"). The documentation says: "The output of a managed

[google-appengine] Re: Pushed my site with deploy but old one remains

2018-11-20 Thread Attila-Mihaly Balazs
Check if there are multiple versions of your app and if the new version has any traffic routed to it, or if the old version is still set to receive all the traffic. Attila -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe

[google-appengine] Re: Python 3.7 and Dajngo 2.x

2018-11-13 Thread Attila-Mihaly Balazs
I would expect the google-cloud-datastore library to work, although currently it is only listed as working up to 3.6 Attila -- 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,

[google-appengine] Re: url created by blobstore.create_upload_url not work.

2018-11-12 Thread Attila-Mihaly Balazs
I'm happy that you managed to change over to google cloud storage quickly and without too much of an issue. Blobstore is deprecated and should be avoided as much as possible. Out of curiosity: was it the case that you were creating an upload url from one project while the cloud storage bucket

Re: [google-appengine] Re: url created by blobstore.create_upload_url not work.

2018-11-12 Thread Attila-Mihaly Balazs
Hi Henry, I'm sorry, I still don't understand the relation of the question to GKE. In my understanding the original question refers to blobstore (https://cloud.google.com/appengine/docs/standard/python/blobstore/) which is a deprecated/legacy storage solution that is only available inside of

[google-appengine] Re: url created by blobstore.create_upload_url not work.

2018-11-12 Thread Attila-Mihaly Balazs
Hi Henri, Sorry, I'm having trouble understanding the question "whether this is 'URLs' also true for GKE as well". When you say "blobstore.create_upload_url" I'm assuming that you're talking about the "blobstore" service which is a deprecated (but still running) service available in Google

[google-appengine] Re: url created by blobstore.create_upload_url not work.

2018-11-12 Thread Attila-Mihaly Balazs
URLs created with "blobstore.create_upload_url" are one-time only (so you can't reuse them) and also time-limited (so you can't wait very long for using it). Are you using the generated URL only once and without waiting for a long time? Attila -- You received this message because you are

Re: [google-appengine] Google App Engine Java deployment with gcloud skips almost all files

2018-11-12 Thread Attila-Mihaly Balazs
There is a deploy.version paramter for the Maven goal: https://cloud.google.com/appengine/docs/standard/java/tools/maven-reference#appenginedeploy Attila -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and

[google-appengine] Re: Using dispatch.yaml? Help us testing by using `gcloud beta app deploy`

2018-11-06 Thread Attila-Mihaly Balazs
I ran it with no issues with gcloud 223.0.0 (beta 2018.10.26). All the best, Attila -- 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

Re: [google-appengine] Re: RabitMq, FFMPEG, NodeJS, Intel webRTC suite, MongoDB

2018-11-03 Thread Attila-Mihaly Balazs
Deepak: there are multiple ways to achieve what you're describing on the Google Cloud. If you need for the instances to serve web traffic, you can create a "custom runtime" for the Google AppEngine Flexible environment: https://cloud.google.com/appengine/docs/flexible/custom-runtimes/

[google-appengine] Re: Connect to MongoDB Atlas from Google App Engine Standard

2018-10-31 Thread Attila-Mihaly Balazs
I'm not very familiar with MongoDB or either of those services (I only know that they provide hosted MongoDB services), but from a quick check it seems that the referenced host (_mongodb._tcp.youtopia-dev-wc9dj.gcp.mongodb.net) does not exists (ie. doing an nslookup on it returns "no such

[google-appengine] Re: Node 8 Standard (Express) not gzipping content

2018-10-30 Thread Attila-Mihaly Balazs
Please also note that there are some weird rules around the Google Frontend gzipping / not gzipping the response - it doesn't always respect "Accept-Encoding", but rather does some user agent sniffing:

[google-appengine] Re: Using subdomains with HTTPS

2018-10-29 Thread Attila-Mihaly Balazs
You most certainly can use AppEngine to serve up any domain/subdomain (including auto generated / renewing SSL certificates for them!) - as long as you control the DNS and can set it up properly. This should get you started:

[google-appengine] Re: Can I running a different domain in the front of app engine via revers proxy?

2018-10-20 Thread Attila-Mihaly Balazs
I don't think you can send those X headers to GAE (X-Real-IP and so on). Other than that it should certainly work since multiple people have reported using this technique to work around the "GAE using custom domains in considerably slower than GAE using the appspot domain" issue (especially in

Re: [google-appengine] Re: Django with postgresl on App Engine Standard

2018-10-20 Thread Attila-Mihaly Balazs
Lukas - sorry, I don't have any further ideas. The CloudSQL socket should be present there. I would suggest at this point to create a ticket in the issue tracker (https://issuetracker.google.com/) or contact Google Support. Sorry I can't be of more help, Attila -- You received this message

[google-appengine] Re: App Engine - Cloud SQL Delay

2018-10-18 Thread Attila-Mihaly Balazs
Thanks Carl for those graphs. Just from the latency graph I would say that there are some very slow requests (because 95th percentile is 0.5 second but the 99th percentile is over 7 seconds) and that the change seems to have occurred on the 3rd of October. Now, because we're suspecting the

[google-appengine] Re: gcloud app deploy --version="1.0" won't work.... no sub-versions?

2018-10-17 Thread Attila-Mihaly Balazs
As it said - "May only contain lowercase letters, digits, and hyphens. Must begin and end with a letter or digit. Must not exceed 63 characters". If the documentation says otherwise, it's a bug in the documentation :) Attila -- You received this message because you are subscribed to the

[google-appengine] Re: App Engine - Cloud SQL Delay

2018-10-17 Thread Attila-Mihaly Balazs
Has the number of requests changed (ie. increased)? (you say this is a new version, but I assume that the public/production version is also accessing the same CloudSQL instance, so increase in traffic there can affect the results). If you look at the CPU usage, queries per second and

Re: [google-appengine] Re: Django with postgresl on App Engine Standard

2018-10-16 Thread Attila-Mihaly Balazs
Yes, I can confirm that I can deploy the app from the linked GitHub repo and it can establish a database connection fine (this is the view I'm testing with: https://github.com/cdman/google-appengine-django-postgres-test/blob/master/mysite/urls.py#L29 - which does a "User.objects.count()").

[google-appengine] Re: Django with postgresl on App Engine Standard

2018-10-16 Thread Attila-Mihaly Balazs
The same here. I deployed this test project with App Engine Standard + Python 3.7 + Postgres 9.6 (from CloudSQL): https://github.com/cdman/google-appengine-django-postgres-test Perhaps looking at settings.py will give you some idea:

[google-appengine] Re: Django with postgresl on App Engine Standard

2018-10-14 Thread Attila-Mihaly Balazs
Hi, AFAIK PostgreSQL is not available under AppEngine standard if you're using Python 2.7 since the driver is not / can not be installed (Psycopg2). If you're using AppEngine standard "second generation" runtime with Python 3 you should be able to get it working by making sure the right

[google-appengine] Re: Call to undefined function imagewebp() webp php support

2018-10-08 Thread Attila-Mihaly Balazs
You *could* try doing "sudo apt-get install libwebp" (followed by restarting apache / nginx / php-fpm / whatever process is running your PHP code) but I wouldn't have great expectations. As the instructions seems to indicate to get WebP support, PHP needs to be built from the ground up to

[google-appengine] Re: How to restrict the connection between different GAE?

2018-10-04 Thread Attila-Mihaly Balazs
Depending on how "A calls B" there are different options. But assuming that you're using HTTPS / the urlfetch service, you'll get an "X-Appengine-Inbound-Appid" header which you can trust (see https://cloud.google.com/appengine/docs/standard/java/issue-requests). Attila -- You received this

[google-appengine] Re: socket.io with GAE

2018-10-03 Thread Attila-Mihaly Balazs
GAE does not support websockets. You can start this issue and wait: https://issuetracker.google.com/issues/35886348 (it has been there for almost 10 years) -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group

[google-appengine] Re: GAE Search API - Python

2018-09-10 Thread Attila-Mihaly Balazs
Expanding on Vitaly's first point: Search is available in the AppEngine Standard environment with the "first generation" runtimes (ie. with Python 2.7 but not with Python 3.7). Attila -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To

[google-appengine] Re: Maping GoDaddy domain with Google App Engine URL

2018-09-07 Thread Attila-Mihaly Balazs
As Ankit said: Google works at the subdomain level. So it is entirely possible to map different subdomains of the same domain to different services and even different projects (in fact that's the way one of my projects is configured in production). You just need to "verify" each of the

[google-appengine] Re: Maping GoDaddy domain with Google App Engine URL

2018-09-06 Thread Attila-Mihaly Balazs
When you say "for the actual sub domain [...] i dont see any certificate updated" are you looking in the GoDaddy control panel or the Google Cloud Console? Because you should see the certificate in the Google Cloud Console. Something like:

[google-appengine] Re: Is google app engine acts as a CDN?

2018-09-02 Thread Attila-Mihaly Balazs
Yes, AppEngine standard has a "CDN" component if you use it for static files: https://cloud.google.com/appengine/docs/standard/python/getting-started/serving-static-files Also, the Google Frontend *may* cache responses if the proper headers are returned, but it's rather finniky:

[google-appengine] Re: HttpBadRequestError when deploy app using gcloud

2018-08-28 Thread Attila-Mihaly Balazs
Have you tried updating gcloud as suggested by the error message? Attila -- 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

Re: [google-appengine] Re: Sync Google Cloud Storage to Instance Cluster

2018-08-24 Thread Attila-Mihaly Balazs
Pub/sub can help you to notify all running instances that new data is available and thus they can re-fetch the data as soon as it's updated rather than having to check periodically for new data. Cheers, Attila -- You received this message because you are subscribed to the Google Groups

Re: [google-appengine] Re: Sync Google Cloud Storage to Instance Cluster

2018-08-23 Thread Attila-Mihaly Balazs
You can take a look at Google Datastore or Google Cloud Storage (perhaps with some Pub/Sub thrown in to notify live instances that they need to load/reload their data).

[google-appengine] Re: App Engine connect to Oracle instance running in on-premise

2018-08-07 Thread Attila-Mihaly Balazs
As long as it's App Engine Flexible and you're already using Google VPC/VPN there should be no problem connecting to the Oracle instance without having to expose it publicly on the internet. Of course there might still be specific issues to how the two networks (Google's and yours) are

[google-appengine] Re: Extremely dissatisfied with App Engine lately, Network Issues, Support doesn't help and loops

2018-08-07 Thread Attila-Mihaly Balazs
Just adding my two cents here: yes, debugging connectivity problems with AppEngine can be very frustrating - but in my book that's just the price I pay for not needing and IT department 99.999% of the time :) Also, regarding your Cloudflare comment: you get the "x-cloud-trace-context" header

[google-appengine] Re: App Engine connect to Oracle instance running in on-premise

2018-08-07 Thread Attila-Mihaly Balazs
Hello, Just a small request for clarification: would that be Google App Engine standard or Google App Engine flexible you're thinking about using? Attila -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and

Re: [google-appengine] Server Sent Events in GAE Standard

2018-08-07 Thread Attila-Mihaly Balazs
Also, I would expect this not to work since the AppEngine instances don't talk directly to the client, but rather go trough the Google Front-end which buffers both requests and responses (so neither can be streamed). Attila -- You received this message because you are subscribed to the Google

[google-appengine] Re: Redirect from path

2018-08-03 Thread Attila-Mihaly Balazs
What are the headers displayed by "curl -v http://mysite.com/this-page > /dev/null"? In particular what is the value of the Location header? Attila -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop

[google-appengine] Re: Asp.Mvc core always sees requests as HTTP

2018-07-25 Thread Attila-Mihaly Balazs
>From here: https://cloud.google.com/appengine/docs/flexible/go/how-requests-are-handled#request_limits "The X-Forwarded-Proto header lets you understand if the origin request was HTTP or HTTPs." All the best, Attila -- You received this message because you are subscribed to the Google

[google-appengine] Options to synchronize a moderate amount of data with Datastore?

2018-07-11 Thread Attila-Mihaly Balazs
Hello, I'm trying to do the following periodically (lets say once a week): - download a couple of public datasets - merge them together, resulting in a dictionary (I'm using Python) of ~2.5m entries - upload the result to Cloud Datastore so that I have it as "reference data" for other things

Re: [google-appengine] Re: Node.js standard and urlfetch

2018-07-09 Thread Attila-Mihaly Balazs
^^^ This. However, Steren, please correct me if I'm wrong but I believe that to use the "idiomatic methods to send asynchronous requests to HTTP endpoints" one needs to enable "sockets": https://cloud.google.com/appengine/docs/standard/python/sockets/ (and also needs to be a paying

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

2018-07-03 Thread Attila-Mihaly Balazs
You can also look at Google's managed Redis solution: https://cloud.google.com/memorystore/ Attila -- 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] Re: Node.js standard and urlfetch

2018-07-03 Thread Attila-Mihaly Balazs
I believe (but I'm not 100%) that the new runtimes (node.js, Java 8, Python 3.7 in beta, etc) are moving AppEngine standard more towards Flex. Ie. they will be full containers (thought managed and updated by Google) where you can install arbitrary binaries. This means that they don't/won't need

Re: [google-appengine] Re: zigzag merge

2018-06-29 Thread Attila-Mihaly Balazs
- There is an optional parameter to init_datastore_v3_stub which you can use to require indexes: require_indexes=True. In fact we initialize our stub like the following for our unittests: # this needs to be re-evaluated at every initialization since it's mutable and tests # might have

[google-appengine] Re: Too many redirects

2018-06-12 Thread Attila-Mihaly Balazs
I'm seeing the same thing when using GAE login (ie. "login: required" in my app.yaml). It seems to occur only when multiple Google accounts are logged in, so a workaround could be to open the site in a private/incognito window and only log in with the one Google account you need. Attila --

Re: [google-appengine] Plans for Node.js on App Engine Standard?

2018-05-25 Thread Attila-Mihaly Balazs
If I would have to guess I would say it will work as with Python: - you will have to install all the dependencies locally, before deployment - the deploy will just copy your "npm_modules" to the cloud Attila -- You received this message because you are subscribed to the Google Groups "Google

[google-appengine] Re: Google App Engine Standard - OSError: [Errno 28] No space left on device

2018-05-18 Thread Attila-Mihaly Balazs
Hello Linh, You don't need CloudShell to use/deploy/run AppEngine. So the space running out on CloudShell has no effect on how/if the Google Appengine Standard application is running. Attila -- You received this message because you are subscribed to the Google Groups "Google App Engine"

[google-appengine] Re: Google App Engine Standard - OSError: [Errno 28] No space left on device

2018-05-18 Thread Attila-Mihaly Balazs
Hello Linh, Thank you for the update. Do I understand correctly that the machine which is having problems with the free space is your cloud shell instance? (ie. a small virtual machine which is allocated for you to play around with different tools - https://cloud.google.com/shell/docs/) If

[google-appengine] Re: Google App Engine Standard - OSError: [Errno 28] No space left on device

2018-05-17 Thread Attila-Mihaly Balazs
Hello, Just to clarify - you're using Google App Engine (GAE) Flexible, right? Because using GAE standard you can't SSH into the instances which are running your code. Could you list the top 20 files for example (by size) from your /tmp directory? Something like: du -a /tmp 2>/dev/null |

[google-appengine] Re: App Engine IAP Authentication failing on AJAX requests to my deployed server

2018-05-10 Thread Attila-Mihaly Balazs
Hi Devin, I'm happy that you managed to solve the issue! Sorry for my misleading messages, I was thinking that you were trying to fetch from the server side using the UrlFetch service (https://cloud.google.com/appengine/docs/standard/python/issue-requests) :-) All the best, Attila -- You

Re: [google-appengine] Re: did App Engine change instance scheduler algorithm in the past month?

2018-05-07 Thread Attila-Mihaly Balazs
Hi Steren, Could you please confirm that this is right? You introduced the "max_instances" parameter for the "automatic_scaling" section of the app.yaml for AppEngine *standard*? (because the docs are not yet update). If so, thank you!! This solves a potential DoS issue for us where too many

[google-appengine] Re: App Engine Identity Aware Proxy AJAX requests failing with HTTP code 405

2018-05-07 Thread Attila-Mihaly Balazs
I think the answer is the same as for the previous question: your URLFetch is acting like an external client (ie. running cURL from your laptop) and it's being redirected to the authentication page (which is on a completely different set of servers and doesn't respond to OPTIONS). Attila --

[google-appengine] Re: App Engine IAP Authentication failing on AJAX requests to my deployed server

2018-05-07 Thread Attila-Mihaly Balazs
AFAIK Urlfetch works just like any external client (so just like using cURL from your machine), so if it isn't authenticated, it will be redirected to the authentication page. If you don't need synchronous communication, you can take a look at taskqueues:

[google-appengine] Re: How do I access my golang app in the flexible env, when the server returns 404, yet not errors are shown anywhere?

2018-04-28 Thread Attila-Mihaly Balazs
Sorry, I have very limited experience with AppEngine Flex (been doing AppEngine standard work mostly). Given the fact that you see no instances seems to indicate to me that the 404 is not coming from your code, but rather the Google load balancer and it didn't start any instances of your app.

[google-appengine] Re: How do I access my golang app in the flexible env, when the server returns 404, yet not errors are shown anywhere?

2018-04-26 Thread Attila-Mihaly Balazs
When running AppEngine Flexible you can connect to the instances using SSH: https://cloud.google.com/appengine/docs/flexible/go/debugging-an-instance So you can check out directly on the instance where the issue is. Also, does the app work as expected locally? Attila -- You received this

[google-appengine] Re: [app-engine] multiple app.yaml files

2018-04-11 Thread Attila-Mihaly Balazs
In addition to wat Jason said, you might also want to take at the "includes" directive to avoid repeating yourself: https://cloud.google.com/appengine/docs/standard/python/config/appref So you could do something like: - have a common "services.yaml" somewhere - in each of the dev / stage /

[google-appengine] Re: How to invalidate cashed URL response from GAE “server: Google Frontend”

2018-04-05 Thread Attila-Mihaly Balazs
AFAIK you can't. But remember - by putting those header there you allow anyone - including your client's browsers to cache that page for one hour. So even if you could purge / update the google frontend cache, the clients wouldn't see the update anyway if they have it in their cache (unless

[google-appengine] Re: Google Engine with Firebase

2018-03-28 Thread Attila-Mihaly Balazs
Check out the "Adding the Firebase SDK to your web page" part of this: https://cloud.google.com/solutions/using-firebase-real-time-events-app-engine (be sure to switch to "JAVA" for the example). Attila -- You received this message because you are subscribed to the Google Groups "Google App

[google-appengine] Re: Bug in Cloud Console

2018-03-21 Thread Attila-Mihaly Balazs
If I had to take a guess, I would say that this is because the JVM doesn't really give back "free" ram to the OS (but it's still available for reuse from within the JVM). So the console is showing the "OS" level metric while querying it directly shows the view from "inside" the JVM. Attila --

[google-appengine] Re: Disable weak cipher for Google Cloud App engine custom domain website

2018-03-21 Thread Attila-Mihaly Balazs
AFAIK cloudflare has that same cipher (as a very last resort - just like Google - so realistically 99.999% of the clients won't use it): https://github.com/cloudflare/sslconfig/blob/master/conf So, yeah, "auditors". -- You received this message because you are subscribed to the Google Groups

[google-appengine] Re: Disable weak cipher for Google Cloud App engine custom domain website

2018-03-21 Thread Attila-Mihaly Balazs
In addition to what was said: there is always a tradeoff between usability and security and I trust that the Google engineers did a very throughout evaluation of the different options - which they possibly could share with you so that you can push back on the auditors. Attila -- You

[google-appengine] Re: Dispatching to more than 20 URLs

2018-03-15 Thread Attila-Mihaly Balazs
Also, in addition to what Kenworth said, there is the option to do traffic splitting between version: https://cloud.google.com/appengine/docs/standard/python/splitting-traffic This is not exactly what you're looking for because you're not splitting explicitly based on a domain name but rather

[google-appengine] Re: Does 1 service = 1 instance (thus potentially cost more)?

2018-03-06 Thread Attila-Mihaly Balazs
Just to add to that: some reasons to use multiple services regardless if you want to structure your app as microservices or not: - on GAE standard instance types and scaling mechanisms are tied together. So if you need F instance types for some part of the workload and B types for some other

[google-appengine] Re: Request every 5 seconds

2018-03-05 Thread Attila-Mihaly Balazs
A bit off topic, but something I noticed in the last couple of days: the G employees monitoring this forum started providing real answers to the questions rather than the templated "go ask it on Stack Overflow". I just wanted to say: this is much nicer. Thank you all! Attila -- You received

[google-appengine] Re: What does the 20 cron job per day limit mean in Google App engine?

2018-03-03 Thread Attila-Mihaly Balazs
I believe that means the number of entries in cron.yaml, but would like to hear it from an official source. I do have an app in production which has something cron-ed every 1 minute, and while it has billing enabled, it doesn't cost me anything. -- You received this message because you are

[google-appengine] Re: Multiple apps on Free tier?

2018-03-02 Thread Attila-Mihaly Balazs
Hey there, As you already figured out, the most cost-effective way is to use AppEngine Standard. You can even host multiple websites inside of one AppEngine project by adding all the domains to it and using a dispatch file. As an added benefit you get free, auto-managed SSL/TLS! If you need

[google-appengine] Re: X-AppEngine-Country is wrong

2018-02-24 Thread Attila-Mihaly Balazs
@George: please note that the linked issue is for a different subnet! (208.50.3.0/24 vs. 47.52.0.0/24 the OP was asking for). So I'm not sure if fixing that issue will also fix this issue (it might or it might not). -- You received this message because you are subscribed to the Google Groups

[google-appengine] Re: Cannot upload SSL certificate: "You do not have sufficient permissions to view this page."

2018-02-24 Thread Attila-Mihaly Balazs
@Admins: the above post is not really on topic (though not necessarily spam - more like hidden advertisement). The given link DOES NOT offer information about SSL/TLS on the Google Cloud/AppEngine which this thread is about. Rather it offers generic advice about SSL/TLS. -- You received this

[google-appengine] Re: Appengine: dramatic performance deterioration after java 8 migration

2018-02-16 Thread Attila-Mihaly Balazs
Jordan, please understand that from an user's point of view this response looks like a cop-out: - for months there have been complaints of Java 8 being slow (just search the forums and the issue tracker) - Google dragged its feet in making Java 8 available for GAE standard and only made it

Re: [google-appengine] Re: Over Quota Custom Message

2018-02-08 Thread Attila-Mihaly Balazs
Hossein, If we're talking about AppEngine standard, you can set the static file which will be served for particular sitations (over quota, timeout, etc): see "error_handlers" here: https://cloud.google.com/appengine/docs/standard/python/config/appref Cheers, Attila -- You received this

[google-appengine] Re: 413: Request entity too large

2018-01-29 Thread Attila-Mihaly Balazs
Hello, Some quick answers: - yes, direct uploads are limited to 32MB and it's documented - for large uploads the recommended way is to create a one-off upload URL which uploads the file to Google Cloud Storage. For Python I find the blobstore interface to be the easiest to use for this:

[google-appengine] Taskqueue stub slower than needed in dev_appserver

2018-01-23 Thread Attila-Mihaly Balazs
Hello all, Just a quick heads up: the taskqueue stub used by the Google AppEngine standard unittest framework (testbed - https://cloud.google.com/appengine/docs/standard/python/refdocs/google.appengine.ext.testbed) seems to parse your queue.yaml *for every operation* (like adding/deleting

[google-appengine] Re: Feedback on App Engine Task Queue

2017-12-23 Thread Attila-Mihaly Balazs
This is somewhat old, but something just came to mind (and unfortunately the poll doesn't offer a "free-text, give us your own words" option): In addition to what is mentioned in the survey, I would really the following: - auto-sharding for PULL queues (so that I don't have to create and

[google-appengine] Re: Suggestions for autocomplete feature providing real-time low-latency suggestions......using product catalogue DB

2017-12-08 Thread Attila-Mihaly Balazs
FYI, I think that the search service is either deprecated or soon to be deprecated, so I wouldn't write new code using it. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it,

[google-appengine] Re: How to extract values from log line for log based metric?

2017-12-08 Thread Attila-Mihaly Balazs
Hello Yannick. Fortunately Kirk provided an answer on stackoverflow: https://stackoverflow.com/a/47597013/1265 Apparently the field name I'm looking for is "protoPayload.line.logMessage" which - unfortunately - isn't shown anywhere in the UI. I tried it out and it works as expected. I also

[google-appengine] Re: How to extract values from log line for log based metric?

2017-11-21 Thread Attila-Mihaly Balazs
Hello Yannick, Thank you for your reply. Unfortunately it doesn't help me move forward. I think I read all the relevant documentation, searched around on the interwebs and played around with different settings. I *did* mange to set up log based metrics using other information (not the log

[google-appengine] How to extract values from log line for log based metric?

2017-11-18 Thread Attila-Mihaly Balazs
Hello, I'm trying to set up a log based metric based on some values extracted from the log lines. However I can't seem to find the field from which to extract the log line(s). I tried "textPayload" and "protoPayload.line[0]", however neither seem to work. Also, I couldn't find an example for

[google-appengine] Why I (can not) choose AppEngine Flexible

2017-11-18 Thread Attila-Mihaly Balazs
Hello all, I would like to kick off this discussion because I think the Google AppEngine team is missing an opportunity to differentiate themselves from the competitors. First, a quick rundown of why I've chosen AppEngine many years ago and why I continue to use/recommend it: - the free tier

[google-appengine] Re: How is patching done for flexible instances?

2017-11-17 Thread Attila-Mihaly Balazs
Hello, Thank you for the reply. Just making sure that I understand correctly: when you say "excludes container image runtime", it means that none of the following scenarios are covered: Lets say that I'm running a CentOS based docker image on AppEngine Flex. 1) A security bug is discovered in

[google-appengine] How is patching done for flexible instances?

2017-11-17 Thread Attila-Mihaly Balazs
Hello all, Flexible instances sound great in theory - use runtime you wish as long as you can create a docker image for it and listen for HTTP on 8080. However, one of the reasons I prefer AppEngine (standard) is the fact that I don't want to be Ops - don't want to be concerned about updating

[google-appengine] Re: PHP app engine cannot connect to cloud sql

2017-10-31 Thread Attila-Mihaly Balazs
I'm no PHP expert, but I believe that for mysqli_connect to work with Unix Domain Sockets, one must specify "localhost" for the host and the socket as the last parameter. From here: https://stackoverflow.com/a/13771199/1265 The syntax would be: mysqli_connect("localhost",

[google-appengine] Re: E-mails from GAE standard to hotmail.com accounts bouncing for the past hour

2017-10-19 Thread Attila-Mihaly Balazs
How confident are you that the email address is correct (it actually exists)? Did you successfully communicate with this address in the past? A quick way to check if the email is valid, is to try to sign up with it: https://signup.live.com/ and see if it says "joe@hotmail.com is already a

[google-appengine] Re: Request failed with unknown error

2017-10-19 Thread Attila-Mihaly Balazs
I've seen that too a couple of times yesterday, but it always went away after a refresh (as a data-point: I'm on a very flaky cellular connection so you might want to check your network). Attila -- You received this message because you are subscribed to the Google Groups "Google App Engine"

[google-appengine] Re: Best practicies for making GAE microservices idempotent

2017-10-09 Thread Attila-Mihaly Balazs
Just a quick note: while GAE supports named tasks and transactional enqueuing of tasks, it does not support the transactional enqueing of named tasks. Just a small detail to be aware of when architecting your application. Attila -- You received this message because you are subscribed to the

[google-appengine] Re: Access to ODOO Database from Django Application in Google Cloud

2017-10-06 Thread Attila-Mihaly Balazs
Hello, In addition to what George said, if you're trying to access it from App Engine Standard, you'll have to enable the socket service to be able to make TCP connections: https://cloud.google.com/appengine/docs/standard/python/sockets/ Regards, Attila -- You received this message because

[google-appengine] Re: Managed SSL

2017-09-14 Thread Attila-Mihaly Balazs
@Kenworth: I think the link you've meant to post is https://issuetracker.google.com/issues/35900034 (the one actually posted seems like some kind of internal, for googlers only version of it). Cheers, Attila -- You received this message because you are subscribed to the Google Groups

[google-appengine] Re: Google App Engine apps blocked by an organization, any suggestions?

2017-09-10 Thread Attila-Mihaly Balazs
Perhaps set up a minimal proxy server on a VPS (or even a GCE instance with a static IP) and use that to forward requests to GAE? Such a server would require minimal setup and upkeep. Not the ideal solution, but a potential work-around. Attila -- You received this message because you are

[google-appengine] Re: Google App Engine apps blocked by an organization, any suggestions?

2017-09-10 Thread Attila-Mihaly Balazs
GAE used to have a feature called VIP (virtual IP) which was mainly meant for setting up SSL if you wanted to support clients which didn't support SNI, but I guess that was deprecated :( Attila -- You received this message because you are subscribed to the Google Groups "Google App Engine"

Re: [google-appengine] Re: Production SDK stuck at 1.9.48?

2017-08-28 Thread Attila-Mihaly Balazs
Thank you for posting the update. Unfortunately I'm still seeing 1.9.48 on my instances. Hopefully this is some kind of rolling update which will get to my apps soon :-) Attila -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To

[google-appengine] Re: Unable to deploy application on google appengine

2017-08-28 Thread Attila-Mihaly Balazs
Hello, Try updating your Python. According to this (https://stackoverflow.com/a/22783425/1265) httplib2 comes withs its own certificate store which might be outdated. Attila PS. While you're at it, please consider updating your OS. Windows XP is very old, unsupported and it causes everyone

[google-appengine] Re: Brauche Hilfe beim Cloudspeicher :(

2017-08-28 Thread Attila-Mihaly Balazs
Hello Pascal, I understand that you're trying to use Django on App Engine standard. To do that, you either need to use the Django provided by App Engine or install Django in the project's folder yourself. This link should get you started:

[google-appengine] Re: SOLVED: app engine custom domain presented with A, AAAA and CNAME records

2017-08-28 Thread Attila-Mihaly Balazs
@Juan - just a note: it's possible to route clients to different datacenters even when they are just using an IP using a special setup in BGP (and in fact it works better than routing using the DNS since the DNS method routes you to the IP closest to your DNS server, which might not be the

[google-appengine] Re: Python Standard logging can deadlock at import time (with work-around)

2017-08-28 Thread Attila-Mihaly Balazs
Thank you Evan for publicly posting this (and an especially big thank you for publishing the detailed investigation *and* work-around). Contrary to the official Google party-line, posting to the issue-tracker is near-useless for us mere-non-googlers: - the new issue tracker is all AJAX-y and

[google-appengine] Re: "Sandbox prevented access to" INFO messages

2017-08-14 Thread Attila-Mihaly Balazs
@Kenworth: I know that this has always been the case (the sandbox blocking access to files not explicitly given access to), but I think @PK is right - something has changed (maybe it's just that extra logging has been added?). I too noted that now my GAE Python application (using AppEngine

[google-appengine] Re: Create Django Superuser in GAE Flexible

2017-08-10 Thread Attila-Mihaly Balazs
One other option is to use the Cloud SQL Proxy [1] to connect from your local machine to the Cloud SQL instance in production and then you could run locally whatever command you need (create super user, etc). Regards, Attila [1] https://cloud.google.com/sql/docs/mysql/connect-admin-proxy --

Re: [google-appengine] Mail API Quotas

2017-08-10 Thread Attila-Mihaly Balazs
You could look into setting up SPF and DKIM for your domain + sendgrid. I found that it helps greatly. Some articles to get you started: https://sendgrid.com/docs/Classroom/Deliver/Sender_Authentication/spf_records_explained.html https://sendgrid.com/docs/Glossary/dkim.html Regards, Attila --

[google-appengine] Re: Exceeded soft private memory limit of 128 MB with 128 MB after servicing 238 requests total

2017-08-07 Thread Attila-Mihaly Balazs
I use it something like: with memoryTracker(): # code suspected of leaking You can also play around with it on the local development server (hopefully the leak reproduces there). And you could try using other methods from objgraph to understand the source of the leak

[google-appengine] Re: Exceeded soft private memory limit of 128 MB with 128 MB after servicing 238 requests total

2017-08-07 Thread Attila-Mihaly Balazs
Yes, memory profiling support is quite poor for Python. I used some code like the following in the past to track down a nasty memory leak in the ndb module (https://issuetracker.google.com/u/1/issues/35901184): @contextlib.contextmanager def memoryTracker(): if constants.UNITTEST:

  1   2   >