Skip to content

Error: There is no container instance that can be provided to this Durable Object, try again later #45

@alexander-zuev

Description

@alexander-zuev

Issue Summary

Container instances are not available on production Cloudflare Workers account, causing all container-related operations to fail with error: "There is no container instance that can be
provided to this Durable Object, try again later"

Environment Details

  • Account: Production Cloudflare Workers account (can share per request)
  • Wrangler Version: 4.23.0
  • Container Config: instance_type: "dev" with @cloudflare/containers SDK
  • Deployment: Working locally and in tutorial examples, failing in production

Error Details

ERROR: There is no container instance that can be provided to this Durable Object, try again later

Configuration wrangler.jsonc:

  {
    "containers": [{
      "name": "code-container",
      "class_name": "CodeContainerDO",
      "image": "./Dockerfile",
      "instance_type": "dev"
    }],
    "durable_objects": {
      "bindings": [{
        "class_name": "CodeContainerDO",
        "name": "CODE_PORTABLE"
      }]
    }
  }

Steps to Reproduce

  1. Deploy worker with container configuration
  2. Call any endpoint that uses containerDO.start()
  3. Observe error in logs

Expected Behavior

Container should start successfully as it does in tutorial examples and local development.

Current Status

  • ✅ Image builds and and runs locally, container starts and is available
  • ✅ Works in tutorial account/setup
  • ✅ Worker deploys & builds successfully
  • ❌ Container runtime unavailable in production

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions