The WebSocket connection drops after 30 seconds when integrating a Cognigy bot via AppFoundry. Audio latency spikes to 400ms right before the disconnect. Here’s the connection setup:
const ws = new WebSocket(‘wss://api.mypurecloud.com/api/v2/analytics/events’);
ws.onclose = (e) => console.log(‘Disconnected’, e.code, e.reason);
Getting code 1006 without a reason string. Is there a keep-alive config I’m missing?