Hi,
For couple od days I'm trying to connect to HTTP endpoint with Websocket connection but CGRateS responds with 403.
I've tried to change listen from
0.0.0.0:2080 to fixed IP but no luck
"http": { // HTTP server configuration
"json_rpc_url": "/jsonrpc", // JSON RPC relative URL ("" to disable)
"ws_url": "/websocket", // WebSockets relative URL ("" to disable)
"freeswitch_cdrs_url": "/freeswitch_json", // Freeswitch CDRS relative URL ("" to disable)
"http_cdrs": "/cdr_http", // CDRS relative URL ("" to disable)
"use_basic_auth": false, // use basic authentication
"auth_users": {}, // basic authentication usernames and base64-encoded passwords (eg: { "username1": "cGFzc3dvcmQ=", "username2": "cGFzc3dvcmQy "})
},
"listen": {
"rpc_json": "0.0.0.0:2012", // RPC JSON listening address
"rpc_gob": "0.0.0.0:2013", // RPC GOB listening address
"http": "172.16.0.125:2080", // HTTP listening address
"rpc_json_tls" : "", // RPC JSON TLS listening address
"rpc_gob_tls": "", // RPC GOB TLS listening address
// "http_tls": "127.0.0.1:2280", // HTTP TLS listening address
},
ngrep on port 2080 shows following
Cheers