Playit not connecting to agent

I’m running a couple game servers with Amp on a Debian container and using Playit to connect to them. It was working just a couple days ago with Minecraft, and tonight I tried connecting to my Valheim installation but couldn’t.

”playit attach” showed repeated timeouts, and the playitgg website showed the agent offline. I tried everything I could think of before reinstalling playit completely with “apt purge playit” and then “curl -fsSL https://packages.playit.gg/install.sh | bash”.

Then I went through the process of claiming a new agent and had an issue again. After entering the claim link and accepting the location, it can’t connect in the “Agent Setup” and says the agent is offline. Back on the server, “playit status” says it’s starting and “playit attach” opens the panel briefly but only says “The playit service is starting…” and then closing and saying “Connection to the playit service was lost: IO error: Connection closed. Run “playit attach” to reconnect.” Also, stopping and then starting playit, it says that playit is already running?

I really hope that all made sense. Maybe this will resolve on its own? Any tips would be amazing.

I’m having the same problem. I can’t get my agent to connect after entering the claim code. Tried looking through logs and I keep seeing [WARN] maintained_control: control session expired; reconnecting, reason=SessionNotSetup. It seems to grab my IP request but isn’t maintaining a session to playit. Is this a recent issue? I deleted my agent recently and recreated it because the datacenter wouldn’t change and now I can’t connect to the tunnel.

2 Likes

It’s a recent issue, I was using the agent just fine two days ago for a Minecraft server. Using “playit status” gives this:

playit service status:
Phase: starting
PID: 12950
Uptime: 8 seconds
Version: 1.0.10
Socket: /run/playit/playitd.sock
Secret path: /etc/playit/playit.toml
Secret configured: true
IPC version: 2
Capabilities: [“structured_responses”, “stream_events”, “lifecycle_state”, “rich_status”, “secret_provisioning”]

It doesn’t seem to ever get past the “starting” phase.

i have the same issue in window 11

1 Like

It was working a few hours ago. It wasn’t until I removed the agent and tried to re-add it that I can’t get it to connect again. I thought maybe my key was still saved from my session but I’ve purged and deleted the toml file just like you did and I’m still not able to get the agent to go online.

1 Like

Looks like it’s ongoing maintenance/repair according to playit.gg

1 Like

let’s wait for the fix then

1 Like

Okay thank you. I had checked their status page but not the discord

North America is back up and running.

1 Like