{"action":"created","issue":{"url":"https://api.github.com/repos/ably/ably-dotnet/issues/101","repository_url":"https://api.github.com/repos/ably/ably-dotnet","labels_url":"https://api.github.com/repos/ably/ably-dotnet/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/ably/ably-dotnet/issues/101/comments","events_url":"https://api.github.com/repos/ably/ably-dotnet/issues/101/events","html_url":"https://github.com/ably/ably-dotnet/issues/101","id":225950166,"node_id":"MDU6SXNzdWUyMjU5NTAxNjY=","number":101,"title":"There is already one outstanding 'SendAsync' call for this WebSocket instance ","user":{"login":"lovetofail","id":4531542,"node_id":"MDQ6VXNlcjQ1MzE1NDI=","avatar_url":"https://avatars3.githubusercontent.com/u/4531542?v=4","gravatar_id":"","url":"https://api.github.com/users/lovetofail","html_url":"https://github.com/lovetofail","followers_url":"https://api.github.com/users/lovetofail/followers","following_url":"https://api.github.com/users/lovetofail/following{/other_user}","gists_url":"https://api.github.com/users/lovetofail/gists{/gist_id}","starred_url":"https://api.github.com/users/lovetofail/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lovetofail/subscriptions","organizations_url":"https://api.github.com/users/lovetofail/orgs","repos_url":"https://api.github.com/users/lovetofail/repos","events_url":"https://api.github.com/users/lovetofail/events{/privacy}","received_events_url":"https://api.github.com/users/lovetofail/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-05-03T11:02:53Z","updated_at":"2018-10-17T12:01:37Z","closed_at":null,"author_association":"NONE","body":"Got this exception using this commit f84f5b5bfdc77df234f376ae6502290ac8487851\r\n`There is already one outstanding 'SendAsync' call for this WebSocket instance. ReceiveAsync and SendAsync can be called simultaneously, but at most one outstanding operation for each of them is allowed at the same time.`\r\n ```\r\n  at System.Net.WebSockets.WebSocketBase.<SendAsyncCore>d__47.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult()\r\n   at IO.Ably.Transport.MsWebSocketConnection.<SendData>d__17.MoveNext() in D:\\Temp\\Push\\ably-dotnet\\src\\IO.Ably.Shared\\Transport\\MsWebSocketConnection.cs:line 88\r\n```"},"comment":{"url":"https://api.github.com/repos/ably/ably-dotnet/issues/comments/430600666","html_url":"https://github.com/ably/ably-dotnet/issues/101#issuecomment-430600666","issue_url":"https://api.github.com/repos/ably/ably-dotnet/issues/101","id":430600666,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMDYwMDY2Ng==","user":{"login":"DaTester","id":29959527,"node_id":"MDQ6VXNlcjI5OTU5NTI3","avatar_url":"https://avatars0.githubusercontent.com/u/29959527?v=4","gravatar_id":"","url":"https://api.github.com/users/DaTester","html_url":"https://github.com/DaTester","followers_url":"https://api.github.com/users/DaTester/followers","following_url":"https://api.github.com/users/DaTester/following{/other_user}","gists_url":"https://api.github.com/users/DaTester/gists{/gist_id}","starred_url":"https://api.github.com/users/DaTester/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DaTester/subscriptions","organizations_url":"https://api.github.com/users/DaTester/orgs","repos_url":"https://api.github.com/users/DaTester/repos","events_url":"https://api.github.com/users/DaTester/events{/privacy}","received_events_url":"https://api.github.com/users/DaTester/received_events","type":"User","site_admin":false},"created_at":"2018-10-17T12:01:37Z","updated_at":"2018-10-17T12:01:37Z","author_association":"NONE","body":"Hi @withakay ,  you can close this issue.  We found the issue was caused by sending a message on the sleep event,  it seems to have caused  some sort of race hazard in our code.  \r\nWe do have another issue - System.NullReferenceException - Object reference not set to an instance of an object. which occurs randomly when device is woken from sleep.  but i can't reproduce on demand.  I'll update you when i get more info in this."}}
{"actor":{"display_login":"DaTester"}}