Open luomclc opened 5 years ago
Hi Liftof,
I have the following code: const ws = new WebSocket(wss://localhost/ws, { rejectUnauthorized: false, origin: 'https://localhost' });
wss://localhost/ws
ws.on('open', function open () {
ws.send(JSON.stringify({'c':'pwd\n'}));
});
error: [E 181028 14:45:26 authorization:114] {"ip_address": "127.0.0.1"} ANONYMOUS -> char_handler failed requirement: policies: terminal
plesase help
Thanks,
Hi Liftof,
I have the following code: const ws = new WebSocket(
wss://localhost/ws
, { rejectUnauthorized: false, origin: 'https://localhost' });ws.on('open', function open () {
});
error: [E 181028 14:45:26 authorization:114] {"ip_address": "127.0.0.1"} ANONYMOUS -> char_handler failed requirement: policies: terminal
plesase help
Thanks,