cloudflare / cloudflare/containers

Issues on the state of containers

Open
#70 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
270
Forks
42
Avg merge
1d 5h
Merged PRs (30d)
4

Description

Hi all. My container can work very well after deployed, and can successfully stop according to sleepafter specified, then can restart.

Seems everything is ok, but the problem is containers can't restart as requested, like the requests were sent directly to a container actually stopped but the worker or DO thought running, which can easily check the state on the dashboard, then got an error like "Error proxying request to container.....", until a container restarted and was really running but no idea why and when it would do. Especially, if you have some containers showed all running but actually several not, it's like a lotto to get a correct response.

And the worse is after containers become inactive or stopped for a long time, it's much more difficult to restart them, like always fail healthcheck so that errors like "Error checking if container is ready...." and "There is no Container instance available at this time......." appear again and again.

I think those may be issues updating the state of a container. Any ideas or suggestions?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.