The download button was a link to a server connect action with a download action. The link triggered a navigation request causing the websocket to disconnect. Solution was to add the download
attribute to the link tag, alternative you could also use target="_blank"
or the download component.
2 Likes