{"action":"created","issue":{"url":"https://api.github.com/repos/twitch-irc/twitch-irc/issues/55","labels_url":"https://api.github.com/repos/twitch-irc/twitch-irc/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/twitch-irc/twitch-irc/issues/55/comments","events_url":"https://api.github.com/repos/twitch-irc/twitch-irc/issues/55/events","html_url":"https://github.com/twitch-irc/twitch-irc/issues/55","id":61899059,"number":55,"title":"Twitch will be upgrading their chat servers, IPs will change.","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},"labels":[{"url":"https://api.github.com/repos/twitch-irc/twitch-irc/labels/announcement","name":"announcement","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-03-15T21:01:13Z","updated_at":"2015-03-18T04:20:49Z","closed_at":null,"body":"If your app cannot connect to IRC, try using irc.twitch.tv or use a specific IP address. We will be upgrading the module with the full list of new IPs in the next days.\r\n\r\nIf you wish to connect to a specific IP address, change your ``preferredServer`` and ``preferredPort`` settings. Documentation for the configuration is available [here](http://www.schmoopiie.com/docs/twitch-irc/Configuration).\r\n\r\nSource: http://discuss.dev.twitch.tv/t/upgrading-chat-servers-new-ips/1836"},"comment":{"url":"https://api.github.com/repos/twitch-irc/twitch-irc/issues/comments/82733320","html_url":"https://github.com/twitch-irc/twitch-irc/issues/55#issuecomment-82733320","issue_url":"https://api.github.com/repos/twitch-irc/twitch-irc/issues/55","id":82733320,"user":{"login":"enilsen16","id":5035876,"avatar_url":"https://avatars.githubusercontent.com/u/5035876?v=3","gravatar_id":"","url":"https://api.github.com/users/enilsen16","html_url":"https://github.com/enilsen16","followers_url":"https://api.github.com/users/enilsen16/followers","following_url":"https://api.github.com/users/enilsen16/following{/other_user}","gists_url":"https://api.github.com/users/enilsen16/gists{/gist_id}","starred_url":"https://api.github.com/users/enilsen16/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enilsen16/subscriptions","organizations_url":"https://api.github.com/users/enilsen16/orgs","repos_url":"https://api.github.com/users/enilsen16/repos","events_url":"https://api.github.com/users/enilsen16/events{/privacy}","received_events_url":"https://api.github.com/users/enilsen16/received_events","type":"User","site_admin":false},"created_at":"2015-03-18T04:20:49Z","updated_at":"2015-03-18T04:20:49Z","body":"Hmmm...\r\nI just polled the api with my channel name. Set `preferredServer` and `preferredPort` to the first IP listed. I joined just fine.\r\n\r\n```\r\nvar client = new irc.client({\r\n  options: {\r\n    debug: true,\r\n    debugDetails: true,\r\n    debugIgnore: [ \"ping\", \"chat\"],\r\n    logging: false,\r\n    chat: true,\r\n  },\r\n  connection: {\r\n    preferredServer: '192.16.64.145',\r\n    preferredPort:'80'\r\n  },\r\n  identity: {\r\n    username: process.env.USERNAME,\r\n    password: process.env.OATH_TOKEN,\r\n  },\r\n  channels: 'eyeswl',\r\n});\r\n\r\nclient.connect();\r\n```\r\n\r\n```\r\n[21:16:32] event - connecting\r\n[21:16:32] event - logon\r\n[21:16:32] raw   - 001: Welcome, GLHF!\r\n[21:16:32] raw   - 002: Your host is tmi.twitch.tv\r\n[21:16:32] raw   - 003: This server is rather new\r\n[21:16:32] raw   - 004: -\r\n[21:16:32] raw   - 375: -\r\n[21:16:32] raw   - 372: You are in a maze of twisty passages, all alike.\r\n[21:16:32] event - connected\r\n[21:16:32] raw   - 376: >\r\n[21:16:35] event - join\r\n[21:16:35] raw   - 366: #eyeswl\r\n```"}}