{"action":"created","issue":{"url":"https://api.github.com/repos/containous/traefik/issues/3926","repository_url":"https://api.github.com/repos/containous/traefik","labels_url":"https://api.github.com/repos/containous/traefik/issues/3926/labels{/name}","comments_url":"https://api.github.com/repos/containous/traefik/issues/3926/comments","events_url":"https://api.github.com/repos/containous/traefik/issues/3926/events","html_url":"https://github.com/containous/traefik/issues/3926","id":363504840,"node_id":"MDU6SXNzdWUzNjM1MDQ4NDA=","number":3926,"title":"Traefik-Ingress sticky sessions are not working with HTTPS","user":{"login":"SubhakarKotta","id":6253303,"node_id":"MDQ6VXNlcjYyNTMzMDM=","avatar_url":"https://avatars0.githubusercontent.com/u/6253303?v=4","gravatar_id":"","url":"https://api.github.com/users/SubhakarKotta","html_url":"https://github.com/SubhakarKotta","followers_url":"https://api.github.com/users/SubhakarKotta/followers","following_url":"https://api.github.com/users/SubhakarKotta/following{/other_user}","gists_url":"https://api.github.com/users/SubhakarKotta/gists{/gist_id}","starred_url":"https://api.github.com/users/SubhakarKotta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SubhakarKotta/subscriptions","organizations_url":"https://api.github.com/users/SubhakarKotta/orgs","repos_url":"https://api.github.com/users/SubhakarKotta/repos","events_url":"https://api.github.com/users/SubhakarKotta/events{/privacy}","received_events_url":"https://api.github.com/users/SubhakarKotta/received_events","type":"User","site_admin":false},"labels":[{"id":601408165,"node_id":"MDU6TGFiZWw2MDE0MDgxNjU=","url":"https://api.github.com/repos/containous/traefik/labels/area/sticky-session","name":"area/sticky-session","color":"bfdadc","default":false},{"id":617829381,"node_id":"MDU6TGFiZWw2MTc4MjkzODE=","url":"https://api.github.com/repos/containous/traefik/labels/contributor/waiting-for-feedback","name":"contributor/waiting-for-feedback","color":"0052cc","default":false},{"id":259872491,"node_id":"MDU6TGFiZWwyNTk4NzI0OTE=","url":"https://api.github.com/repos/containous/traefik/labels/kind/question","name":"kind/question","color":"cc317c","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-09-25T10:13:55Z","updated_at":"2019-01-02T00:00:04Z","closed_at":"2019-01-02T00:00:03Z","author_association":"NONE","body":"### Issue:\r\nWhen I ran the application on Traefik Node Port HTTPS Service the sticky sessions are not working properly\r\n\r\n## Able to access URL properly but Sticky Sessions **doesnt** work Node Port (HTTPS)\r\nhttps://myapp-82.sm.k8s.dev.myapp.io:**31946**\r\n\r\n\r\n### Working properly with out any issues with Sticky Sessions Node Port (HTTP)\r\nhttp://myapp-82.sm.k8s.dev.myapp.io:**30548**\r\n\r\n\r\n\r\n\r\n### Kubernetes Bare Metal Version:\r\n```\r\nClient Version: version.Info{Major:\"1\", Minor:\"11\", GitVersion:\"v1.11.3\", GitCommit:\"a4529464e4629c21224b3d52edfe0ea91b072862\", GitTreeState:\"clean\", BuildDate:\"2018-09-09T18:02:47Z\", GoVersion:\"go1.10.3\", Compiler:\"gc\", Platform:\"linux/amd64\"}\r\nServer Version: version.Info{Major:\"1\", Minor:\"11\", GitVersion:\"v1.11.3\", GitCommit:\"a4529464e4629c21224b3d52edfe0ea91b072862\", GitTreeState:\"clean\", BuildDate:\"2018-09-09T17:53:03Z\", GoVersion:\"go1.10.3\", Compiler:\"gc\", Platform:\"linux/amd64\"}\r\n```\r\n### Operating System\r\nUbuntu\r\n\r\n\r\n### Application Service Configuration\r\n```json\r\n{\r\n  \"kind\": \"Service\",\r\n  \"apiVersion\": \"v1\",\r\n  \"metadata\": {\r\n    \"name\": \"myapp-web\",\r\n    \"namespace\": \"myapp\",\r\n    \"selfLink\": \"/api/v1/namespaces/pega/services/myapp-web\",\r\n    \"uid\": \"5ad2fe01-bf24-11e8-9466-00505623bd42\",\r\n    \"resourceVersion\": \"272065\",\r\n    \"creationTimestamp\": \"2018-09-23T11:32:29Z\",\r\n    \"annotations\": {\r\n ###     \"traefik.ingress.kubernetes.io/affinity\": \"true\",\r\n ###     \"traefik.ingress.kubernetes.io/load-balancer-method\": \"drr\",\r\n ###   \"traefik.ingress.kubernetes.io/max-conn-amount\": \"10\",\r\n ###      \"traefik.ingress.kubernetes.io/session-cookie-name\": \"JSESSIONID\"\r\n    }\r\n  },\r\n  \"spec\": {\r\n    \"ports\": [\r\n      {\r\n        \"name\": \"http\",\r\n        \"protocol\": \"TCP\",\r\n        \"port\": 80,\r\n        \"targetPort\": 8080\r\n      }\r\n    ],\r\n    \"selector\": {\r\n      \"app\": \"myapp-web\"\r\n    },\r\n    \"clusterIP\": \"10.106.245.124\",\r\n    \"type\": \"ClusterIP\",\r\n    \"sessionAffinity\": \"None\"\r\n  },\r\n  \"status\": {\r\n    \"loadBalancer\": {}\r\n  }\r\n}\r\n```\r\n### Ingress Configuration\r\n```json\r\n{\r\n  \"kind\": \"Ingress\",\r\n  \"apiVersion\": \"extensions/v1beta1\",\r\n  \"metadata\": {\r\n    \"name\": \"traefik-ingress-myapp\",\r\n    \"namespace\": \"pega\",\r\n    \"selfLink\": \"/apis/extensions/v1beta1/namespaces/myapp/ingresses/myapp-ingress-pega\",\r\n    \"uid\": \"8485d85a-c088-11e8-9466-00505623bd42\",\r\n    \"resourceVersion\": \"250419\",\r\n    \"generation\": 1,\r\n    \"creationTimestamp\": \"2018-09-25T06:02:00Z\",\r\n    \"annotations\": {\r\n      \"kubernetes.io/ingress.class\": \"traefik\"\r\n    }\r\n  },\r\n  \"spec\": {\r\n    \"tls\": [\r\n      {\r\n        \"hosts\": [\r\n          \"myapp-82.sm.k8s.dev.myapp.io\"\r\n        ],\r\n        **\"secretName\": \"myapp-82.sm.k8s.dev.myapp.io.tls\"**\r\n      }\r\n    ],\r\n    \"rules\": [\r\n      {\r\n        \"host\": \"myapp-82.sm.k8s.dev.myapp.io\",\r\n        \"http\": {\r\n          \"paths\": [\r\n            {\r\n              \"backend\": {\r\n                \"serviceName\": \"myapp-web\",\r\n                \"servicePort\": 80\r\n              }\r\n            }\r\n          ]\r\n        }\r\n      }\r\n    ]\r\n  },\r\n  \"status\": {\r\n    \"loadBalancer\": {}\r\n  }\r\n}\r\n```\r\n### Traefik Service Configuration\r\n```json\r\n{\r\n  \"kind\": \"Service\",\r\n  \"apiVersion\": \"v1\",\r\n  \"metadata\": {\r\n    \"name\": \"traefik\",\r\n    \"namespace\": \"traefik\",\r\n    \"selfLink\": \"/api/v1/namespaces/traefik/services/traefik\",\r\n    \"uid\": \"a8978ab5-c07f-11e8-9466-00505623bd42\",\r\n    \"resourceVersion\": \"250107\",\r\n    \"creationTimestamp\": \"2018-09-25T04:58:35Z\",\r\n    \"labels\": {\r\n      \"app\": \"traefik\",\r\n      \"chart\": \"traefik-1.43.0\",\r\n      \"heritage\": \"Tiller\",\r\n      \"release\": \"traefik\"\r\n    }\r\n  },\r\n  \"spec\": {\r\n    \"ports\": [\r\n      {\r\n        \"name\": \"http\",\r\n        \"protocol\": \"TCP\",\r\n        \"port\": 80,\r\n        \"targetPort\": \"http\",\r\n        \"nodePort\": **30548**\r\n      },\r\n      {\r\n        \"name\": \"https\",\r\n        \"protocol\": \"TCP\",\r\n        \"port\": 443,\r\n        \"targetPort\": 443,\r\n        \"nodePort\": **31946**\r\n      },\r\n      {\r\n        \"name\": \"metrics\",\r\n        \"protocol\": \"TCP\",\r\n        \"port\": 8080,\r\n        \"targetPort\": \"dash\",\r\n        \"nodePort\": 31746\r\n      }\r\n    ],\r\n    \"selector\": {\r\n      \"app\": \"traefik\",\r\n      \"release\": \"traefik\"\r\n    },\r\n    \"clusterIP\": \"10.103.139.201\",\r\n    \"type\": \"LoadBalancer\",\r\n    \"sessionAffinity\": \"None\",\r\n    \"externalTrafficPolicy\": \"Cluster\"\r\n  },\r\n  \"status\": {\r\n    \"loadBalancer\": {}\r\n  }\r\n}\r\n```\r\n### What is your environment & configuration (arguments, toml, provider, platform, ...)?\r\n```toml\r\ndebug = true\r\ndefaultEntryPoints = [\"http\",\"https\"]\r\n[entryPoints]\r\n  [entryPoints.http]\r\n  address = \":80\"\r\n  compress = true\r\n  [entryPoints.https]\r\n  address = \":443\"\r\n  compress = true\r\n    [entryPoints.https.tls]\r\n      [[entryPoints.https.tls.certificates]]\r\n      CertFile = \"/ssl/tls.crt\"\r\n      KeyFile = \"/ssl/tls.key\"\r\n  [entryPoints.traefik]\r\n  address = \":8080\"\r\n[kubernetes]\r\n[api]\r\n  entryPoint = \"traefik\"\r\n  dashboard = true\r\n[metrics]\r\n  [metrics.prometheus]\r\n    entryPoint = \"traefik\"\r\n```\r\n\r\n### If applicable, please paste the log output in DEBUG level (`--logLevel=DEBUG` switch)\r\n"},"comment":{"url":"https://api.github.com/repos/containous/traefik/issues/comments/450766725","html_url":"https://github.com/containous/traefik/issues/3926#issuecomment-450766725","issue_url":"https://api.github.com/repos/containous/traefik/issues/3926","id":450766725,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDc2NjcyNQ==","user":{"login":"traefiker","id":30906710,"node_id":"MDQ6VXNlcjMwOTA2NzEw","avatar_url":"https://avatars2.githubusercontent.com/u/30906710?v=4","gravatar_id":"","url":"https://api.github.com/users/traefiker","html_url":"https://github.com/traefiker","followers_url":"https://api.github.com/users/traefiker/followers","following_url":"https://api.github.com/users/traefiker/following{/other_user}","gists_url":"https://api.github.com/users/traefiker/gists{/gist_id}","starred_url":"https://api.github.com/users/traefiker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/traefiker/subscriptions","organizations_url":"https://api.github.com/users/traefiker/orgs","repos_url":"https://api.github.com/users/traefiker/repos","events_url":"https://api.github.com/users/traefiker/events{/privacy}","received_events_url":"https://api.github.com/users/traefiker/received_events","type":"User","site_admin":false},"created_at":"2019-01-02T00:00:04Z","updated_at":"2019-01-02T00:00:04Z","author_association":"NONE","body":"Hi! I'm Træfiker :robot: the bot in charge of tidying up the issues.\n\nI have to close this one because of its lack of activity :disappointed:\n\nFeel free to re-open it or join our [Slack workspace](https://traefik.herokuapp.com/) for more [community #support](https://traefik.slack.com/messages/C0CDT22PJ/).\n  "}}
{"actor":{"display_login":"traefiker"}}