Public bug reported: In our setup HAProxy implements https, with http at the backend. But due to incorrect behavior, api pagination returns incorrect protocol.
f.e. curl -g -i -X GET "https://network.lab.att.com:9696/v2.0/subnets.json?fields=<...>&limit=2" \ -H "User-Agent: python-neutronclient" \ -H "Accept: application/json" \ -H "X-Auth-Token: <token>" { "subnets": [ {"cidr": "18.1.1.0/24", "id": "bf2df430-47a5-420d-0000-c9a62936b996"}, {"cidr": "20.20.10.0/24", "id": "93051c51-48e6-4ac1-0000-3d3f0978aa72"} ], "subnets_links": [ { "href": "http://network.lab.att.com:9696/v2.0/subnets.json?fields=<...>&limit=2&marker=93051c51-48e6-4ac1-0000-3d3f0978aa72", "rel": "next"}, { "href": "http://network.lab.att.com:9696/v2.0/subnets.json?fields=<...>&limit=2&marker=bf2df430-47a5-420d-0000-c9a62936b996&page_reverse=True", "rel": "previous" } ] } As you may see in response we have http urls, instead of https. ** Affects: neutron Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1774460 Title: Neutron pagination ignores X-Forwarded-Proto header Status in neutron: New Bug description: In our setup HAProxy implements https, with http at the backend. But due to incorrect behavior, api pagination returns incorrect protocol. f.e. curl -g -i -X GET "https://network.lab.att.com:9696/v2.0/subnets.json?fields=<...>&limit=2" \ -H "User-Agent: python-neutronclient" \ -H "Accept: application/json" \ -H "X-Auth-Token: <token>" { "subnets": [ {"cidr": "18.1.1.0/24", "id": "bf2df430-47a5-420d-0000-c9a62936b996"}, {"cidr": "20.20.10.0/24", "id": "93051c51-48e6-4ac1-0000-3d3f0978aa72"} ], "subnets_links": [ { "href": "http://network.lab.att.com:9696/v2.0/subnets.json?fields=<...>&limit=2&marker=93051c51-48e6-4ac1-0000-3d3f0978aa72", "rel": "next"}, { "href": "http://network.lab.att.com:9696/v2.0/subnets.json?fields=<...>&limit=2&marker=bf2df430-47a5-420d-0000-c9a62936b996&page_reverse=True", "rel": "previous" } ] } As you may see in response we have http urls, instead of https. To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1774460/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

