[WEBJS] - Multiple sessions keep bouncing between STARTING and FAILED after container restart (v2026.9.2, WEBJS)
Maintainers usually reply within 2 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- node.js, typescript
Research direction
Start by reproducing the issue with multiple WEBJS sessions after restarting the container, then inspect the session startup and failure handling entry points. The report does not name files or tests, and the promised Docker logs are not included, so use the logs to locate where statuses alternate between STARTING and FAILED. Done means sessions reach a stable WORKING or SCAN_QR_CODE state after restart.
Written by the indexing model from the issue text.
Description
Describe the bug
When I restart the container, several sessions never finish starting. Their status keeps alternating between STARTING and FAILED, bouncing back and forth. This happens consistently after a container restart.
Version
Get the WAHA version by calling GET /api/version
{
"version": "2026.9.2",
"engine": "WEBJS",
"tier": "UNKNOWN"
}
Replace UNKNOWN with the actual tier returned by GET /api/version if needed.
Try to update to
the latest version before
creating an issue!
Steps
To Reproduce Steps to reproduce the behavior:
- Restart the WAHA container.
- Wait for the sessions to initialize.
- Observe several sessions.
- The sessions keep switching between
STARTINGandFAILED.
Expected behavior
After restarting the container, all sessions should start normally and reach a stable state, such as WORKING or SCAN_QR_CODE if QR scanning is required. They should not repeatedly flip between STARTING and FAILED.
Requests - Responses
N/A / I can provide request and response details if needed.
Docker Logs
I will attach the related Docker logs below.
https://waha.devlike.pro/docs/how-to/deploy/#viewing-the-logs
Screenshots
N/A
Additional context
- Version:
2026.9.2 - Engine:
WEBJS - The issue occurs when restarting the container.
- Multiple sessions are affected.
- The status keeps bouncing back and forth between
STARTINGandFAILED.
- Dominant language
- TypeScript
- Stars
- 7.6k
- Forks
- 1.8k
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 7
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from devlikeapro/waha
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
devlikeapro/waha#2322 ·
Maintainers usually reply within 2 days
-
patron:PLUS
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
devlikeapro/waha#2167 · 1 comment ·
Maintainers usually reply within 2 days
-
Difficulty 3/5 1-2 days Newbie friendliness 52/100
devlikeapro/waha#2321 ·
Maintainers usually reply within 2 days
-
patron:PLUS
Difficulty 5/5 Over a week Newbie friendliness 45/100
devlikeapro/waha#2320 ·
Maintainers usually reply within 2 days
-
GOWS: FAILED has no reason, and temporary ban / stream replaced / client outdated leave the session silently deadPossibly taken @diego-goncalves-teixeira claimed this 5 days ago. Openpatron:PLUS
Difficulty 4/5 3-5 days Newbie friendliness 25/100
devlikeapro/waha#2317 ·
Maintainers usually reply within 2 days
All issues in devlikeapro/waha
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
chaitin/MonkeyCode#1437 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 69/100
carbon-design-system/carbon-ai-chat#2615 ·
Maintainers usually reply within 1 day
-
e2e-failure ready-to-code
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
redhat-developer/rhdh-plugin-export-overlays#4486 · 1 comment ·
Maintainers usually reply within 1 day
-
[Bug]: fileUploadMatrix.test.ts URL case does a real DNS lookup and fails offlinePossibly taken @r2jaff claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
ComposioHQ/composio#5054 ·
Maintainers usually reply within 1 day