RDN
Rivet Developer Network
Build and scale stateful workloads. Rivet is a library for long-lived processes with durable state, realtime, and scalability. Easily self-hostable and works with your infrastructure.
JoinRDN
Rivet Developer Network
Build and scale stateful workloads. Rivet is a library for long-lived processes with durable state, realtime, and scalability. Easily self-hostable and works with your infrastructure.
Join401s from the CLI
Hi! Whenever I try to run any CLI command I get the following error:
rivet_cli_core::error::Error::InspectFail inspect fail: error in response: status code 401 Unauthorized...Set a delay before server shutdown and cancel matckmaker
In our game, and I think this must be the case in many games, we send certain data to our API at the end of the game, but we've noticed that when players disconnect, the server closes instantly, so the requests don't have time to be sent. this may have already been integrated, but I haven't been able to find it.
Something else that might be interesting would be to make a request to cancel matchmaking....
lobbies.setClosed doesn't work?
In my game server I've made a game start function that can be executed before the maximum number of lobby players is reached, so I make a :
...
await Rivet.matchmaker.lobbies.setClosed({"is_closed": true})
refuse_new_connections(true)
await Rivet.matchmaker.lobbies.setClosed({"is_closed": true})
refuse_new_connections(true)
Editing forked opengb-modules
Is there a proper way to edit / run forked opengb-modules, I am trying to edit the auth module inside opengb-module registry and was wondering if there was a certain way to do this.
Indie plan confusion
I want to pay $9 per month for the indie plan with the 6 servers. How, on the billing page, can I do this?

Unable to deploy
Hey we're trying to install rivet for our game but when we try to deploy the game it gives us this error:
"core/variant/variant_utility.cpp:1092 - [Rivet] Invalid response from the command line tool: 43"
So we can't deploy our game, we've tried on several computers and several projects but each time we get this error...
Issue installing Rivet CLI on Godot 4.2.2 (Fedora Linux)
Hello everyone! I am pretty new to programming and decided to try out making a multiplayer game in Godot using Rivet.
I have installed the Rivet plugin through AssetLib, enabled the plugin in project settings and then restarted my editor.
When I head over to the Rivet tab, it tells me to install Rivet CLI. I press the button to install it through the editor and it gives me this error no matter how many times I try :(...

Best Practices for CI/CD w Rivet
I'm looking to add a CI/CD pipeline for my Rivet Unreal project. I already have my Unreal Linux server to Docker process sorted so my only remaining work is really around deployment.
Are there any best practices I should know about for submitting deployments to Rivet? Topics that come to mind:
- build agent auth...
Matchmaker returning "Stale" or "Too Long to Complete"
I've tried to test my game on real Rivet server. But I've noticed Rivet returning either "Stale" or "Too long" responses. Now I don't really know what cause this. Could either be my Docker issue(docker on local machine works fine, though) or Rivet's issue.
Also I couldn't access logs from the Dashboard. Returning 500...

Docker root user issue while using Godot Docker Example
Hello there! I'm trying to create Rivet integration with my own Multiplayer Library. But after deployment, Rivet CLI seems to not allow for root user. I'm not exactly sure how to make the DockerFile work as docker newbie myself. Helps are appreciated!
DockerFile (same one from the wiki):
```
FROM ghcr.io/rivet-gg/images/godot:4.2 AS builder...

Automated Unreal dedicated server build
In this documentation page:
https://rivet.gg/learn/unreal/concepts/build-engine-from-source
says:
Rivet provides an automated process for building Unreal dedicated servers without building the engine from source....
Unity + Fishnet crash course problem
Hello all, new member here. I'm trying to follow the guide at https://rivet.gg/learn/unity/tutorials/fishnet/crash-course (Testing locally section for now). I think the steps might be outdated? After running ...
rivet init I only got the yaml file created and the game linked, but no token was provided.
I checked the dashboard and found this command: rivet token create dev -n staging, so I created the token that way.
However after I put the token in the RivetManager in the Main scene and try the game, I get this error:
POST https://api.staging2.gameinc.io/matchmaker/lobbies/ready ProtocolError: HTTP/1.1 400 Bad Request {"code":"TOKEN_INVALID","message":"Token is invalid: invalid
POST https://api.staging2.gameinc.io/matchmaker/lobbies/ready ProtocolError: HTTP/1.1 400 Bad Request {"code":"TOKEN_INVALID","message":"Token is invalid: invalid
Installing wrong Rivet CLI
from all the testing i’ve done, i’ve come to the guess that i have the wrong rivet and it’s stopping the right rivet from working.
basically
rivet run start does nothing, which is the same behavior for commands that don’t exist, rivet init gives an error about contracts file path not existing or something, and it just doesn’t work. this is on my brothers computer btw, on mine it works fine.
on my brothers computer running rivet --version prints “1.0.7” or something like that and mine prints a small wall of text where the first line is “rivet cli”...CORS issue for curling / requesting OGB script functions
I am trying to request the authenticate_user function, it is public. Here is the code:
```ts
import axios from "axios";
export interface Response {...

Authentication with Email
Looking at the scripts on the docs, https://opengb.dev/modules/auth/overview, is there not a native script that allows basic email and password authentication? Furthermore, how does one correlate this to the users module or tokens module?
module.d.ts not found after creating local module
Created a local module with the OGB CLI and running into a filepath issue involving the "module.d.ts" file for "ScriptContext"

Unable to find image 'openapitools/openapi-generator-cli:v7.2.0' locally
I am trying to generate the SDK for the OGB system,
opengb sdk generate --output sdk typescript. I get the error in the image.
Here is my backend.yaml file:
```yml
registries:...

