Dev Container common steps not working
I am trying to run the Rivet in the Dev Container. However booting the cluster with "nix-shell --run "bolt init dev --yes" fails with:


19 Replies
hey! what os are you running?
win 10

FYI I have skipped the "Step 5: Setup dev tunnel (optional)" and I do not have the public IP however that should not be necessary for booting the cluster, right?
I've tried to checkout 24.5.1 version but it is the same
@Nathan should I make a bug?
hey! i plan on looking at this later this weekend, iβm pretty tied up today
apologies for the delay
alright, the issue was the workspace/repo was not trusted by vscode so the git rev-parse HEAD command failed
now I am stuck almost at the end of the bolt init dev
ah good catch
ah just looked at the config. looks like we recently broke the config for running without game servers.
(if you run
(cd infra/tf/k8s_infra/ && terraform output), you can validate that traefik_tunnel_external_ip = null)
to fix, try adding this to the end of the namespaces/dev.toml file (feel free to configure hardware as needed):
then run bolt infra up to re-apply the new config. if it helps unstick you, this is the dev config that most rivet emplyees work off of, but it's fully loaded:
I will try it and let you know, btw I am not sure I understand the public IP requirement for the dev container. I mean in my head the dev workflow is about starting the local cluster listening on the 127.0.0.1, then it would spin up the game server listening on localhost and then I would connect to it with my dev (unreal) game client. So I do not know why would I need an external IP?
ah, self-hosting rivet is intended for hosting public servers so we assume you have a public ip.
if your'e just trying to give it a spin locally for testing, what you're saying is supposed to be possible, but you ran in to a bug that's preventing that without
provisioning.
i think you can just specify this without any servers to get past the bug.
without any datacenters and it might work. it'll require a linode api key, but you can probably just pass in some random string since it won't use it.so it should look like this?
if yes, then it complains about
must have dns configured to provision servers
I've added
then I've run bolt init dev --yesyep, it requires you to configure cloudflare with dns. i don't think there's any way around it without fixing the bug i mentioned earlier.
damn, maybe I can just get older version?
but nobody knows when it got introduced
frankly, not sure how far back you'd have to go. people who are self-hosting right now are using it to run public game servers, so we don't run through this path that frequently.
we're planning on making this dead simple to set up later this year, but can't promise when
i.e. it should be just a
docker-compose up commandyep π
ok, thanks for help anyway
https://github.com/rivet-gg/rivet/issues/1137 for tracking
GitHub
missing field traefik_tunnel_external_ip` when attempting to setu...Symptoms The new rivet.provision config broke support running Rivet without edge servers. Currently fails because traefik_tunnel_external_ip tries to return null but the tf/oututs.rs config does no...
hey @Kuk! ! it's been a long haul stamping out all sorts of bugs, but we just submitted v2.1.0 to the asset store. you can download it hear while we wait for it to get approved β https://releases.rivet.gg/plugin-godot/v2.1.0/rivet-plugin-godot.zip
let us know if you run in to issues, we'll be quick on the turnaround now that the plugin core is solid.
the thing is I wanted to use unreal π
ah i dropped this link in the wrong thread πΆβπ«οΈ
easier self-hosting & unreal is coming in the next couple months
cool, I will give it a go, for now I have went with nakama + agones for fleet management. I am looking forward to trying out how it would work with rivet.