Solution
This error will occur in the following situation:
- A writer and a reader are created and linked.
- The writer is destroyed, leaving the reader orphaned.
- A new writer is created and attempts to connect to the existing reader. This will return error -314350.
The error description does not properly describe the situation that led to the error, rather it is a symptom. The problem occurs when connecting to a reader endpoint that is orphaned and in a bad state. See the additional steps below for further debugging.