Skip to content

Conversation

@robbertvanginkel
Copy link

When attempting to reproduce https://www.rivet.dev/docs/actors/websocket-handler/ with createFileSystemDriver, messages sent from the actor to the client are never delivered. The connection appears to work (open/close events fire), but message routing fails silently. When using handleRawWebSocket with an InlineWebSocketAdapter, messages sent from the actor to the client are never delivered.

onMessage: (event: any, ws: any) => {
// Find the adapter for this WebSocket
const adapter = (ws as any).__adapter;
if (adapter) {
adapter._handleMessage(event);
}
},
Looks up an adaptor, but this is never set for InlineWebSocketAdapter.

When attempting to reproduce https://www.rivet.dev/docs/actors/websocket-handler/ with createFileSystemDriver, messages sent from the actor to the client are never delivered. The connection appears to work (open/close events fire), but message routing fails silently. When using handleRawWebSocket with an InlineWebSocketAdapter, messages sent from the actor to the client are never delivered.

https://github.com/rivet-dev/rivet/blob/c9cfd90d5fb152fd47fc93acfadb1dec7f18e6bf/rivetkit-typescript/packages/rivetkit/src/actor/router-websocket-endpoints.ts#L319-L325 Looks up an adaptor, but this is never set for InlineWebSocketAdapter.
@vercel
Copy link

vercel bot commented Dec 23, 2025

@robbertvanginkel is attempting to deploy a commit to the Rivet Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant