Skip to content

Failed to initialize sandbox: Status 500 #98

@jinguchu

Description

@jinguchu

远程docker环境执行sandbox,可以pull image,但run失败,log如下:
Using registered sandbox configuration: Base Sandbox
2026-02-25 09:14:45.301 INFO [TID: N/A] 14928 --- [oundedElastic-2] i.a.r.sandbox.manager.SandboxService : Checking image: agentscope-registry.ap-southeast-1.cr.aliyuncs.com/agentscope/runtime-sandbox-base:latest
2026-02-25 09:14:45.304 INFO [TID: N/A] 14928 --- [oundedElastic-2] i.a.r.s.m.c.c.docker.DockerClient : Image found locally: agentscope-registry.ap-southeast-1.cr.aliyuncs.com/agentscope/runtime-sandbox-base:latest
2026-02-25 09:14:45.304 INFO [TID: N/A] 14928 --- [oundedElastic-2] i.a.r.sandbox.manager.SandboxService : Docker image is ready: agentscope-registry.ap-southeast-1.cr.aliyuncs.com/agentscope/runtime-sandbox-base:latest
2026-02-25 09:14:45.308 INFO [TID: N/A] 14928 --- [oundedElastic-2] i.a.r.sandbox.manager.SandboxService : Runtime config: {}
2026-02-25 09:14:45.309 INFO [TID: N/A] 14928 --- [oundedElastic-2] i.a.r.sandbox.manager.utils.PortManager : Allocated port: 49153
2026-02-25 09:14:45.309 INFO [TID: N/A] 14928 --- [oundedElastic-2] i.a.r.s.m.c.c.docker.DockerClient : Mapped container port 80/tcp to host port 49153
2026-02-25 09:14:45.339 ERROR [TID: N/A] 14928 --- [oundedElastic-2] i.a.runtime.sandbox.box.Sandbox : Failed to initialize sandbox: Status 500: {"message":"invalid volume specification: 'E:\demo\AI\agentscope-java\agent-hello/sessions_mount_dir/xt5aLux4iwQLzwpLFum4eU:/workspace:rw'"}

2026-02-25 09:14:45.339 ERROR [TID: N/A] 14928 --- [oundedElastic-2] i.a.r.sandbox.tools.base.RunPythonTool : Run Python Code Error: Failed to initialize sandbox
2026-02-25 09:15:01.992 INFO [TID: N/A] 14928 --- [oundedElastic-1] c.t.a.a.controller.AgentController : Stream processing completed successfully

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