WebSocket dropping packets in AppFoundry Cognigy integration?

Why’s my WebSocket connection timing out after 30 seconds when testing the Cognigy bot in AppFoundry? The handshake works fine, but audio latency spikes to 2s before the socket closes with a 1006 code. I’m using the standard wss://api.us.genesys.cloud/v2/conversations/conversation endpoint. Here’s the client setup:

const ws = new WebSocket(url);
ws.onopen = () => console.log('connected');
ws.onclose = (e) => console.log('closed', e.code);

Nothing in the logs. Just drops.