We have Slack events flowing end-to-end through our callback server β HAProxy β Express β gateway, but the gateway at http://openclaw-gateway:18789/slack/events returns 404 on every POST.
Gateway config (confirmed via channels.status RPC):
Slack channel: running: true, configured: true
mode: "http", botToken: set, signingSecret: set, webhookPath: "/slack/events"
No errors reported (lastError: null)
What works:
Callback server receives Slack events and routes to the correct instance
HAProxy passes POST /alfred/slack/events through without auth
Express slackEventsProxy matches the path and forwards to http://openclaw-gateway:18789/slack/events
What fails:
Gateway responds 404 Not Found to every POST on /slack/events (confirmed via Alfred server logs β 28 consecutive 404s)
Question:
Does port 18789 serve HTTP endpoints, or is it WebSocket/RPC only? If the Slack HTTP webhook listener runs on a different port, what port should we forward to? Or is there an additional config step needed to enable the HTTP webhook handler on 18789?