Hello all,
I’m trying to get inormation from the Aeternal middleware, using this code sample from the documentation:
const WebSocketClient = require(“websocket”).client;
const wsclient = new WebSocketClient();
wsclient.connect(“wss://testnet.aeternal.io”);
wsclient.on(“connectFailed”, console.error);
wsclient.on(“connect”, connection => {
console.log(“connected”);
// do stuff
});
But it returns
Error: Server responded with a non-101 status: 200 OK
Any ideas? @philipp.chain
Help would be greatly appreciated