{"action":"created","issue":{"url":"https://api.github.com/repos/PlayFab/consuldotnet/issues/7","labels_url":"https://api.github.com/repos/PlayFab/consuldotnet/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/PlayFab/consuldotnet/issues/7/comments","events_url":"https://api.github.com/repos/PlayFab/consuldotnet/issues/7/events","html_url":"https://github.com/PlayFab/consuldotnet/issues/7","id":79538239,"number":7,"title":"Session no longer exists errors need to be handled","user":{"login":"highlyunavailable","id":6266125,"avatar_url":"https://avatars.githubusercontent.com/u/6266125?v=3","gravatar_id":"","url":"https://api.github.com/users/highlyunavailable","html_url":"https://github.com/highlyunavailable","followers_url":"https://api.github.com/users/highlyunavailable/followers","following_url":"https://api.github.com/users/highlyunavailable/following{/other_user}","gists_url":"https://api.github.com/users/highlyunavailable/gists{/gist_id}","starred_url":"https://api.github.com/users/highlyunavailable/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/highlyunavailable/subscriptions","organizations_url":"https://api.github.com/users/highlyunavailable/orgs","repos_url":"https://api.github.com/users/highlyunavailable/repos","events_url":"https://api.github.com/users/highlyunavailable/events{/privacy}","received_events_url":"https://api.github.com/users/highlyunavailable/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"highlyunavailable","id":6266125,"avatar_url":"https://avatars.githubusercontent.com/u/6266125?v=3","gravatar_id":"","url":"https://api.github.com/users/highlyunavailable","html_url":"https://github.com/highlyunavailable","followers_url":"https://api.github.com/users/highlyunavailable/followers","following_url":"https://api.github.com/users/highlyunavailable/following{/other_user}","gists_url":"https://api.github.com/users/highlyunavailable/gists{/gist_id}","starred_url":"https://api.github.com/users/highlyunavailable/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/highlyunavailable/subscriptions","organizations_url":"https://api.github.com/users/highlyunavailable/orgs","repos_url":"https://api.github.com/users/highlyunavailable/repos","events_url":"https://api.github.com/users/highlyunavailable/events{/privacy}","received_events_url":"https://api.github.com/users/highlyunavailable/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-05-22T17:24:12Z","updated_at":"2015-05-26T14:02:11Z","closed_at":null,"body":"From @rmul:\r\n\r\nI have an issue and would like to check if you think this is related:\r\nWhen a semaphore has been aqcuired and the session gets lost (for instance use the api to destroy the session) the RenewPeriodic method throws a \"Session no longer exists\" exception but catches that also and a cycle later a \"Session timed out\" exception is thrown which is not handled by the semaphore.acquire method.\r\nIf it is not related I am more than willing to create a new issue and help out with it.\r\n\r\n---\r\n\r\nThis is a broader error in that both locks and semaphores need to be looked at."},"comment":{"url":"https://api.github.com/repos/PlayFab/consuldotnet/issues/comments/105534950","html_url":"https://github.com/PlayFab/consuldotnet/issues/7#issuecomment-105534950","issue_url":"https://api.github.com/repos/PlayFab/consuldotnet/issues/7","id":105534950,"user":{"login":"highlyunavailable","id":6266125,"avatar_url":"https://avatars.githubusercontent.com/u/6266125?v=3","gravatar_id":"","url":"https://api.github.com/users/highlyunavailable","html_url":"https://github.com/highlyunavailable","followers_url":"https://api.github.com/users/highlyunavailable/followers","following_url":"https://api.github.com/users/highlyunavailable/following{/other_user}","gists_url":"https://api.github.com/users/highlyunavailable/gists{/gist_id}","starred_url":"https://api.github.com/users/highlyunavailable/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/highlyunavailable/subscriptions","organizations_url":"https://api.github.com/users/highlyunavailable/orgs","repos_url":"https://api.github.com/users/highlyunavailable/repos","events_url":"https://api.github.com/users/highlyunavailable/events{/privacy}","received_events_url":"https://api.github.com/users/highlyunavailable/received_events","type":"User","site_admin":false},"created_at":"2015-05-26T14:02:11Z","updated_at":"2015-05-26T14:02:11Z","body":"@rmul It looks like you're using an older version. I cloned a copy of your project and swapped out the consul DLL files with one from my build and it appears to be renewing sessions."}}