I've set up Clawdbot on a VPS running Ubuntu 24.04. I've gone through the quick setup. However, after setup I see Health check failed: gateway closed (1006 abnormal closure (no close frame)): no close reason
Gateway target: ws://127.0.0.1:18789
Running doctor gives me:
โ Gateway โโโโโโโโโโโโโโโฎ
โ โ
โ Gateway not running. โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โ
โ Gateway connection โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ Gateway target: ws://127.0.0.1:18789 โ
โ Source: local loopback โ
โ Config: /home/clawdbot/.clawdbot/clawdbot.json โ
โ Bind: loopback โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โ
โ Gateway โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ systemd user services are unavailable; install/enable systemd or run the gateway under โ
โ your supervisor. โ
โ If you're in a container, run the gateway in the foreground instead of `clawdbot โ
โ gateway`. โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
What should I do to get the gateway working?