[google-appengine] How to enable Managed SSL on App Engine when using CloudFlare CDN

2017-09-29 Thread Leigh McCulloch

Hi!

I've attempted to enable the new Managed Security (SSL/TLS) with AppEngine 
on one of my domains, but it's been unable to activate because of DNS 
issues. I've got the domain setup with CloudFlare and this means that 
requests go to AppEngine via Cloudflare. Cloudflare serves SSL for my 
domain to visitors, but I'm wanting to activate the Managed SSL so that the 
connection between AppEngine and CloudFlare is via TLS on a trusted 
certificate.

How do I enable Managed TLS on my domain without disabling Cloudflare?

Thanks,
Leigh

-- 
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/8fb5a261-b328-48be-850b-740e93f35448%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: HTTP Cloud load Balancer 502 intermittent responses , doesn’t let request reach our backend services

2017-09-29 Thread julien silverston
Adam, access is denied to the issue you mentioned. Thank you.

Le samedi 11 mars 2017 14:21:41 UTC-5, Adam (Cloud Platform Support) a 
écrit :
>
> I've posted a response to the public issue you filed at 
> https://issuetracker.google.com/36144028, please feel free to direct any 
> replies there.
>
> On Friday, March 10, 2017 at 8:00:37 AM UTC-5, Jorge Barrachina wrote:
>>
>> Description of the problem :
>>
>> HTTP Cloud load Balancer 502 intermittent responses ,  doesn’t let 
>> request reach our backend services. It seems that this problem rise up 
>> randomly . Maybe related with 
>> https://groups.google.com/forum/#!topic/google-appengine-downtime-notify/C_fCwHb73wc
>>
>> issued on February, 4th? 
>>
>> Also, we were looking for alternative solutions and we’ve found this post 
>> , that maybe has some correlation with this issue, and bring some light to 
>> find what happened
>>
>>
>> https://blog.percy.io/tuning-nginx-behind-google-cloud-platform-http-s-load-balancer-305982ddb340#.rw4tbv6gl
>>
>>
>>
>> Issue date periods:
>>
>> March 9th, from 14:12:29.697 ( UTC/GMT +1 hour ) till  March 10th, 
>> 09:28:36.085 ( UTC/GMT +1 hour )
>>
>> Projects affected : 
>>
>> oa-staging
>>
>> Services affected:
>>
>> clientaccount ( versions:  release-2017-10-a , release-2017-8-a , 
>> release-2017-07-a)
>>
>>
>> Service url :
>>
>> https://clientaccount-dot-oa-staging.appspot-preview.com
>>
>>
>> Deployment Details of our stack :
>>
>>
>> app.yaml 
>>
>> api_version: 1
>>
>> service: clientaccount
>>
>> runtime: python
>>
>> env: flex
>>
>> entrypoint: gunicorn 'client_account.wsgi:load_app("prod")'
>>
>> runtime_config:
>>
>>  python_version: 3
>>
>> automatic_scaling:
>>
>>  min_num_instances: 1
>>
>>  max_num_instances: 5
>>
>>  cool_down_period_sec: 120 # default value
>>
>>  cpu_utilization:
>>
>>target_utilization: 0.8
>>
>>
>> requirements.txt
>>
>> bingads==v10.4.11
>>
>> boto3==1.3.0
>>
>> botocore==1.4.10
>>
>> docutils==0.12
>>
>> Flask==0.10.1
>>
>> Flask-Cors==2.1.2
>>
>> Flask-Security==1.7.5
>>
>> flask-swagger==0.2.12
>>
>> gcloud==0.13.0
>>
>> google-api-python-client==1.5.0
>>
>> googleads==5.0.0
>>
>> gunicorn==19.4.1
>>
>> itsdangerous==0.24
>>
>> Jinja2==2.8
>>
>> jmespath==0.9.0
>>
>> MarkupSafe==0.23
>>
>> mongoengine==0.10.6
>>
>> pymongo==3.2.2
>>
>> python-dateutil==2.5.2
>>
>> PyYAML==3.11
>>
>> recurly==2.4.2
>>
>> requests==2.9.1
>>
>> sendgrid==3.0.1
>>
>> six==1.10.0
>>
>> Werkzeug==0.11.4
>>
>> wheel==0.24.0
>>
>>
>> Transaction Example Details :
>>
>>
>> If you want to check the transaction on Google Cloud Console , here is 
>> the link to check it out :
>>
>>
>>
>> https://console.cloud.google.com/logs/viewer?project=oa-staging&hl=es&minLogLevel=0&expandAll=false&resource=http_load_balancer&advancedFilter=resource.type%3D%22http_load_balancer%22%0Aresource.labels.zone%3D%22global%22%0Aresource.labels.project_id%3D%22oa-staging%22%0Atimestamp%3D%222017-03-09T15:35:43.842872262Z%22%0AinsertId%3D%221snolhbg22kclfq%22×tamp=2017-03-09T15:35:43.842872262Z
>>
>> GET  
>> https://clientaccount-dot-oa-staging.appspot-preview.com/check_token/**LONG_TOKEN*
>>
>>
>> This request arrives to the HTTP Cloud Load Balancer  at : 16:35:43.842 
>> (Madrid Time)
>>
>>
>> Trace Log of the HTTP Cloud Balancer
>>
>> {
>>
>> insertId: "1snolhbg22kclfq"   
>>
>> jsonPayload: {
>>
>>  statusDetails: "failed_to_connect_to_backend"
>>
>>  @type: "
>> type.googleapis.com/google.cloud.loadbalancing.type.LoadBalancerLogEntry" 
>>
>>
>> }
>>
>> httpRequest: {
>>
>>  requestMethod: "GET"
>>
>>  requestUrl: "
>> https://clientaccount-dot-oa-staging.appspot-preview.com/check_token/*LONG_TOKEN*";
>>  
>>
>>
>>  requestSize: "1370"
>>
>>  status: 502
>>
>>  responseSize: "421"
>>
>>  remoteIp: "34.197.229.75"
>>
>> }
>>
>> resource: {
>>
>>  type: "http_load_balancer"
>>
>>  labels: {
>>
>>   url_map_name: "" 
>>
>>   forwarding_rule_name: "" 
>>
>>   backend_service_name: "" 
>>
>>   target_proxy_name: "" 
>>
>>   zone: "global" 
>>
>>   project_id: "oa-staging" 
>>
>>  }
>>
>> }
>>
>> timestamp: "2017-03-09T15:35:43.842872262Z"   
>>
>> severity: "WARNING"   
>>
>> logName: "projects/oa-staging/logs/requests"   
>>
>> }
>>
>>
>> The connection with our backend ( 
>> https://clientaccount-dot-oa-staging.appspot-preview.com ) stopped . If 
>> you look into the jsonPayload of the trace provided , it says 
>> “failed_to_connect_to_backend” so it means that our backend seems to be 
>> not processing the request arriving from the http load balancer. 
>>
>> This is weird , because we didn’t change our stack and it was working 
>> days before of the date reported.
>>
>> Could you tell us what happened , our provide some logs to review with 
>> our team.
>>
>> Thanks for your support
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this gro

[google-appengine] Re: Google App Engine - Region

2017-09-29 Thread 'Jordan (Cloud Platform Support)' via Google App Engine
There are currently no updates on the release date. Until there is a 
production solution released, creating your own proxy to load balance 
between regions is the only workaround. 

One workaround would be to setup a Cloud Load Balancer 
 that accepted requests from your 
domain site. These requests would be routed to a Compute Engine 
 instance in the requestor's region. The 
Compute Engine instance would simply act as a proxy and send the request to 
your separate App Engine project in their region. 

-- 
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/dc5873b1-adcb-45bf-9608-84cb44db3182%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Google App Engine - Region

2017-09-29 Thread Hossein Amerkashi
@Jordan,

The last response was on August 28, a month ago. Any updates on this? This 
is really urgent. THANKS 

On Friday, September 29, 2017 at 5:32:26 PM UTC-4, Jordan (Cloud Platform 
Support) wrote:
>
> Our engineering team is working on a solution to cross-region load balance 
> for App Engine Flexible and Standard. There is no ETA for the release but 
> you can follow the Public Feature Request 
> for updates.
>

-- 
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/85ac8a57-3903-4525-9558-bc5a3078b840%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Google App Engine - Region

2017-09-29 Thread 'Jordan (Cloud Platform Support)' via Google App Engine
Our engineering team is working on a solution to cross-region load balance 
for App Engine Flexible and Standard. There is no ETA for the release but 
you can follow the Public Feature Request 
for updates.

-- 
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/4dad7b2e-0fc4-4a6a-946a-64a84be89372%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Google Cloud Endpoints v2 framework (python) in the SDK?

2017-09-29 Thread 'Yannick (Cloud Platform Support)' via Google App Engine
Hello Ivo, sorry it took us a while to get back to you.

You should create an issue 
 on the Issue Tracker 
and detail which specific libraries you believe need to be integrated into 
the SDK as well as why you believe the current situation is not workable 
for you.

On Wednesday, September 27, 2017 at 5:11:47 AM UTC-4, Ivo Bellin Salarin 
wrote:
>
> (just bouncing to get an answer)
>
> On sam. 23 sept. 2017 à 12:32 Ivo Bellin Salarin <
> ivo.bellinsala...@gmail.com> wrote:
>
>> Let me precise my question given your answer:
>> When will be the endpoints framework on that page be included with the 
>> appengine sdk, if it will?
>> The endpoints framework is available only for GAE standard (Java and 
>> python), according to your link. Since we are talking about a python app, 
>> including one library means including about 6k files (gross estimate). And 
>> is 60% of the number of files limit Google allows for a GAE application.
>>
>> On ven. 22 sept. 2017 à 21:17 'Shivam(Google Cloud Support)' via Google 
>> App Engine  wrote:
>>
>>> I understand your concern but this is not a valid feature request and 
>>> I’ll explain why. Cloud Endpoints is a concept which applies to many 
>>> resources(such as Compute Engine, Container Engine etc.) and not just App 
>>> Engine. You can find the list here 
>>> . 
>>>
>>> It helps you create, deploy, protect, monitor, analyze, and serve your 
>>> APIs using the same infrastructure Google uses for its own APIs. You can 
>>> use any language and framework to write an API, add an OpenAPI 
>>> specification or gRPC API configuration, and Cloud Endpoints will monitor 
>>> and protect your API. So it is like a general availability product.
>>>
>>>
>>> On Friday, September 22, 2017 at 10:01:29 AM UTC-4, Ivo Bellin Salarin 
>>> wrote:

 Hi all,

 May I ask you if the google cloud endpoints v2 will be available as 
 part of the appengine standard SDK? When do you think that it will be 
 included?

 Reminder: today, we have to include it as a thirdparty library, and use 
 vendor.add in order to use it. This contributes to explose the 10k files 
 threshold for a appengine standard deploy.

 Thanks,
 Ivo

>>> -- 
>>> 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/97eaea94-4cfd-4cb9-aa9a-4ba9aff60c29%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/5d4deed2-dcc9-4195-ae1c-ccfb9b7d86bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: "www.custom-url.com is already mapped to a project" error when trying to point custom domain to App Engine app

2017-09-29 Thread 'Yannick (Cloud Platform Support)' via Google App Engine
Hello Adri, I assume it's too late for you to undelete that project? If so 
you should open a new Issue 
 on the Issue Tracker 
so it can be looked into.

On Friday, September 29, 2017 at 9:54:46 AM UTC-4, acasa...@infern.us wrote:
>
> Hello,
>  
>  It's also happening to me. I've got a domain that was used in another 
> project under the same google account. I deleted the project but forgot to 
> "unlink" the domain and now I cannot link it to the new project I've got. 
> It keeps telling me that "is already mapped to a project."
>
>  Can you point me to anything I can do to try to fix it or unlink it from 
> the previous project?
>
> Thanks in advance,
>  Adri
>
> On Thursday, September 28, 2017 at 3:59:01 AM UTC+2, Kenworth (Google 
> Cloud Platform) wrote:
>>
>> @Chris Can you send me privately your project-id?
>>
>> @Evan Since your case is a newly purchased domain, I recommend you open 
>> a new public issue tracker  as describe 
>> in this article  
>> so that proper attention will be given to it. You can reference this thread 
>> as a background to the case.
>>
>

-- 
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/d269f3a5-b22c-4bba-95a9-6d22aa83f3c1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: "www.custom-url.com is already mapped to a project" error when trying to point custom domain to App Engine app

2017-09-29 Thread acasajus
Hello,
 
 It's also happening to me. I've got a domain that was used in another 
project under the same google account. I deleted the project but forgot to 
"unlink" the domain and now I cannot link it to the new project I've got. 
It keeps telling me that "is already mapped to a project."

 Can you point me to anything I can do to try to fix it or unlink it from 
the previous project?

Thanks in advance,
 Adri

On Thursday, September 28, 2017 at 3:59:01 AM UTC+2, Kenworth (Google Cloud 
Platform) wrote:
>
> @Chris Can you send me privately your project-id?
>
> @Evan Since your case is a newly purchased domain, I recommend you open a 
> new public issue tracker  as describe in 
> this article  so 
> that proper attention will be given to it. You can reference this thread as 
> a background to the case.
>

-- 
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/c10e6e0c-af92-4adb-b012-11a1c0c94079%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Is there a way to get geolocation when the user is behind a proxy?

2017-09-29 Thread 'Yannick (Cloud Platform Support)' via Google App Engine
Older feature requests have been implemented before. Requests that get more 
attention on the issue tracker are often prioritized.

On Friday, September 29, 2017 at 3:44:59 AM UTC-4, Alex G wrote:
>
> Thanks, Yannick. I hope App Engine implements this since I'm interested in 
> the geolocation that Google provides.
> However, by looking at the creation date of the request (more than 5 years 
> ago), it is probably not going to happen.
>
>
> On Thursday, September 28, 2017 at 9:42:47 PM UTC+2, Yannick (Cloud 
> Platform Support) wrote:
>>
>> Hello Alex,
>>
>> Proxies will usually use the X-Forwarded-For header to denote which IP 
>> the request originated from. You may do your own geolocation based on that 
>> value.
>>
>> As for getting X-AppEngine-Country to use the value of X-Forwarded-For, 
>> there is an open request  for 
>> that feature on the Issue Tracker.
>>
>> On Thursday, September 28, 2017 at 10:10:32 AM UTC-4, Alex G wrote:
>>>
>>> I'm using Varnish (Fastly) between the user and App Engine (flexible). 
>>> When I read the X-AppEngine-Country header it seems it is getting the 
>>> IP from the proxy.
>>> This happens even when I set app.enable('trust proxy') 
>>>  in Express.
>>>
>>> Is there a way to overcome this?
>>>
>>

-- 
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/6eefbbb2-ea31-46a2-a386-2df7d5f13654%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: [Google Cloud Insiders] Transitioning from Google App Engine SDK to gcloud, what to expect

2017-09-29 Thread PK
GCS still uses gustil as another exception to gcloud, more notable if you ask 
me.

But what you say is what I expect to happen eventually… 

I hope we see more local simulators as well. For now GAES is pretty much the 
exception.

> On Sep 29, 2017, at 12:46 AM, Marcos Manuel Ortega  
> wrote:
> 
> While we're on the matter, (for Python runtime) isn't it awkard we're using 
> "dev_appserver.py" script to launch the local dev environment instead of 
> something like "gclud app browse dev"?
> 
> Not for me but I see the added difficulty for newcomers when I tell them to 
> use 2 different commands.
> 
> On Mon, Sep 25, 2017 at 3:36 PM 'Patrick Flynn' via Google Cloud Insiders 
>  > wrote:
> Hi Mariann,
> 
> Which App Engine language are you using?  
> 
> Feel free to send me details about your migration issues and I'll see if I 
> can route them to get them addressed.
> 
> 
> On Sun, Sep 24, 2017 at 5:16 PM, 'Mariann Nagy' via Google Cloud Insiders 
>  > wrote:
> This is great! I once tried migrating from the SDK, but then I got upset how 
> difficult the process was and just ended up downloading the SDK again. I'll 
> read your summary on Monday. Thanks for sharing!
> 
> On Sun, Sep 24, 2017 at 14:11 Alexey Maloletkin  > wrote:
> Great writing - thanks for sharing.
> Alexey
> 
> On Sun, Sep 24, 2017 at 2:17 PM PK mailto:p...@gae123.com>> 
> wrote:
> A few months ago I had asked if anybody has attempted this and got no 
> response. I finally made the transition; it was a bit bumpier than what I had 
> hoped but it appears to be a good improvement on deployment times plus one 
> less download to worry about.
> 
> I wrote up my experience in a post here 
>  for anybody else interested 
> in this.
> 
> Best,
> PK
> www.gae123.com 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google Cloud Insiders" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to google-cloud-insiders+unsubscr...@googlegroups.com 
> .
> To post to this group, send email to google-cloud-insid...@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/google-cloud-insiders 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/google-cloud-insiders/2C9E8B2B-6E4D-40F6-91E6-534830AE1EA7%40gae123.com
>  
> .
> For more options, visit https://groups.google.com/d/optout 
> .
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google Cloud Insiders" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to google-cloud-insiders+unsubscr...@googlegroups.com 
> .
> To post to this group, send email to google-cloud-insid...@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/google-cloud-insiders 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/google-cloud-insiders/CANNSRS114MaY5skqXUXL6qydtU7374%3DgEmsWWhRRfvvJZseefw%40mail.gmail.com
>  
> .
> For more options, visit https://groups.google.com/d/optout 
> .
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google Cloud Insiders" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to google-cloud-insiders+unsubscr...@googlegroups.com 
> .
> To post to this group, send email to google-cloud-insid...@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/google-cloud-insiders 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/google-cloud-insiders/CAOwFNr5M1r36AUe%3D_2va%2B6McwpDy2P68gRVXMbD82rnkJGrE9Q%40mail.gmail.com
>  
> .
> 
> For more options, visit https://groups.google.com/d/optout 
> 

[google-appengine] Re: [Google Cloud Insiders] Transitioning from Google App Engine SDK to gcloud, what to expect

2017-09-29 Thread Marcos Manuel Ortega
While we're on the matter, (for Python runtime) isn't it awkard we're using
"dev_appserver.py" script to launch the local dev environment instead of
something like "gclud app browse dev"?

Not for me but I see the added difficulty for newcomers when I tell them to
use 2 different commands.

On Mon, Sep 25, 2017 at 3:36 PM 'Patrick Flynn' via Google Cloud Insiders <
google-cloud-insid...@googlegroups.com> wrote:

> Hi Mariann,
>
> Which App Engine language are you using?
>
> Feel free to send me details about your migration issues and I'll see if I
> can route them to get them addressed.
>
>
> On Sun, Sep 24, 2017 at 5:16 PM, 'Mariann Nagy' via Google Cloud Insiders
>  wrote:
>
>> This is great! I once tried migrating from the SDK, but then I got upset
>> how difficult the process was and just ended up downloading the SDK again.
>> I'll read your summary on Monday. Thanks for sharing!
>>
>> On Sun, Sep 24, 2017 at 14:11 Alexey Maloletkin  wrote:
>>
>>> Great writing - thanks for sharing.
>>> Alexey
>>>
>>> On Sun, Sep 24, 2017 at 2:17 PM PK  wrote:
>>>
 A few months ago I had asked if anybody has attempted this and got no
 response. I finally made the transition; it was a bit bumpier than what I
 had hoped but it appears to be a good improvement on deployment times plus
 one less download to worry about.

 I wrote up my experience in a post here
  for anybody else
 interested in this.

 Best,
 PK
 www.gae123.com

 --
 You received this message because you are subscribed to the Google
 Groups "Google Cloud Insiders" group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to google-cloud-insiders+unsubscr...@googlegroups.com.
 To post to this group, send email to
 google-cloud-insid...@googlegroups.com.
 Visit this group at
 https://groups.google.com/group/google-cloud-insiders.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/google-cloud-insiders/2C9E8B2B-6E4D-40F6-91E6-534830AE1EA7%40gae123.com
 
 .
 For more options, visit https://groups.google.com/d/optout.

>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Google Cloud Insiders" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to google-cloud-insiders+unsubscr...@googlegroups.com.
>>> To post to this group, send email to
>>> google-cloud-insid...@googlegroups.com.
>>> Visit this group at
>>> https://groups.google.com/group/google-cloud-insiders.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/google-cloud-insiders/CANNSRS114MaY5skqXUXL6qydtU7374%3DgEmsWWhRRfvvJZseefw%40mail.gmail.com
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google Cloud Insiders" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to google-cloud-insiders+unsubscr...@googlegroups.com.
>> To post to this group, send email to
>> google-cloud-insid...@googlegroups.com.
>> Visit this group at https://groups.google.com/group/google-cloud-insiders
>> .
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/google-cloud-insiders/CAOwFNr5M1r36AUe%3D_2va%2B6McwpDy2P68gRVXMbD82rnkJGrE9Q%40mail.gmail.com
>> 
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Cloud Insiders" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-cloud-insiders+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-cloud-insid...@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-cloud-insiders.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-cloud-insiders/CACr3Jy1QC4gNwUyrPaoFmts%2B2WdxvkGB34uM5X%3DsD5AqZ80yzg%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

Marcos Manuel Ortega
CEO & Founder - Cloud, IoT & data engineer

www.indavelopers.com
i...@indavelopers.com
+34 685849264


[google-appengine] Re: Is there a way to get geolocation when the user is behind a proxy?

2017-09-29 Thread Alex G
Thanks, Yannick. I hope App Engine implements this since I'm interested in 
the geolocation that Google provides.
However, by looking at the creation date of the request (more than 5 years 
ago), it is probably not going to happen.


On Thursday, September 28, 2017 at 9:42:47 PM UTC+2, Yannick (Cloud 
Platform Support) wrote:
>
> Hello Alex,
>
> Proxies will usually use the X-Forwarded-For header to denote which IP the 
> request originated from. You may do your own geolocation based on that 
> value.
>
> As for getting X-AppEngine-Country to use the value of X-Forwarded-For, 
> there is an open request  for 
> that feature on the Issue Tracker.
>
> On Thursday, September 28, 2017 at 10:10:32 AM UTC-4, Alex G wrote:
>>
>> I'm using Varnish (Fastly) between the user and App Engine (flexible). 
>> When I read the X-AppEngine-Country header it seems it is getting the IP 
>> from the proxy.
>> This happens even when I set app.enable('trust proxy') 
>>  in Express.
>>
>> Is there a way to overcome this?
>>
>

-- 
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/94d545d0-8ecb-483a-a859-c5651e932940%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.