{"action":"created","issue":{"url":"https://api.github.com/repos/Schmoopiie/tmi.js/issues/39","labels_url":"https://api.github.com/repos/Schmoopiie/tmi.js/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/Schmoopiie/tmi.js/issues/39/comments","events_url":"https://api.github.com/repos/Schmoopiie/tmi.js/issues/39/events","html_url":"https://github.com/Schmoopiie/tmi.js/issues/39","id":102273004,"number":39,"title":"Server is not accepting WebSocket connections. Reconnecting in 10 seconds","user":{"login":"macharborguy","id":3058330,"avatar_url":"https://avatars.githubusercontent.com/u/3058330?v=3","gravatar_id":"","url":"https://api.github.com/users/macharborguy","html_url":"https://github.com/macharborguy","followers_url":"https://api.github.com/users/macharborguy/followers","following_url":"https://api.github.com/users/macharborguy/following{/other_user}","gists_url":"https://api.github.com/users/macharborguy/gists{/gist_id}","starred_url":"https://api.github.com/users/macharborguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macharborguy/subscriptions","organizations_url":"https://api.github.com/users/macharborguy/orgs","repos_url":"https://api.github.com/users/macharborguy/repos","events_url":"https://api.github.com/users/macharborguy/events{/privacy}","received_events_url":"https://api.github.com/users/macharborguy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-08-21T01:19:01Z","updated_at":"2015-08-21T11:57:38Z","closed_at":"2015-08-21T11:57:38Z","body":"Not sure what happened, but about a day or so ago, our bot started reporting \"Server is not accepting WebSocket connections. Reconnecting in 10 seconds\" and is no longer able to connect to Twitch IRC.\r\n\r\nHas anything happened with the Twitch IRC systems that is just not playing nice with TMI.js?\r\n\r\n\r\nI have checked the oauth keys that I use for our Bot account and Primary account, as well as regenerated them, and they are still unable to connect."},"comment":{"url":"https://api.github.com/repos/Schmoopiie/tmi.js/issues/comments/133389049","html_url":"https://github.com/Schmoopiie/tmi.js/issues/39#issuecomment-133389049","issue_url":"https://api.github.com/repos/Schmoopiie/tmi.js/issues/39","id":133389049,"user":{"login":"Schmoopiie","id":4692848,"avatar_url":"https://avatars.githubusercontent.com/u/4692848?v=3","gravatar_id":"","url":"https://api.github.com/users/Schmoopiie","html_url":"https://github.com/Schmoopiie","followers_url":"https://api.github.com/users/Schmoopiie/followers","following_url":"https://api.github.com/users/Schmoopiie/following{/other_user}","gists_url":"https://api.github.com/users/Schmoopiie/gists{/gist_id}","starred_url":"https://api.github.com/users/Schmoopiie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Schmoopiie/subscriptions","organizations_url":"https://api.github.com/users/Schmoopiie/orgs","repos_url":"https://api.github.com/users/Schmoopiie/repos","events_url":"https://api.github.com/users/Schmoopiie/events{/privacy}","received_events_url":"https://api.github.com/users/Schmoopiie/received_events","type":"User","site_admin":false},"created_at":"2015-08-21T11:57:38Z","updated_at":"2015-08-21T11:57:38Z","body":"I will close this issue because it is fixed, I will keep an eye on their websocket servers this weekend just in case they are doing some IP rotations.\r\n\r\n@xhip You shouldn't have to do this actually, the library queries http://www.tmijs.org/api/servers/ to update the hardcoded servers and if for some reasons our API doesn't work, then it's going to use the default hardcoded servers. It wasn't working before because the API wasn't updated with the new servers, but now everything should be okay :smile: \r\n\r\nIf you guys see some changes before I do, reply in this issue and I will reopen it.\r\n\r\nThanks!"}}