{"action":"created","issue":{"url":"https://api.github.com/repos/thinktecture/relayserver/issues/98","repository_url":"https://api.github.com/repos/thinktecture/relayserver","labels_url":"https://api.github.com/repos/thinktecture/relayserver/issues/98/labels{/name}","comments_url":"https://api.github.com/repos/thinktecture/relayserver/issues/98/comments","events_url":"https://api.github.com/repos/thinktecture/relayserver/issues/98/events","html_url":"https://github.com/thinktecture/relayserver/issues/98","id":298161903,"number":98,"title":"Active connection sometimes is not cleaned up","user":{"login":"jasminsehic","id":3346727,"avatar_url":"https://avatars3.githubusercontent.com/u/3346727?v=4","gravatar_id":"","url":"https://api.github.com/users/jasminsehic","html_url":"https://github.com/jasminsehic","followers_url":"https://api.github.com/users/jasminsehic/followers","following_url":"https://api.github.com/users/jasminsehic/following{/other_user}","gists_url":"https://api.github.com/users/jasminsehic/gists{/gist_id}","starred_url":"https://api.github.com/users/jasminsehic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasminsehic/subscriptions","organizations_url":"https://api.github.com/users/jasminsehic/orgs","repos_url":"https://api.github.com/users/jasminsehic/repos","events_url":"https://api.github.com/users/jasminsehic/events{/privacy}","received_events_url":"https://api.github.com/users/jasminsehic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-19T05:02:32Z","updated_at":"2018-02-19T05:12:55Z","closed_at":null,"author_association":"NONE","body":"### Actual behavior\r\nTwo active connections are kept in ActiveConnections table causing an issue with relaying of requests where one request will go to ConnectionId No.1 and timeout, and the next request will go to ConnectionId No.2 and work, next request will then go to ConnectionId No.1 again and timeout and next request will go to ConnectionId No.2 and work. Basically causing only every second request to work.\r\n![image](https://user-images.githubusercontent.com/3346727/36363037-a930d46a-1574-11e8-9656-d4f0cdcb2d43.png)\r\n\r\n### Expected behavior\r\nOlder ConnectionId should be dropped after a very short period of inactivity.\r\n\r\n### Steps to reproduce\r\nHappens randomly, usually after a long period of inactivity maybe. Not 100% sure.\r\n\r\n### Version\r\ndevelop\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/thinktecture/relayserver/issues/comments/366590535","html_url":"https://github.com/thinktecture/relayserver/issues/98#issuecomment-366590535","issue_url":"https://api.github.com/repos/thinktecture/relayserver/issues/98","id":366590535,"user":{"login":"jasminsehic","id":3346727,"avatar_url":"https://avatars3.githubusercontent.com/u/3346727?v=4","gravatar_id":"","url":"https://api.github.com/users/jasminsehic","html_url":"https://github.com/jasminsehic","followers_url":"https://api.github.com/users/jasminsehic/followers","following_url":"https://api.github.com/users/jasminsehic/following{/other_user}","gists_url":"https://api.github.com/users/jasminsehic/gists{/gist_id}","starred_url":"https://api.github.com/users/jasminsehic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasminsehic/subscriptions","organizations_url":"https://api.github.com/users/jasminsehic/orgs","repos_url":"https://api.github.com/users/jasminsehic/repos","events_url":"https://api.github.com/users/jasminsehic/events{/privacy}","received_events_url":"https://api.github.com/users/jasminsehic/received_events","type":"User","site_admin":false},"created_at":"2018-02-19T05:12:55Z","updated_at":"2018-02-19T05:12:55Z","author_association":"NONE","body":"At 19:31:19 on 17 February connection id (45bc3e39-300e-4814-9504-b272c6a5aade) stopped responding to heartbeats. See attached log file\r\n[20180217.log](https://github.com/thinktecture/relayserver/files/1735595/20180217.log)\r\n\r\nAt 19:38:02 on 17 February connection id (9418f235-3c0c-4b1c-aa7d-efb666515ff2) was established and started working. See attached log file\r\n[20180217.log](https://github.com/thinktecture/relayserver/files/1735595/20180217.log)\r\n\r\nNot even removing the zombie entry from the ActiveConnections table fixes the issue. Restarting the On-Premise Connector service does not solve the problem. Only way to clear this problem at the moment is to restart the RelayServer service on the server."}}
{"actor":{"display_login":"jasminsehic"}}