Skip to content

WebSocket Server forwards error to parent indefinitely instead of discarding after first forward #9

@DavidG-LSI

Description

@DavidG-LSI

Issue Description
When an WebSocket Service Actor connection throws an error, for example because a message handler failed a JSON conversion, it forwards it to its Server. The server in turn forwards the error to the subscriber but fails to clear it giving rise to an endless loop within the Acotr.vi

Expected Behavior

  • Send the error to the subscriber once,
  • Discard the error internally after reporting it, to prevent the infinite loop in the Actor.vi

Steps to Reproduce
Trigger an error condition within an Actor due to an incorrect payload.
Observe how the Actor responds.

Image

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions