# AWS Main Chat Disconnect

**URL:** <https://staging-discuss.dev.twitch.com/t/aws-main-chat-disconnect/5623>\
**Category:** Chat and IRC\
**Created:** [April 7, 2016, 10:05am UTC](https://staging-discuss.dev.twitch.com/t/aws-main-chat-disconnect/5623 "2016-04-07T10:05:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://staging-discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [April 7, 2016, 10:05am UTC](https://staging-discuss.dev.twitch.com/t/aws-main-chat-disconnect/5623/1 "2016-04-07T10:05:33Z")

</div>

As was mentioned in the main [AWS move thread](https://staging-discuss.dev.twitch.com/t/psa-chat-servers-are-going-to-migrate-to-aws-ec2-servers/4877).

There are cases of Spontaneous disconnect

```
PHP Warning: socket_read(): unable to read from socket [104]: Connection reset by peer [hidden]
PHP Warning: socket_write(): unable to write to socket [32]: Broken pipe in [hidden]

```

This again occurred at 10:51 BST today.

My bots were receiving Chat into their respective chat logs, and then suddenly stopped.

So I appear to be ping/ponging correctly, but something appears to have Shutdown the Connection (IRC Port 6667), from the Twitch AWS side.

I suppose in theory it could be Twitch dropping a server out of the load balancer and not shunting my connection to a active chat server behind the LB. But thats just a theory.

---

<div class="post-metadata">

**Author:** ![tance77](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/tance77/32/4013_2.png) [@tance77](https://staging-discuss.dev.twitch.com/u/tance77)\
**Post date:** [April 7, 2016, 10:11pm UTC](https://staging-discuss.dev.twitch.com/t/aws-main-chat-disconnect/5623/2 "2016-04-07T22:11:28Z")

</div>

Try a different IP I had a similar situation just a few moments ago. I changed to [irc.chat.twitch.tv:80](http://irc.chat.twitch.tv:80) and everything is back to normal.

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://staging-discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [April 7, 2016, 10:42pm UTC](https://staging-discuss.dev.twitch.com/t/aws-main-chat-disconnect/5623/3 "2016-04-07T22:42:12Z")

</div>

I’m on the IRC end point deliberately at this time.

Also thread this was followed up elsewhere…

---

<div class="post-metadata">

**Author:** ![system](https://d2spem0quai2ol.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://staging-discuss.dev.twitch.com/u/system)\
**Post date:** [May 7, 2016, 10:42pm UTC](https://staging-discuss.dev.twitch.com/t/aws-main-chat-disconnect/5623/4 "2016-05-07T22:42:28Z")

</div>

Closed on May 7, 2016, 10:42pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
