Skip to content

Conversation

@ShGKme
Copy link
Contributor

@ShGKme ShGKme commented Mar 22, 2023

☑️ Resolves

🚧 Tasks

  • Add missed credentials on reconnect after error in notify_push client. It caused infinity unsuccessful reconnections
  • Refactor notify_push a bit

@ShGKme ShGKme added the bug Something isn't working label Mar 22, 2023
Comment on lines 163 to 167
setTimeout(() => {
if (window._notify_push_online) {
setupSocket()
setupSocket({ credentials })
}
}, 1000 * window._notify_push_error_count)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There credentials were missed

@ShGKme
Copy link
Contributor Author

ShGKme commented Mar 22, 2023

Although it seems like this problem cause the issue, it is not clear to me, what was the reason for the first WS error started infinity errors loop.

Copy link
Member

@juliusknorr juliusknorr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me, thanks 💙

@ShGKme ShGKme merged commit 3278129 into main Mar 23, 2023
@delete-merged-branch delete-merged-branch bot deleted the fix/75/auth-on-error-in-notify-push branch March 23, 2023 11:06
@nickvergessen nickvergessen added this to the 💙 Next Preview milestone Mar 24, 2023
ShGKme added a commit that referenced this pull request Mar 24, 2023
Fixes:
- Fix zoom without SHIFT and by mouse wheel (#77)
- Fix wrong display name in calls and temp messages (#72)
- Fix loosing authentication on notify_push on any ws error caused brute force protection (#76)

Signed-off-by: Grigorii Shartsev <[email protected]>
@ShGKme ShGKme mentioned this pull request Mar 24, 2023
@nickvergessen nickvergessen modified the milestones: v0.3.0, v0.2.2 Apr 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants