Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not displaying the Internet connection Lost notification in Chrome. #214

Open
maryam4s26 opened this issue Jan 24, 2024 · 3 comments
Open

Comments

@maryam4s26
Copy link

hi @andersevenrud .
When the server crashes or down, we receive a disconnection notification in all browsers.

Screenshot from 2024-01-24 16-59-09

But when the internet is interrupted, Chrome browser does not receive this notification, but we receive this notification in other browsers.

@maryam4s26
Copy link
Author

@andersevenrud :)

@andersevenrud
Copy link
Member

@andersevenrud
Copy link
Member

andersevenrud commented Jan 29, 2024

hi @andersevenrud .Unfortunately, I am confused and do not understand what you mean.
When my internet is interrupted, Google Chrome does not show the server connection notification.

Originally posted by @maryam4s26 in os-js/osjs-dialogs#24 (comment)

As mentioned in os-js/osjs-dialogs#24 (comment), the "Connection Lost" notification is created when the client websocket connection closes unexpectedly.

Use a debugger to find out if this happens. Should be here:

this.emit('disconnected', ev, this.closed);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants