cloudflare / cloudflare/moltworker
disconnected (1008): Invalid or missing token.
Open
- Dominant language
- TypeScript
- Stars
- 10k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
1. Set MOLTBOT_GATEWAY_TOKEN environment variable
2. Go to https://..workers.dev?token=
3. Still getting error message: "disconnected (1008): Invalid or missing token."
Contributor guide
Research direction
Reproduce the disconnect using the MOLTBOT_GATEWAY_TOKEN environment variable and the workers.dev URL format shown in the report. Trace how the token is passed from the URL into the gateway authentication flow, then verify the behavior with both a valid and missing token. Done means a correctly configured token no longer produces the 1008 error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- authentication, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100