Getting immediate connection resets on the WebSocket endpoint when routing a Cognigy bot to a voice interaction via AppFoundry. The latency spikes to 2 seconds before the drop, and the logs show a 1006 close code. Here is the connection setup:
const ws = new WebSocket('wss://api.mypurecloud.com/api/v2/analytics/events');
ws.on('close', (e) => console.log('Closed with code:', e.code));
Is there a specific timeout config I’m missing?