{"action":"closed","issue":{"url":"https://api.github.com/repos/BundledSticksInkorperated/Discore/issues/48","repository_url":"https://api.github.com/repos/BundledSticksInkorperated/Discore","labels_url":"https://api.github.com/repos/BundledSticksInkorperated/Discore/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/BundledSticksInkorperated/Discore/issues/48/comments","events_url":"https://api.github.com/repos/BundledSticksInkorperated/Discore/issues/48/events","html_url":"https://github.com/BundledSticksInkorperated/Discore/issues/48","id":308310558,"number":48,"title":"Shards are still erroneously failing to due Gateway URL IO errors","user":{"login":"Francessco121","id":6609531,"avatar_url":"https://avatars1.githubusercontent.com/u/6609531?v=4","gravatar_id":"","url":"https://api.github.com/users/Francessco121","html_url":"https://github.com/Francessco121","followers_url":"https://api.github.com/users/Francessco121/followers","following_url":"https://api.github.com/users/Francessco121/following{/other_user}","gists_url":"https://api.github.com/users/Francessco121/gists{/gist_id}","starred_url":"https://api.github.com/users/Francessco121/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Francessco121/subscriptions","organizations_url":"https://api.github.com/users/Francessco121/orgs","repos_url":"https://api.github.com/users/Francessco121/repos","events_url":"https://api.github.com/users/Francessco121/events{/privacy}","received_events_url":"https://api.github.com/users/Francessco121/received_events","type":"User","site_admin":false},"labels":[{"id":431696804,"url":"https://api.github.com/repos/BundledSticksInkorperated/Discore/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":{"login":"Francessco121","id":6609531,"avatar_url":"https://avatars1.githubusercontent.com/u/6609531?v=4","gravatar_id":"","url":"https://api.github.com/users/Francessco121","html_url":"https://github.com/Francessco121","followers_url":"https://api.github.com/users/Francessco121/followers","following_url":"https://api.github.com/users/Francessco121/following{/other_user}","gists_url":"https://api.github.com/users/Francessco121/gists{/gist_id}","starred_url":"https://api.github.com/users/Francessco121/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Francessco121/subscriptions","organizations_url":"https://api.github.com/users/Francessco121/orgs","repos_url":"https://api.github.com/users/Francessco121/repos","events_url":"https://api.github.com/users/Francessco121/events{/privacy}","received_events_url":"https://api.github.com/users/Francessco121/received_events","type":"User","site_admin":false},"assignees":[{"login":"Francessco121","id":6609531,"avatar_url":"https://avatars1.githubusercontent.com/u/6609531?v=4","gravatar_id":"","url":"https://api.github.com/users/Francessco121","html_url":"https://github.com/Francessco121","followers_url":"https://api.github.com/users/Francessco121/followers","following_url":"https://api.github.com/users/Francessco121/following{/other_user}","gists_url":"https://api.github.com/users/Francessco121/gists{/gist_id}","starred_url":"https://api.github.com/users/Francessco121/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Francessco121/subscriptions","organizations_url":"https://api.github.com/users/Francessco121/orgs","repos_url":"https://api.github.com/users/Francessco121/repos","events_url":"https://api.github.com/users/Francessco121/events{/privacy}","received_events_url":"https://api.github.com/users/Francessco121/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/BundledSticksInkorperated/Discore/milestones/5","html_url":"https://github.com/BundledSticksInkorperated/Discore/milestone/5","labels_url":"https://api.github.com/repos/BundledSticksInkorperated/Discore/milestones/5/labels","id":3206105,"number":5,"title":"v4.1.2","description":"","creator":{"login":"Francessco121","id":6609531,"avatar_url":"https://avatars1.githubusercontent.com/u/6609531?v=4","gravatar_id":"","url":"https://api.github.com/users/Francessco121","html_url":"https://github.com/Francessco121","followers_url":"https://api.github.com/users/Francessco121/followers","following_url":"https://api.github.com/users/Francessco121/following{/other_user}","gists_url":"https://api.github.com/users/Francessco121/gists{/gist_id}","starred_url":"https://api.github.com/users/Francessco121/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Francessco121/subscriptions","organizations_url":"https://api.github.com/users/Francessco121/orgs","repos_url":"https://api.github.com/users/Francessco121/repos","events_url":"https://api.github.com/users/Francessco121/events{/privacy}","received_events_url":"https://api.github.com/users/Francessco121/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":2,"state":"open","created_at":"2018-03-21T12:51:16Z","updated_at":"2018-04-07T21:43:22Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2018-03-25T00:21:24Z","updated_at":"2018-04-07T21:43:22Z","closed_at":"2018-04-07T21:43:22Z","author_association":"OWNER","body":"Seems to be related to #39.\r\n\r\nLog from my personal bot:\r\n\r\n```\r\n[Info]        [3/24/18 7:51:39 AM] [GatewaySocket#0] Gateway connection timed out (did not receive ack for last heartbeat).\r\n[Debug]       [3/24/18 7:51:39 AM] [Gateway#0] [OnReconnectionRequired] Beginning automatic reconnection...\r\n[Debug]       [3/24/18 7:51:39 AM] [Gateway#0] [ConnectLoop] resume = True\r\n[Debug]       [3/24/18 7:51:39 AM] [Gateway#0] [ConnectLoop] Disconnecting previous socket...\r\n[Debug]       [3/24/18 7:51:39 AM] [BaseWebSocket:GatewaySocket#0] Disconnecting with code 4100 (4100)...\r\n[Debug]       [3/24/18 7:51:39 AM] [GatewaySocket#0] [HeartbeatLoop] Done. isDisposed = False\r\n[Warning]     [3/24/18 7:51:44 AM] [BaseWebSocket:GatewaySocket#0] Socket failed to disconnect after 5s, aborting...\r\n[Debug]       [3/24/18 7:51:44 AM] [BaseWebSocket:GatewaySocket#0] Disconnected.\r\n[Debug]       [3/24/18 7:51:44 AM] [Gateway#0] [ConnectLoop] gatewayUrl = wss://gateway.discord.gg\r\n[Debug]       [3/24/18 7:51:44 AM] [BaseWebSocket:GatewaySocket#0] [ReceiveLoop] Socket aborted while receiving.\r\n[Debug]       [3/24/18 7:51:44 AM] [BaseWebSocket:GatewaySocket#0] Connecting to wss://gateway.discord.gg/?v=6&encoding=json...\r\n[Error]       [3/24/18 7:51:44 AM] [Gateway#0] [ConnectLoop] Failed to connect: Success (0), Unable to connect to the remote server\r\n[Debug]       [3/24/18 7:51:44 AM] [DiscoreLocalStorage] Invalidating gateway URL...\r\n[Debug]       [3/24/18 7:51:44 AM] [Gateway#0] [ConnectLoop] Waiting 5s before retrying...\r\n[Debug]       [3/24/18 7:51:49 AM] [DiscoreLocalStorage] Retrieving gateway URL from HTTP...\r\n[Error]       [3/24/18 7:53:30 AM] [Gateway#0] System.Threading.Tasks.TaskCanceledException: A task was canceled.\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`1.ConfiguredTaskAwaiter.GetResult()\r\n   at System.Net.Http.HttpClient.<FinishSendAsyncBuffered>d__58.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Discore.Http.Net.RestClient.<Send>d__16.MoveNext() in Discore\\Http\\Net\\RestClient.cs:line 261\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Discore.Http.DiscordHttpClient.<Get>d__30.MoveNext() in Discore\\Http\\DiscordHttpClient.Gateway.cs:line 32\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Discore.DiscoreLocalStorage.<GetGatewayUrlAsync>d__12.MoveNext() in Discore\\DiscoreLocalStorage.cs:line 104\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Discore.WebSocket.Net.Gateway.<ConnectLoop>d__40.MoveNext() in Discore\\WebSocket\\Net\\Gateway.cs:line 418\r\n[Error]       [3/24/18 7:53:30 AM] [Gateway#0] Uncaught error occured while getting/storing gateway URL, setting state to Disconnected.\r\n[Error]       [3/24/18 7:53:30 AM] [Application] SHARD FAILED: reason = Unknown, message = Failed to retrieve/store the Gateway URL because of an unknown error., exception = System.Threading.Tasks.TaskCanceledException: A task was canceled.\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`1.ConfiguredTaskAwaiter.GetResult()\r\n   at System.Net.Http.HttpClient.<FinishSendAsyncBuffered>d__58.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Discore.Http.Net.RestClient.<Send>d__16.MoveNext() in Discore\\Http\\Net\\RestClient.cs:line 261\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Discore.Http.DiscordHttpClient.<Get>d__30.MoveNext() in Discore\\Http\\DiscordHttpClient.Gateway.cs:line 32\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Discore.DiscoreLocalStorage.<GetGatewayUrlAsync>d__12.MoveNext() in Discore\\DiscoreLocalStorage.cs:line 104\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Discore.WebSocket.Net.Gateway.<ConnectLoop>d__40.MoveNext() in Discore\\WebSocket\\Net\\Gateway.cs:line 418\r\n```"}}
{"actor":{"display_login":"Francessco121"}}