{"action":"created","issue":{"url":"https://api.github.com/repos/rancher/rancher/issues/2442","labels_url":"https://api.github.com/repos/rancher/rancher/issues/2442/labels{/name}","comments_url":"https://api.github.com/repos/rancher/rancher/issues/2442/comments","events_url":"https://api.github.com/repos/rancher/rancher/issues/2442/events","html_url":"https://github.com/rancher/rancher/issues/2442","id":113208602,"number":2442,"title":"Unable to listen for both HTTP and HTTPS with Rancher load balancer","user":{"login":"bilal","id":60473,"avatar_url":"https://avatars.githubusercontent.com/u/60473?v=3","gravatar_id":"","url":"https://api.github.com/users/bilal","html_url":"https://github.com/bilal","followers_url":"https://api.github.com/users/bilal/followers","following_url":"https://api.github.com/users/bilal/following{/other_user}","gists_url":"https://api.github.com/users/bilal/gists{/gist_id}","starred_url":"https://api.github.com/users/bilal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bilal/subscriptions","organizations_url":"https://api.github.com/users/bilal/orgs","repos_url":"https://api.github.com/users/bilal/repos","events_url":"https://api.github.com/users/bilal/events{/privacy}","received_events_url":"https://api.github.com/users/bilal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-25T05:52:12Z","updated_at":"2015-10-26T22:12:29Z","closed_at":null,"body":"I tested two scenarios and both seem to fail:\r\n\r\n1.  Listen on HTTP and HTTPS on the same port\r\n2. Listen on HTTP and HTTPS on different ports for the same target service\r\n\r\nMy Rancher setup:\r\n\r\nRancher\tv0.42.0 (I upgraded from an earlier version)\r\nCattle\tv0.102.0\r\nUser Interface\tv0.57.0\r\nRancher Compose\tv0.4.3\r\n\r\nMore details:\r\n\r\n1) Listen on HTTP and HTTPS on the same port\r\n\r\nWhen I configure HTTP and HTTPS on the same port for a target service (shown below) HTTP stops working\r\n![image](https://cloud.githubusercontent.com/assets/60473/10714193/4e2ea596-7ab8-11e5-8b2c-5954bb190cee.png)\r\n\r\n2) Listen on HTTP and HTTPS on different ports for the same target service\r\n\r\nI configured HTTP on port 9000 and HTTPS on port 9001 with the same target port and target service. HTTPS (on 9001) doesn't work (connection refused) but HTTP (on 9000) works. \r\n \r\n![image](https://cloud.githubusercontent.com/assets/60473/10714212/5afc1078-7ab9-11e5-8631-92f4a30a2dd0.png)\r\n\r\nI then configured HTTPS on port 9000 and HTTP on port 9001 with the same target port and target service. HTTP (on port 9001) doesn't work but HTTPS (on 9000) works. \r\n![image](https://cloud.githubusercontent.com/assets/60473/10714230/663bf4a2-7aba-11e5-910c-a8febecd5354.png)\r\n\r\n\r\nAnd then when I go and view/edit the load balancer it only shows one of the listening ports configured:\r\n![image](https://cloud.githubusercontent.com/assets/60473/10714237/ef7c2232-7aba-11e5-94a1-0bbcbee46493.png)\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/rancher/rancher/issues/comments/151299214","html_url":"https://github.com/rancher/rancher/issues/2442#issuecomment-151299214","issue_url":"https://api.github.com/repos/rancher/rancher/issues/2442","id":151299214,"user":{"login":"cusspvz","id":3604053,"avatar_url":"https://avatars.githubusercontent.com/u/3604053?v=3","gravatar_id":"","url":"https://api.github.com/users/cusspvz","html_url":"https://github.com/cusspvz","followers_url":"https://api.github.com/users/cusspvz/followers","following_url":"https://api.github.com/users/cusspvz/following{/other_user}","gists_url":"https://api.github.com/users/cusspvz/gists{/gist_id}","starred_url":"https://api.github.com/users/cusspvz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cusspvz/subscriptions","organizations_url":"https://api.github.com/users/cusspvz/orgs","repos_url":"https://api.github.com/users/cusspvz/repos","events_url":"https://api.github.com/users/cusspvz/events{/privacy}","received_events_url":"https://api.github.com/users/cusspvz/received_events","type":"User","site_admin":false},"created_at":"2015-10-26T22:12:29Z","updated_at":"2015-10-26T22:12:29Z","body":"I've figured this out, and reported more technical details on #2450. You can workaround this by reading the second comment."}}