liftoff / GateOne

Gate One is an HTML5-powered terminal emulator and SSH client

Home Page:http://liftoffsoftware.com/Products/GateOne

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

authorization websocket

luomclc opened this issue · comments

Hi Liftof,

I have the following code:
const ws = new WebSocket(wss://localhost/ws, {
rejectUnauthorized: false,
origin: 'https://localhost'
});

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,