There is no reconnect or connection failure when switching to energy-saving mode.
To Reproduce
let client = new WebPubSubClient(url); client.on("connected", (e) => { console.log(Connection ${e.connectionId} is connected.); }); client.on("disconnected", (e) => { console.log(Connection disconnected: ${e.message}); }); client.on("stopped", async () => { console.log(Client has stopped); });
Connect
Go 60 s in energy consumption mode
Start computer
It looks like there is a connection, but no more messages are being received. No reconnect and no event is created.
All the time no new information as "Connection **** is connected." But this is not true.
Further technical details
Actual SDK Nodejs NPM package "@azure/web-pubsub-client": "^1.0.0",
Describe the bug
There is no reconnect or connection failure when switching to energy-saving mode.
To Reproduce
let client = new WebPubSubClient(url); client.on("connected", (e) => { console.log(
Connection ${e.connectionId} is connected.); }); client.on("disconnected", (e) => { console.log(
Connection disconnected: ${e.message}); }); client.on("stopped", async () => { console.log(
Client has stopped); });
Further technical details