dyc3/opentogethertube

vis: putting more than one panel in a dashboard causes the panels to error

Closed this issue · 2 comments

dyc3 commented

Current Behavior

If there is >1 ott-vis-panel on a dashboard, all panels will fail.

Expected Behavior

All instances of our panel should work regardless of how many other instances of the panel there are.

Steps To Reproduce

  1. create grafana dashboard
  2. add 2 instances of ott-vis-panel with streamed events
  3. refresh the dashboard
  4. see error

Environment

  • This happens on the official site, opentogethertube.com
  • This happens using a self-hosted version.
  • I'm using the docker image.

Room name or URL

No response

Video URL

No response

Anything else?

No response

I would like to work on this.

dyc3 commented

I think this could be a logic error in the datasource. I think calling subscriber.error() causes the stream to stop and never emit events again.