# \[PSA\] Group Chat is migrating to AWS servers

**URL:** <https://discuss.dev.twitch.com/t/psa-group-chat-is-migrating-to-aws-servers/5618>\
**Category:** Chat and IRC\
**Created:** [April 6, 2016, 9:12pm UTC](https://discuss.dev.twitch.com/t/psa-group-chat-is-migrating-to-aws-servers/5618 "2016-04-06T21:12:06Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![will](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/will/32/1336_2.png) [@will](https://discuss.dev.twitch.com/u/will)\
**Post date:** [April 6, 2016, 9:12pm UTC](https://discuss.dev.twitch.com/t/psa-group-chat-is-migrating-to-aws-servers/5618/1 "2016-04-06T21:12:07Z")

</div>

Hey everyone,

Group chat will be moving to AWS this week. The migration will be mostly transparent on your end, but you’ll want to make sure you’re connecting to the group chat servers from this API:

`http://tmi.twitch.tv/servers?cluster=group`

When the migration is done, Group Chat will use the same servers as our main IRC chat!

The `group.tmi.twitch.tv` DNS record will point to `irc.chat.twitch.tv` when the migration is done. I recommend using the API for group servers, as the port mappings may change during the migration. For example, port 443 is only used for secure (SSL) connections in the new environment.

I’ll update this topic during the migration.

---

<div class="post-metadata">

**Author:** ![3ventic](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/3ventic/32/298_2.png) [@3ventic](https://discuss.dev.twitch.com/u/3ventic)\
**Post date:** [April 6, 2016, 9:23pm UTC](https://discuss.dev.twitch.com/t/psa-group-chat-is-migrating-to-aws-servers/5618/2 "2016-04-06T21:23:50Z")

</div>

Does this mean whispers will start working on `irc.chat.twitch.tv`?

---

<div class="post-metadata">

**Author:** ![will](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/will/32/1336_2.png) [@will](https://discuss.dev.twitch.com/u/will)\
**Post date:** [April 6, 2016, 9:24pm UTC](https://discuss.dev.twitch.com/t/psa-group-chat-is-migrating-to-aws-servers/5618/3 "2016-04-06T21:24:26Z")

</div>

Yep!

---

<div class="post-metadata">

**Author:** ![3ventic](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/3ventic/32/298_2.png) [@3ventic](https://discuss.dev.twitch.com/u/3ventic)\
**Post date:** [April 6, 2016, 9:25pm UTC](https://discuss.dev.twitch.com/t/psa-group-chat-is-migrating-to-aws-servers/5618/4 "2016-04-06T21:25:40Z")

</div>

![](https://d2opxh93rbxzdn.cloudfront.net/original/2X/1/13e45382f96daa62bbe9b6be18b1bb5696c410a7.png)

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [April 6, 2016, 9:28pm UTC](https://discuss.dev.twitch.com/t/psa-group-chat-is-migrating-to-aws-servers/5618/5 "2016-04-06T21:28:24Z")

</div>

Or to put it another way.

Is the Group Chat cluster no more?

We can process chat and whispers over one connection?

---

<div class="post-metadata">

**Author:** ![will](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/will/32/1336_2.png) [@will](https://discuss.dev.twitch.com/u/will)\
**Post date:** [April 6, 2016, 9:31pm UTC](https://discuss.dev.twitch.com/t/psa-group-chat-is-migrating-to-aws-servers/5618/6 "2016-04-06T21:31:54Z")

</div>

Yes - that’s the plan! Once the group chat and whispers functionality are going through our main cluster, we’ll decommission the group chat servers.

---

<div class="post-metadata">

**Author:** ![Felk](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/felk/32/1690_2.png) [@Felk](https://discuss.dev.twitch.com/u/Felk)\
**Post date:** [April 6, 2016, 10:28pm UTC](https://discuss.dev.twitch.com/t/psa-group-chat-is-migrating-to-aws-servers/5618/7 "2016-04-06T22:28:08Z")

</div>

My bot suddenly can’t send whispers anymore (still on the server 199.9.253.119).

> Unrecognized command: /w

they currently get sent as PRIVMSG to jtv on said server

> self.connection.privmsg(“jtv”, "/w " + nickname + " " + content)

Were there sudden changes on how whispers get sent, like a proper WHISPER irc-command?

---

<div class="post-metadata">

**Author:** ![will](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/will/32/1336_2.png) [@will](https://discuss.dev.twitch.com/u/will)\
**Post date:** [April 6, 2016, 10:40pm UTC](https://discuss.dev.twitch.com/t/psa-group-chat-is-migrating-to-aws-servers/5618/8 "2016-04-06T22:40:04Z")

</div>

There haven’t been any changes around this logic, but we’re looking into it!

---

<div class="post-metadata">

**Author:** ![will](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/will/32/1336_2.png) [@will](https://discuss.dev.twitch.com/u/will)\
**Post date:** [April 6, 2016, 11:00pm UTC](https://discuss.dev.twitch.com/t/psa-group-chat-is-migrating-to-aws-servers/5618/9 "2016-04-06T23:00:48Z")

</div>

@Felk this is now fixed. Additionally, whispers are now enabled on the main cluster!

---

<div class="post-metadata">

**Author:** ![Felk](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/felk/32/1690_2.png) [@Felk](https://discuss.dev.twitch.com/u/Felk)\
**Post date:** [April 6, 2016, 11:05pm UTC](https://discuss.dev.twitch.com/t/psa-group-chat-is-migrating-to-aws-servers/5618/10 "2016-04-06T23:05:04Z")

</div>

@will Thanks, works again!

---

<div class="post-metadata">

**Author:** ![george](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/george/32/120_2.png) [@george](https://discuss.dev.twitch.com/u/george)\
**Post date:** [April 6, 2016, 11:05pm UTC](https://discuss.dev.twitch.com/t/psa-group-chat-is-migrating-to-aws-servers/5618/11 "2016-04-06T23:05:26Z")

</div>

Receiving whispers as well? or just sending.

---

<div class="post-metadata">

**Author:** ![will](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/will/32/1336_2.png) [@will](https://discuss.dev.twitch.com/u/will)\
**Post date:** [April 6, 2016, 11:07pm UTC](https://discuss.dev.twitch.com/t/psa-group-chat-is-migrating-to-aws-servers/5618/12 "2016-04-06T23:07:22Z")

</div>

Both

Note: you may need to send `CAP REQ :twitch.tv/commands` to receive whispers

---

<div class="post-metadata">

**Author:** ![Derek](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/derek/32/2201_2.png) [@Derek](https://discuss.dev.twitch.com/u/Derek)\
**Post date:** [April 6, 2016, 11:11pm UTC](https://discuss.dev.twitch.com/t/psa-group-chat-is-migrating-to-aws-servers/5618/13 "2016-04-06T23:11:13Z")

</div>

@will chat messages in group chat rooms (on web) are being received twice.

Edit: I’m not seeing incoming messages on irc but I can send and see the double message on web chat.

---

<div class="post-metadata">

**Author:** ![will](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/will/32/1336_2.png) [@will](https://discuss.dev.twitch.com/u/will)\
**Post date:** [April 6, 2016, 11:19pm UTC](https://discuss.dev.twitch.com/t/psa-group-chat-is-migrating-to-aws-servers/5618/14 "2016-04-06T23:19:11Z")

</div>

I see this on my end as well – I have another fix on the way.

---

<div class="post-metadata">

**Author:** ![george](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/george/32/120_2.png) [@george](https://discuss.dev.twitch.com/u/george)\
**Post date:** [April 6, 2016, 11:22pm UTC](https://discuss.dev.twitch.com/t/psa-group-chat-is-migrating-to-aws-servers/5618/15 "2016-04-06T23:22:09Z")

</div>

Even when sending the same CAP requests I am not receiving any whispers on AWS, only on group chat.

---

<div class="post-metadata">

**Author:** ![will](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/will/32/1336_2.png) [@will](https://discuss.dev.twitch.com/u/will)\
**Post date:** [April 6, 2016, 11:27pm UTC](https://discuss.dev.twitch.com/t/psa-group-chat-is-migrating-to-aws-servers/5618/16 "2016-04-06T23:27:07Z")

</div>

Message duplication should be fixed now. If you’re not seeing messages, reconnect to one of the servers here:

`http://tmi.twitch.tv/servers?cluster=group`

@george I’m looking into whisper receipt, thanks for the report!

---

<div class="post-metadata">

**Author:** ![Derek](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/derek/32/2201_2.png) [@Derek](https://discuss.dev.twitch.com/u/Derek)\
**Post date:** [April 6, 2016, 11:50pm UTC](https://discuss.dev.twitch.com/t/psa-group-chat-is-migrating-to-aws-servers/5618/17 "2016-04-06T23:50:22Z")

</div>

The `group.tmi.twitch.tv` dns name appears to be already pointing at the AWS cluster `irc.chat.twitch.tv` yes?  
Does this mean the old group chat servers are now considered deprecated?

---

<div class="post-metadata">

**Author:** ![will](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/will/32/1336_2.png) [@will](https://discuss.dev.twitch.com/u/will)\
**Post date:** [April 6, 2016, 11:53pm UTC](https://discuss.dev.twitch.com/t/psa-group-chat-is-migrating-to-aws-servers/5618/18 "2016-04-06T23:53:05Z")

</div>

Yep! Just about everything is working on the new servers now. I’m still working on testing whisper receipt.

---

<div class="post-metadata">

**Author:** ![Felk](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/felk/32/1690_2.png) [@Felk](https://discuss.dev.twitch.com/u/Felk)\
**Post date:** [April 7, 2016, 12:31am UTC](https://discuss.dev.twitch.com/t/psa-group-chat-is-migrating-to-aws-servers/5618/19 "2016-04-07T00:31:07Z")

</div>

My bot can send whispers, but isn’t receiving any. there doesn’t seem to be any irc WHISPER message coming in. Are you working on that?

---

<div class="post-metadata">

**Author:** ![will](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/will/32/1336_2.png) [@will](https://discuss.dev.twitch.com/u/will)\
**Post date:** [April 7, 2016, 12:35am UTC](https://discuss.dev.twitch.com/t/psa-group-chat-is-migrating-to-aws-servers/5618/20 "2016-04-07T00:35:34Z")

</div>

Yep! I think I’ve found the issue. I’ll deploy the potential fix in about five minutes.

[Next page](https://discuss.dev.twitch.com/t/psa-group-chat-is-migrating-to-aws-servers/5618.md?page=2)
