If your OpenClaw sub-agents keep dying with gateway closed (1008): pairing required, the fix isn’t what you’d expect. The device is paired, the token is valid — the problem is that sub-agents are routing back through your reverse proxy instead of talking to the gateway directly. Two config changes and a quick device approval after restart, and they’ll be spawning cleanly in parallel.
Nextcloud’s SMB password field has a nasty habit of rejecting perfectly valid credentials the moment you click ‘verify’. After hours of hair-pulling, I discovered the fix is blissfully simple: skip the broken GUI entirely and add the share directly with OCC commands.
Five lines in the terminal later, your share mounts perfectly, users get access, and you can get on with your life. No tickets, no forum threads, no sacrificing a goat to the SMB gods required.


