#Whatsapp: Using Minimax 2.1, QR Code not appearing when configuring in Hetzner Server
1 messages ยท Page 1 of 1 (latest)
Based on the FAQ, the QR code issue is not related to the Minimax model โ that's just for chat responses. WhatsApp QR codes are a browser/display issue.
Here are the most likely causes:
1. Using Bun instead of Node ๐จ
"Bun is not recommended. We see runtime bugs, especially with WhatsApp and Telegram. Use Node for stable gateways."
Check what you're running:
bun --version # If this works, you're on Bun
node --version # Should be >= 22
Switch to Node/pnpm:
pnpm install && pnpm run dev
2. Headless browser on VPS
On a headless server, the QR code generates but may not display. Check logs:
clawdbot logs --follow
You should see QR code logs there. If not, the browser may need configuration.
3. Missing browser dependencies
WhatsApp Web needs Chrome/Chromium. Install:
# Ubuntu/Debian
sudo apt-get install -y chromium-browser
# Or use the clawdbot browser tool with proper setup
Quick fix to try first:
# Make sure you're NOT using Bun
which bun && echo "Remove Bun from PATH or use Node instead"
# Restart with Node
node ./packages/cli/dist/cli.js gateway
Let me know what you find โ happy to dig deeper! ๐ฆ
The status shows browser: { headless: false } but on a Hetzner server (headless VPS), you cannot see a browser window โ even with headless: false, there's no display!
The QR code is generating, but it has nowhere to render.
Solutions:
Option 1: SSH Port Forward (view browser locally)
# On your LOCAL machine
ssh -L 9222:localhost:9222 user@your-hetzner-server
# Then open in your local browser:
http://localhost:9222
Option 2: Use WhatsApp Pairing Code (recommended for VPS)
The QR should still log. Check the gateway logs:
clawdbot logs --follow
Look for a 6-digit pairing code or check if you can approve it remotely:
# List pending pairings
clawdbot pairing list whatsapp
# If you see a code, approve it
clawdbot pairing approve whatsapp <CODE>
Option 3: Force browser debug mode
# Add to config