# SocketException: Reading from a closed socket

**URL:** <https://community.sendbird.com/t/socketexception-reading-from-a-closed-socket/5390>\
**Category:** Flutter\
**Created:** [August 24, 2022, 3:38am UTC](https://community.sendbird.com/t/socketexception-reading-from-a-closed-socket/5390 "2022-08-24T03:38:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arone\_Jerome](https://avatars.discourse-cdn.com/v4/letter/a/ecccb3/32.png) [@Arone\_Jerome](https://community.sendbird.com/u/Arone_Jerome)\
**Post date:** [August 24, 2022, 3:38am UTC](https://community.sendbird.com/t/socketexception-reading-from-a-closed-socket/5390/1 "2022-08-24T03:38:25Z")

</div>

How to handle this type of error? I’m using flutter sendbird package.

 ![Screen Shot 2022-08-24 at 11.35.36 AM](https://us1.discourse-cdn.com/flex020/uploads/sendbird/original/2X/b/b9b36b1b613e5e5f08c2234a5be1560176522cb4.png)

---

<div class="post-metadata">

**Author:** ![zxjcatherine](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/zxjcatherine/32/3279_2.png) [@zxjcatherine](https://community.sendbird.com/u/zxjcatherine)\
**Post date:** [November 28, 2022, 4:40am UTC](https://community.sendbird.com/t/socketexception-reading-from-a-closed-socket/5390/2 "2022-11-28T04:40:05Z")

</div>

I encountered the same problem as you, may I ask how you finally solved it?

---

<div class="post-metadata">

**Author:** ![jehhxuxu](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/jehhxuxu/32/4259_2.png) [@jehhxuxu](https://community.sendbird.com/u/jehhxuxu)\
**Post date:** [July 7, 2023, 7:26pm UTC](https://community.sendbird.com/t/socketexception-reading-from-a-closed-socket/5390/3 "2023-07-07T19:26:49Z")

</div>

same here, anyone know?
