Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

WS connections refused with 1006, even though token is correct

Open
#3,377 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Domain
networking

Research direction

Start with the failing WebSocket upgrade path through cannon and nginz, reviewing their logs and the reported HTTP 420 alongside the successful /notifications and /list-connections requests. Compare the misbehaving cluster with the fresh cluster; done means the cause of code 1006 is identified and WebSocket upgrades succeed without redeploying the backend.

Written by the indexing model from the issue text.

Description

My question:
After running the production installation of wire server for ~ 20+ days, the ws connections are failing the upgrade with error code 1006, I have tried restarting cannon and nginz (because it was giving http 420, which I assume is a rate limit), but nothing helped.

Apart from re-deploying the entire backend I have not found a way to fix this behaviour, any Ideas on what I should check / do.

Currently I have failed over the misbehaving cluster to a "fresh one".

The normal requests that also require authorization are resolved with no issue with the same token (e.g. /notifications /list-connections)

Dominant language
Haskell
Stars
2.8k
Forks
332
Avg merge
3d 7h
Merged PRs (30d)
49

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from wireapp/wire-server

All issues in wireapp/wire-server

Similar issues

More Haskell issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.