You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On top add following:
const SocksProxyAgent = require('socks-proxy-agent');
const socks_server = 'socks5://1.2.3.4:1234';
const endpoint = 'wss://url_to_mattermost/api/v4/websocket';
On line 254:
// Route through proxy / socks
var agent = new SocksProxyAgent(socks_server, options);
this.ws = new WebSocket(endpoint, {agent: agent})
//this.ws = new WebSocket(this.socketUrl, options);
Hi,
This is not really a bug report, but a question about how to use this bot behind a proxy to reach the mattermost server.
-Renjith
The text was updated successfully, but these errors were encountered: