{"action":"created","issue":{"url":"https://api.github.com/repos/Starcounter/Starcounter/issues/2731","labels_url":"https://api.github.com/repos/Starcounter/Starcounter/issues/2731/labels{/name}","comments_url":"https://api.github.com/repos/Starcounter/Starcounter/issues/2731/comments","events_url":"https://api.github.com/repos/Starcounter/Starcounter/issues/2731/events","html_url":"https://github.com/Starcounter/Starcounter/issues/2731","id":80957618,"number":2731,"title":"Session gets regenerated for no reason","user":{"login":"warpech","id":566463,"avatar_url":"https://avatars.githubusercontent.com/u/566463?v=3","gravatar_id":"","url":"https://api.github.com/users/warpech","html_url":"https://github.com/warpech","followers_url":"https://api.github.com/users/warpech/followers","following_url":"https://api.github.com/users/warpech/following{/other_user}","gists_url":"https://api.github.com/users/warpech/gists{/gist_id}","starred_url":"https://api.github.com/users/warpech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/warpech/subscriptions","organizations_url":"https://api.github.com/users/warpech/orgs","repos_url":"https://api.github.com/users/warpech/repos","events_url":"https://api.github.com/users/warpech/events{/privacy}","received_events_url":"https://api.github.com/users/warpech/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-26T13:16:05Z","updated_at":"2015-05-26T13:17:28Z","closed_at":null,"body":"Running Launcher + Chatter app (happens also when **only** Launcher is running).\r\n\r\nRepeatable in 50% of page loads.\r\n\r\nThere comes some session id with the initial `text/html` response, which is then replaced in the consecutive `application/json` response:\r\n\r\nInitially comes `Set-Cookie:Location=%2F__default%2F389B5B6B05A82A2300000020; path=/`:\r\n\r\n![session](https://cloud.githubusercontent.com/assets/566463/7813269/c2ae86e6-03b9-11e5-8c43-777f81088318.png)\r\n\r\nWhich is then replaced with: `Set-Cookie:Location=%2F__default%2FF99D299F722102C110000030; path=/`\r\n\r\n![session2](https://cloud.githubusercontent.com/assets/566463/7813272/c5667e70-03b9-11e5-83ea-bfb7007bcb89.png)\r\n\r\nThat causes an exception in PuppetJS:\r\n\r\n> Uncaught Error: Session lost. Server replied with a different session ID that was already set. \r\nPossibly a server restart happened while you were working. \r\nPlease reload the page.\r\nPrevious session ID: /__default/389B5B6B05A82A2300000020\r\nNew session ID: /__default/F99D299F722102C110000030"},"comment":{"url":"https://api.github.com/repos/Starcounter/Starcounter/issues/comments/105521980","html_url":"https://github.com/Starcounter/Starcounter/issues/2731#issuecomment-105521980","issue_url":"https://api.github.com/repos/Starcounter/Starcounter/issues/2731","id":105521980,"user":{"login":"miyconst","id":6435556,"avatar_url":"https://avatars.githubusercontent.com/u/6435556?v=3","gravatar_id":"","url":"https://api.github.com/users/miyconst","html_url":"https://github.com/miyconst","followers_url":"https://api.github.com/users/miyconst/followers","following_url":"https://api.github.com/users/miyconst/following{/other_user}","gists_url":"https://api.github.com/users/miyconst/gists{/gist_id}","starred_url":"https://api.github.com/users/miyconst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miyconst/subscriptions","organizations_url":"https://api.github.com/users/miyconst/orgs","repos_url":"https://api.github.com/users/miyconst/repos","events_url":"https://api.github.com/users/miyconst/events{/privacy}","received_events_url":"https://api.github.com/users/miyconst/received_events","type":"User","site_admin":false},"created_at":"2015-05-26T13:17:28Z","updated_at":"2015-05-26T13:17:28Z","body":"This also happens with any other app + launcher."}}