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

Microsoft Edge/IE do not support SSE (server sent events) resulting in frozen dashboards #62

Closed
dnsmichi opened this issue Mar 19, 2018 · 1 comment

Comments

@dnsmichi
Copy link
Collaborator

This issue cannot be solved by us, this is for information purposes only.

Thanks @LordHepipud for the research.

Current Behavior

Updates are not processed in the browser, the dashboard looks "frozen".

If you enable the browser dev console, you'll see why.

SCRIPT5009: 'EventSource' is not defined

Possible Solution

Microsoft needs to implement SSE in Edge and IE. Feature request: https://wpdev.uservoice.com/forums/257854-project-spartan-platform/suggestions/6263825-server-sent-events-eventsource

Windows 10 and Chrome/Firefox do work.

Technical Background

Dashing runs as Sinatra app inside Thin which uses EventMachine to basically do http long polling, or likewise, server sent events.

This technology exists sind 2012: http://tenderlovemaking.com/2012/07/30/is-it-live.html

@dnsmichi
Copy link
Collaborator Author

This won't be solved with a different server (thin replaced with puma for example, as described in #47).

Shopify/dashing#677 (comment)

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

No branches or pull requests

1 participant