When attempting to execute this working example for UIKit React v2 with NextJS on my local machine, I encounter the following error every time, without fail:
SendBirdException: Command received no ack.
I am running Node v16.13.0 and NPM v8.2.0. The only way in which I alter the example when running it locally, is that I use NPM for installation and execution instead of Yarn.
My understanding is that it is related to some networking issue, but the local network is functioning perfectly, as far as I know.
Help would be greatly appreciated. Thank you in advance.
Hey, I am also having the same issue here with Next.js and Sendbird UI Kit for React v2, any chance you figured how to solve this issue ?. Not only that also QueryInProgress Exception with scrolling through list of users to add. How can we at least handle the Exceptions so it won’t break the app ?
So, this ack error happens because, there are some exceptions(some of them are internal) thrown from SDK(mostly from flaky websocket connections), I have not seen these errors appear as a big popup in production builds, it should only appear on codesandbox and nextjs local version
For the ones that are not internal, they should be inside try..catch or next.then.catch. I have included those in the fix. But, I suspect there are a few ones that are internal which we cannot catch from uikit/application side. I even tried to add error boundary to catch them, but it didnt work well
So, I will release a release candidate for v3 today, need to test that for a day or and see if the internal errors occur. If the internal errors occur often, we will have to clean it from SDK side
This one, is a packet loss exception leak. It wont break your app in production(the overlay for this error receive is only for dev. builds in nextjs and CRA)
We are working with chat SDK to fix it, I will mention here once we have a solution