{"action":"created","issue":{"url":"https://api.github.com/repos/WHAnonymous/Chat-API/issues/642","labels_url":"https://api.github.com/repos/WHAnonymous/Chat-API/issues/642/labels{/name}","comments_url":"https://api.github.com/repos/WHAnonymous/Chat-API/issues/642/comments","events_url":"https://api.github.com/repos/WHAnonymous/Chat-API/issues/642/events","html_url":"https://github.com/WHAnonymous/Chat-API/issues/642","id":71273953,"number":642,"title":"Script running - Internet Connection Problem - IsConnected","user":{"login":"mdecima","id":5495786,"avatar_url":"https://avatars.githubusercontent.com/u/5495786?v=3","gravatar_id":"","url":"https://api.github.com/users/mdecima","html_url":"https://github.com/mdecima","followers_url":"https://api.github.com/users/mdecima/followers","following_url":"https://api.github.com/users/mdecima/following{/other_user}","gists_url":"https://api.github.com/users/mdecima/gists{/gist_id}","starred_url":"https://api.github.com/users/mdecima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdecima/subscriptions","organizations_url":"https://api.github.com/users/mdecima/orgs","repos_url":"https://api.github.com/users/mdecima/repos","events_url":"https://api.github.com/users/mdecima/events{/privacy}","received_events_url":"https://api.github.com/users/mdecima/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/WHAnonymous/Chat-API/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":23,"created_at":"2015-04-27T12:45:52Z","updated_at":"2015-09-21T09:40:24Z","closed_at":"2015-07-19T15:37:02Z","body":"I have this problem.\r\nMy script is running ok, I'm checking the `IsConnected` method.\r\nIn some moment, my machine lose the internet connection, the `IsConnected()` still returning true. but messages obviously are not sent.\r\nWhen the internet connection came back, the situation doesn't change. `IsConnected = true` and messages are not sent.\r\nIf I restart my script,everything returns to work well\r\nCan you give me a clue, how can I detect or avoid this situation?"},"comment":{"url":"https://api.github.com/repos/WHAnonymous/Chat-API/issues/comments/141925504","html_url":"https://github.com/WHAnonymous/Chat-API/issues/642#issuecomment-141925504","issue_url":"https://api.github.com/repos/WHAnonymous/Chat-API/issues/642","id":141925504,"user":{"login":"bobvandevijver","id":1835343,"avatar_url":"https://avatars.githubusercontent.com/u/1835343?v=3","gravatar_id":"","url":"https://api.github.com/users/bobvandevijver","html_url":"https://github.com/bobvandevijver","followers_url":"https://api.github.com/users/bobvandevijver/followers","following_url":"https://api.github.com/users/bobvandevijver/following{/other_user}","gists_url":"https://api.github.com/users/bobvandevijver/gists{/gist_id}","starred_url":"https://api.github.com/users/bobvandevijver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobvandevijver/subscriptions","organizations_url":"https://api.github.com/users/bobvandevijver/orgs","repos_url":"https://api.github.com/users/bobvandevijver/repos","events_url":"https://api.github.com/users/bobvandevijver/events{/privacy}","received_events_url":"https://api.github.com/users/bobvandevijver/received_events","type":"User","site_admin":false},"created_at":"2015-09-21T09:40:24Z","updated_at":"2015-09-21T09:40:24Z","body":"@mgp25 And I was wondering why my bot lost connection every 5 minutes, but now I know. Before I did not need to use the reconnect every 5 minutes, and it actually detected a disconnected network. I would like to suggest to add a parameter to enable/disable this behavior. I can make a PR if wanted."}}