Re: [google-appengine] How to redirect www.mysite.appspot.com to mysite.appspot.com

2019-08-13 Thread 'Alex Martelli' via Google App Engine
A simple example of how to do redirection in App Engine Python apps has been written by an independent consultant and posted at their site, https://www.the-swamp.info/blog/google-app-engine-redirection-naked-domain-www/ -- it includes a link to a github repo, also owned by the article's author,

[google-appengine] Header names after september 30 (Load balancers)

2019-08-13 Thread Santiago Del Valle
We got this email After September 30, HTTP(S) Load Balancers will convert HTTP/1.1 header names to lowercase in the request and response directions; header values will not be affected. As header names are case-insensitive, this change will not affect clients and servers that follow the

[google-appengine] Re: Migrating wordpress site on Compute Engine to a third-party hosting

2019-08-13 Thread 'Alexandre Duval-Cid' via Google App Engine
Hello Lucas, It's very hard to give you an answer without knowing where you want to migrate to. GCP has several VM migration tools [1], Other platforms would have instructions on how to use them to migrate to them. Here is some documentation on how to reduce VM costs in GCP if it interests

[google-appengine] Re: Google Big Query data transfer utility to transfer data from App Engine to BigQuery, when service is executed job is getting successful but data is not getting transferred thoug

2019-08-13 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine
Hi Abhinav, This discussion group is oriented more towards general opinions, trends, and issues of general nature touching App engine . For technical implementation such as using the Cloud Storage transfer beta service, you may be better served in

[google-appengine] How to redirect www.mysite.appspot.com to mysite.appspot.com

2019-08-13 Thread David Smith
Hi, I've asked this question on stackoverflow but it's not getting much attention: https://stackoverflow.com/questions/57470503/how-to-avoid-potential-security-issue-if-users-incorrectly-use-www-for-an-apps If a user incorrectly uses www in the URL they can not get through at all and it looks

[google-appengine] about Import PIL error

2019-08-13 Thread AI AIQ
Hi I have a error using gcloud app deploy command I got a error message like as below: ModuleNotFoundError: No module named 'PIL' However, it works fine when I doing this python shell >> import PIL >> from PIL import Image >> Image What is the problem? Can you check about this one? -- You

[google-appengine] Re: about Import PIL error

2019-08-13 Thread 'Cristian (Google Cloud Platform Support)' via Google App Engine
You need to review this documentation that describes how to defined third party libraries in your Google App Engine Python runtime. If the issue continues, please post in Stackoverflow

[google-appengine] Re: How to redirect www.mysite.appspot.com to mysite.appspot.com

2019-08-13 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello David, You can use www.mysite.appspot.com and mysite.appspot.com interchangeably: you get to the same page in both cases. You may consider using a custom domain instead, and map it to your appspot.com domain, as detailed on the "Mapping Custom Domains" documentation page

[google-appengine] Re: How to pass data from python backend to JavaScript client on Google App Engine?

2019-08-13 Thread 'Tiago (Google Cloud Platform Support)' via Google App Engine
Thank you for using Google Groups! Passing data between a backend and frontend service differs depending on the language and/or framework you are using. Should you be adopting a RESTful backend architecture in Python such as Flask, you can define a route handler, hit it with a GET request

[google-appengine] Re: How to redirect www.mysite.appspot.com to mysite.appspot.com

2019-08-13 Thread David Smith
Hi George, This does not seem to be the case: If you go to www.givebackourbusses.appspot.com you get a 'Did Not Connect: Potential Security Issue' message. Without www it serves okay: givebackourbusses.appspot.com. On Wednesday, 14 August 2019 04:47:19 UTC+10, George (Cloud Platform Support)

[google-appengine] Re: App engine not spliting traffic to new version

2019-08-13 Thread 'Julie (cloud platform support)' via Google App Engine
Thanks for reporting this. This is likely related to a reported issue tracker[1] regarding App Engine Flex where the cause is likely due to connection issues or some other change interrupts the run of gcloud which causes the previous versions will be left in their existing state. As a