Invalid Protocol Version
Hey guys,
I followed docs and made a counter actor, it works fine without a RIVET_ENGINE url but after I add one (using docker compose from self hosting documentation) it doesn't work anymore.
I'm wondering if this is a bug or if I'm setting something up incorrectly
I followed docs and made a counter actor, it works fine without a RIVET_ENGINE url but after I add one (using docker compose from self hosting documentation) it doesn't work anymore.
import { setup } from 'rivetkit';
import { counter } from '@/actors/counter';
export const registry = setup({
use: { counter },
});
export const { client } = registry.createServer();import { setup } from 'rivetkit';
import { counter } from '@/actors/counter';
export const registry = setup({
use: { counter },
});
export const { client } = registry.createServer();import { actor } from 'rivetkit';
export const counter = actor({
state: { count: 0 },
actions: {
increment: (c, amount: number = 1) => {
c.state.count += amount;
c.broadcast('countChanged', c.state.count);
return c.state.count;
},
getCount: c => c.state.count,
},
});import { actor } from 'rivetkit';
export const counter = actor({
state: { count: 0 },
actions: {
increment: (c, amount: number = 1) => {
c.state.count += amount;
c.broadcast('countChanged', c.state.count);
return c.state.count;
},
getCount: c => c.state.count,
},
});rivet-engine-1 | ts=2025-09-16T02:32:42.218761652Z level=warn message="parse url failed" addr=[::1]:35984 err="invalid protocol version"
rivet-engine-1 | ts=2025-09-16T02:32:43.367110519Z level=warn message="parse url failed" addr=[::1]:35986 err="invalid protocol version"
rivet-engine-1 | ts=2025-09-16T02:32:44.539822137Z level=warn message="parse url failed" addr=[::1]:35992 err="invalid protocol version"
rivet-engine-1 | ts=2025-09-16T02:32:45.769081391Z level=warn message="parse url failed" addr=[::1]:36002 err="invalid protocol version"
rivet-engine-1 | ts=2025-09-16T02:32:46.958473889Z level=warn message="parse url failed" addr=[::1]:36012 err="invalid protocol version"
rivet-engine-1 | ts=2025-09-16T02:32:48.132075064Z level=warn message="parse url failed" addr=[::1]:36028 err="invalid protocol version"
rivet-engine-1 | ts=2025-09-16T02:32:49.239247752Z level=warn message="parse url failed" addr=[::1]:36038 err="invalid protocol version"
rivet-engine-1 | ts=2025-09-16T02:32:50.436608106Z level=warn message="parse url failed" addr=[::1]:36046 err="invalid protocol version"
rivet-engine-1 | ts=2025-09-16T02:32:51.569077591Z level=warn message="parse url failed" addr=[::1]:52328 err="invalid protocol version"
rivet-engine-1 | ts=2025-09-16T02:32:52.776094519Z level=warn message="parse url failed" addr=[::1]:52342 err="invalid protocol version"
rivet-engine-1 | ts=2025-09-16T02:32:53.979240386Z level=warn message="parse url failed" addr=[::1]:52346 err="invalid protocol version"rivet-engine-1 | ts=2025-09-16T02:32:42.218761652Z level=warn message="parse url failed" addr=[::1]:35984 err="invalid protocol version"
rivet-engine-1 | ts=2025-09-16T02:32:43.367110519Z level=warn message="parse url failed" addr=[::1]:35986 err="invalid protocol version"
rivet-engine-1 | ts=2025-09-16T02:32:44.539822137Z level=warn message="parse url failed" addr=[::1]:35992 err="invalid protocol version"
rivet-engine-1 | ts=2025-09-16T02:32:45.769081391Z level=warn message="parse url failed" addr=[::1]:36002 err="invalid protocol version"
rivet-engine-1 | ts=2025-09-16T02:32:46.958473889Z level=warn message="parse url failed" addr=[::1]:36012 err="invalid protocol version"
rivet-engine-1 | ts=2025-09-16T02:32:48.132075064Z level=warn message="parse url failed" addr=[::1]:36028 err="invalid protocol version"
rivet-engine-1 | ts=2025-09-16T02:32:49.239247752Z level=warn message="parse url failed" addr=[::1]:36038 err="invalid protocol version"
rivet-engine-1 | ts=2025-09-16T02:32:50.436608106Z level=warn message="parse url failed" addr=[::1]:36046 err="invalid protocol version"
rivet-engine-1 | ts=2025-09-16T02:32:51.569077591Z level=warn message="parse url failed" addr=[::1]:52328 err="invalid protocol version"
rivet-engine-1 | ts=2025-09-16T02:32:52.776094519Z level=warn message="parse url failed" addr=[::1]:52342 err="invalid protocol version"
rivet-engine-1 | ts=2025-09-16T02:32:53.979240386Z level=warn message="parse url failed" addr=[::1]:52346 err="invalid protocol version"I'm wondering if this is a bug or if I'm setting something up incorrectly
