# Infinite calls using AmityUiKitChat

**URL:** <https://forum.social.plus/t/infinite-calls-using-amityuikitchat/1444>\
**Category:** Web\
**Created:** [September 4, 2024, 9:27am UTC](https://forum.social.plus/t/infinite-calls-using-amityuikitchat/1444 "2024-09-04T09:27:30Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![OscarBC](https://avatars.discourse-cdn.com/v4/letter/o/b3f665/32.png) [@OscarBC](https://forum.social.plus/u/OscarBC)\
**Post date:** [September 4, 2024, 9:27am UTC](https://forum.social.plus/t/infinite-calls-using-amityuikitchat/1444/1 "2024-09-04T09:27:30Z")

</div>

Hi there,

I’m using the ui-kit-open-source in my project with TS and React. I integrated the community component AmityUiKitSocial and it’s working fine. But I can’t do it with AmityUiKitChat, it starts and I can see the messages but it freezes my browser doing infinite calls to start-reading and stopt-reading once I select one chat.

Any idea? I’m just using the default config for AmityUiKitChat.

Thanks!

---

<div class="post-metadata">

**Author:** ![SocialPlus\_Support](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.social.plus/socialplus_support/32/798_2.png) [@SocialPlus\_Support](https://forum.social.plus/u/SocialPlus_Support)\
**Post date:** [September 4, 2024, 9:47am UTC](https://forum.social.plus/t/infinite-calls-using-amityuikitchat/1444/2 "2024-09-04T09:47:24Z")

</div>

Hello @OscarBC , Could you please confirm the platform and version you are using? Additionally, kindly provide the GitHub repository link, referring to this documentation: [Changelogs | Amity Docs](https://docs.amity.co/amity-uikit/changelogs).

---

<div class="post-metadata">

**Author:** ![OscarBC](https://avatars.discourse-cdn.com/v4/letter/o/b3f665/32.png) [@OscarBC](https://forum.social.plus/u/OscarBC)\
**Post date:** [September 4, 2024, 11:00am UTC](https://forum.social.plus/t/infinite-calls-using-amityuikitchat/1444/3 "2024-09-04T11:00:02Z")

</div>

ui-kit version is 3.7.0. And I’m using React 18.3.1.

Thanks

---

<div class="post-metadata">

**Author:** ![SocialPlus\_Support](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.social.plus/socialplus_support/32/798_2.png) [@SocialPlus\_Support](https://forum.social.plus/u/SocialPlus_Support)\
**Post date:** [September 4, 2024, 1:02pm UTC](https://forum.social.plus/t/infinite-calls-using-amityuikitchat/1444/4 "2024-09-04T13:02:16Z")

</div>

Thank you for providing the versions. We’re unable to reproduce this issue on our end. The start-stop reading calls are intentional for tracking the unread count, but they shouldn’t cause your screen to freeze.

Could you also please share a screenshot or screen recording of the log where you mentioned “my browser doing infinite calls to start-reading and stop-reading”? Are there any other errors you’re encountering?

---

<div class="post-metadata">

**Author:** ![OscarBC](https://avatars.discourse-cdn.com/v4/letter/o/b3f665/32.png) [@OscarBC](https://forum.social.plus/u/OscarBC)\
**Post date:** [September 4, 2024, 2:04pm UTC](https://forum.social.plus/t/infinite-calls-using-amityuikitchat/1444/5 "2024-09-04T14:04:54Z")

</div>

Hi again,

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/amity/original/1X/8aaaabea98b0b1a50e77e3771a5763c3e0027399.png)  
This happens once I select one conversation.

Thanks again

---

<div class="post-metadata">

**Author:** ![OscarBC](https://avatars.discourse-cdn.com/v4/letter/o/b3f665/32.png) [@OscarBC](https://forum.social.plus/u/OscarBC)\
**Post date:** [September 4, 2024, 2:05pm UTC](https://forum.social.plus/t/infinite-calls-using-amityuikitchat/1444/6 "2024-09-04T14:05:27Z")

</div>

This is the console

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/amity/original/1X/37b0c79a84e4dfb2ff3234099e52fb61f3c2f631.png)

---

<div class="post-metadata">

**Author:** ![SocialPlus\_Support](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.social.plus/socialplus_support/32/798_2.png) [@SocialPlus\_Support](https://forum.social.plus/u/SocialPlus_Support)\
**Post date:** [September 4, 2024, 5:19pm UTC](https://forum.social.plus/t/infinite-calls-using-amityuikitchat/1444/7 "2024-09-04T17:19:01Z")

</div>

Hello @OscarBC , For the issue you’re facing, after checking with our team, we have identified that this is a known issue. We recommend updating to version 3.8.0. For more details, please refer to the following link: [Amity UIKit Changelog - Version 3.8.0](https://docs.amity.co/amity-uikit/changelogs/changelog-2#version-3.8.0-2024-07-12).

---

<div class="post-metadata">

**Author:** ![OscarBC](https://avatars.discourse-cdn.com/v4/letter/o/b3f665/32.png) [@OscarBC](https://forum.social.plus/u/OscarBC)\
**Post date:** [September 5, 2024, 8:18am UTC](https://forum.social.plus/t/infinite-calls-using-amityuikitchat/1444/8 "2024-09-05T08:18:38Z")

</div>

Hi again,

I upgraded the version but is still happening. I removed and reinstalled node modules to be sure that nothing was cached but error persists. There is anything in the config I should change to prevent the error? Any ideas?

Thanks again

---

<div class="post-metadata">

**Author:** ![SocialPlus\_Support](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.social.plus/socialplus_support/32/798_2.png) [@SocialPlus\_Support](https://forum.social.plus/u/SocialPlus_Support)\
**Post date:** [September 5, 2024, 8:20am UTC](https://forum.social.plus/t/infinite-calls-using-amityuikitchat/1444/9 "2024-09-05T08:20:23Z")

</div>

Hello @OscarBC , Let me pass this to my team to further check and i’ll keep update.

---

<div class="post-metadata">

**Author:** ![SocialPlus\_Support](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.social.plus/socialplus_support/32/798_2.png) [@SocialPlus\_Support](https://forum.social.plus/u/SocialPlus_Support)\
**Post date:** [September 5, 2024, 9:46am UTC](https://forum.social.plus/t/infinite-calls-using-amityuikitchat/1444/10 "2024-09-05T09:46:32Z")

</div>

Hello @OscarBC Could you please try updating to version 3.10.0 by following this link: [GitHub - AmityCo/Amity-Social-Cloud-UIKit-Web-OpenSource at release/v3.10.0](https://github.com/AmityCo/Amity-Social-Cloud-UIKit-Web-OpenSource/tree/release/v3.10.0)?  
Please let us know if you need further assistance. Thank you 🙏

---

<div class="post-metadata">

**Author:** ![OscarBC](https://avatars.discourse-cdn.com/v4/letter/o/b3f665/32.png) [@OscarBC](https://forum.social.plus/u/OscarBC)\
**Post date:** [September 5, 2024, 3:29pm UTC](https://forum.social.plus/t/infinite-calls-using-amityuikitchat/1444/11 "2024-09-05T15:29:47Z")

</div>

Hi there,

I’m getting now this error:

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/amity/original/1X/c4c8bd1bb99c054baa8bf143cb93fbabc6d028dc.png)

I was checking an VY is actually AmityUiKitProvider, I have that component wrapping my main view. I cleaned cache and everything but I still stuck there.

Thanks

---

<div class="post-metadata">

**Author:** ![SocialPlus\_Support](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.social.plus/socialplus_support/32/798_2.png) [@SocialPlus\_Support](https://forum.social.plus/u/SocialPlus_Support)\
**Post date:** [September 6, 2024, 7:05am UTC](https://forum.social.plus/t/infinite-calls-using-amityuikitchat/1444/12 "2024-09-06T07:05:34Z")

</div>

Hello @OscarBC , Please follow the steps outlined in the README file at the link below to resolve this issue. It provides detailed instructions for setting up the AmityUiKitProvider and other components: [Amity Social Cloud UIKit - v3.10.0 ReadMe](https://github.com/AmityCo/Amity-Social-Cloud-UIKit-Web-OpenSource/tree/release/v3.10.0?tab=readme-ov-file#readme)

---

<div class="post-metadata">

**Author:** ![OscarBC](https://avatars.discourse-cdn.com/v4/letter/o/b3f665/32.png) [@OscarBC](https://forum.social.plus/u/OscarBC)\
**Post date:** [September 6, 2024, 8:30am UTC](https://forum.social.plus/t/infinite-calls-using-amityuikitchat/1444/13 "2024-09-06T08:30:07Z")

</div>

Hi there,

Thanks, was my fault I had a mistake in the filename.  
I get now randomly this error:

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/amity/original/1X/4472281d0e2b0b3caa08bdec7a98b48ae22af424.png)

Any ideas?

And when I manage to make it work reloading the page, chat works great but community kit doesn’t show info about “My Communities”.

Thanks

---

<div class="post-metadata">

**Author:** ![OscarBC](https://avatars.discourse-cdn.com/v4/letter/o/b3f665/32.png) [@OscarBC](https://forum.social.plus/u/OscarBC)\
**Post date:** [September 6, 2024, 8:30am UTC](https://forum.social.plus/t/infinite-calls-using-amityuikitchat/1444/14 "2024-09-06T08:30:37Z")

</div>

![image](https://europe1.discourse-cdn.com/flex013/uploads/amity/original/1X/45b27fa4fa3aec32cd886d6af30c9f2052db3b4b.png)  
This is after select “Test” community. Feed works well and also the creation of communities.

Thanks again

---

<div class="post-metadata">

**Author:** ![SocialPlus\_Support](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.social.plus/socialplus_support/32/798_2.png) [@SocialPlus\_Support](https://forum.social.plus/u/SocialPlus_Support)\
**Post date:** [September 6, 2024, 8:41am UTC](https://forum.social.plus/t/infinite-calls-using-amityuikitchat/1444/15 "2024-09-06T08:41:16Z")

</div>

Hello @OscarBC , Thank you for your information, I will pass to our team to check on this.

---

<div class="post-metadata">

**Author:** ![SocialPlus\_Support](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.social.plus/socialplus_support/32/798_2.png) [@SocialPlus\_Support](https://forum.social.plus/u/SocialPlus_Support)\
**Post date:** [September 10, 2024, 10:00am UTC](https://forum.social.plus/t/infinite-calls-using-amityuikitchat/1444/16 "2024-09-10T10:00:45Z")

</div>

Hello @OscarBC , We are pleased to inform you that the issue you reported has been resolved in **version 3.10.1.** , You can check and download the fix through this link: [@amityco/ui-kit-open-source - npm](https://www.npmjs.com/package/@amityco/ui-kit-open-source/v/3.10.1)

Please update to this version and let us know if everything works as expected. Should you encounter any further issues or need additional assistance, feel free to reach out.

---

<div class="post-metadata">

**Author:** ![OscarBC](https://avatars.discourse-cdn.com/v4/letter/o/b3f665/32.png) [@OscarBC](https://forum.social.plus/u/OscarBC)\
**Post date:** [September 10, 2024, 11:19am UTC](https://forum.social.plus/t/infinite-calls-using-amityuikitchat/1444/17 "2024-09-10T11:19:22Z")

</div>

Hi there,

I’m getting this error now:

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/amity/original/1X/9352161ebbfc8447d9de4bd074cc1b2e2ad35af0.png)

I tried with npm i @amityco/ui-kit-open-source and following the instructions from [@amityco/ui-kit-open-source - npm](https://www.npmjs.com/package/@amityco/ui-kit-open-source/v/3.10.1) to make my own build. Both ways ends with the same issue.

Thanks again

---

<div class="post-metadata">

**Author:** ![SocialPlus\_Support](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.social.plus/socialplus_support/32/798_2.png) [@SocialPlus\_Support](https://forum.social.plus/u/SocialPlus_Support)\
**Post date:** [September 12, 2024, 11:09am UTC](https://forum.social.plus/t/infinite-calls-using-amityuikitchat/1444/18 "2024-09-12T11:09:40Z")

</div>

Hello @OscarBC, regarding the compile error, we have applied a fix in the new version. Please update to version 3.10.2.

**Link** : [@amityco/ui-kit-open-source - npm](https://www.npmjs.com/package/@amityco/ui-kit-open-source/v/3.10.2)

---

<div class="post-metadata">

**Author:** ![OscarBC](https://avatars.discourse-cdn.com/v4/letter/o/b3f665/32.png) [@OscarBC](https://forum.social.plus/u/OscarBC)\
**Post date:** [September 12, 2024, 3:10pm UTC](https://forum.social.plus/t/infinite-calls-using-amityuikitchat/1444/19 "2024-09-12T15:10:33Z")

</div>

Thanks! It’s working now.
