Needs to handle http header 'X-Forwarded-Proto'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Solum |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Imagine we have a load balancer accepting *https* connections only and talking to solum-api via *http*. The LB typically talks to solum-api using 'Host' and 'X-Forwarded-Proto' headers as following:
$ curl -H "x-auth-token: `cat ~/local_token`" -H "host: load.balancer.com" -H "X-Forwarded-Proto: https" -i http://
HTTP/1.0 200 OK
Date: Thu, 21 Aug 2014 03:33:21 GMT
Server: WSGIServer/0.1 Python/2.7.3
Content-Length: 513
Content-Type: application/json; charset=UTF-8
{"name": "solum", "services_uri": "http://
So solum handles "Host" header correctly but ignores "X-Forwarded-
Changed in solum: | |
status: | New → Confirmed |
description: | updated |
description: | updated |
Changed in solum: | |
status: | Fix Committed → Fix Released |
For reference, Heat has fixed a similar issue:
https:/ /review. openstack. org/#/c/ 64142/