We’ve got an AppFoundry app bridging Genesys Cloud and Cognigy. The WebSocket connection drops every 45 seconds, killing the audio stream mid-conversation. The reconnect logic works, but the latency spikes are unacceptable for our SLA. Here’s the connection setup:
const ws = new WebSocket(`wss://api.genesys.cloud/v2/analytics/events`);
ws.onopen = () => {
ws.send(JSON.stringify({
eventTypes: ["interaction", "conversation"],
filter: { interactionIds: [currentInteractionId] }
}));
};
The logs show a clean close with code 1001 before the timeout. No auth errors, just silent drops. Anyone seen this with the new Cognigy connectors?