electric-sql / electric-sql/electric
Container error: Stack not ready after 5000ms. Reason: Timeout waiting for shape data to be loaded
- Dominant language
- TypeScript
- Stars
- 10.4k
- Forks
- 375
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 18
Description
**Versions**
- Client: ts 1.1.3 via tanstack DB
- Electric: 1.2.3 - docker
**Bug description**
The Electric SQL container gets stuck in an unrecoverable error state
```
[warning] Stack not ready after 5000ms. Reason: Timeout waiting for shape data to be loaded
```
I have to completely take down the docker container and restart it (`docker compose down && docker compose up -d`) so that internal files are completely removed and recreated - a simple `docker compose restart` is not enough since the internal data persists.
**Expected behavior**
The container should recover gracefully, especially after a "simple" restart.
**Full Log**
[electric-error.log](https://github.com/user-attachments/files/23533399/electric-error.log)
Contributor guide
Assessment
This issue has not been assessed yet.