hadouken-js-adapter version: 1.44.1
Our application opens a connection to an openfin runtime to subscribe to messages on the InterApplication bus and to check if an app with a given uuid exists.
However, if some time passes after calling connect, we get the following error: Expected websocket state OPEN but found CLOSED.
For example:
const fin = await connect({
uuid: uuidV4(),
runtime: {
version: 'stable'
}
});
...
// elsewhere in the code a few seconds later
fin.System.resolveUuid('1234');
// error thrown: Expected websocket state OPEN but found CLOSED
Notes:
- Seeing the same behaviour in hadouken-js-adapter version 0.42.2
- For context,
nonPersistent is set to false