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
12 Replies
Hey! GIve me a bit to check in to this -- I think we cut a release on RivetKit a bit too early.
Thanks! In the mean time, is there a version I can switch to either in docker or in my package.json to avoid this error?
Looks like our CI pipeline was publishing to the wrong Docker tag.
I cut a release for RivetKit 2.0.4 and Rivet Engine 25.6.1. You should see the new rivetkit/engine on Docker Hub once this is finished: https://github.com/rivet-dev/engine/actions/runs/17762049684
Update to those versions and let me know how that works!
GitHub
release · rivet-dev/engine@5b7101b
Scale and orchestrate RivetKit. Contribute to rivet-dev/engine development by creating an account on GitHub.
I updated to those versions, but now when my server restarts I can't access actors previously created
It properly connects to the engine now though
that's not right, what does your client script look like?
I'm trying to use this in a discord bot
Managed to reproduce this error. Will have a fix up asap tomorrow.
Quick update – issue is fixed, cutting a release in a moment.
This is fixed in Rivet Engine 25.7.0 and RivetKit 2.0.5. If this is a dev server, you'll need to delete the data dir. If you don't know where this is, search for "starting file system driver" in the logs after starting v25.7 of the engine.
It seems this issue was because of corrupt state from an earlier version of Rivet Engine before upgrading it. This issue has been fixed and added a bunch of tests to make sure this type of thing can't happen again.
Thanks! I’ll try it out later today
Also, how would I go about trying this with foundation db instead of Postgres? And what would you recommend using
FoundationDB is part of our enterprise version, since since we usually need to help companies set it up correctly. We're still working on updating our pricing page for this. Happy to chat if you think you're going down that route – otherwise we have our cloud very soon which provides a managed version running on FoundationDB.
Oh I thought I read before that the version with foundation db was going to be self hostable, I might have read/remembered wrong