You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After fdb25ca, we removed the forwarding of errors from ws of a Connection to NotificationStream. This caused a set of problems with users trying to re-subscribe when a Subscription failed. In particular, since the connection error was forwarded before the catch close in the connect function inside notificationStream method, the connection object was not cleanly closed and it started reconnecting without control. Furthermore, it was impossible to invalidate the connection inside the connectionPool because the new connection was created before the clean-up function in the error handler (the error handler cannot be registered before the one that fire the initial error).
In future releases, we should spend time to rethink once again the process of connection control in our API.
The text was updated successfully, but these errors were encountered:
After fdb25ca, we removed the forwarding of errors from
ws
of aConnection
toNotificationStream
. This caused a set of problems with users trying to re-subscribe when a Subscription failed. In particular, since the connection error was forwarded before thecatch
close in theconnect
function insidenotificationStream
method, the connection object was not cleanly closed and it started reconnecting without control. Furthermore, it was impossible to invalidate the connection inside theconnectionPool
because the new connection was created before the clean-up function in the error handler (the error handler cannot be registered before the one that fire the initial error).In future releases, we should spend time to rethink once again the process of connection control in our API.
The text was updated successfully, but these errors were encountered: