Skip to content

Portal returned error status 502 Bad Gateway #354

@fatelei

Description

@fatelei

trace log is

("python"), "namespace": String("default"), "sandbox": String("dify-sandbox-python")}, id: Some(String("Optionally, import UUID package here if desired.")) }
2026-01-07T08:18:06.324036Z DEBUG microsandbox_server::handler: Forwarding RPC to portal: http://127.0.0.1:50783/api/v1/rpc
2026-01-07T08:18:06.333718Z DEBUG microsandbox_server::handler: Successfully connected to portal after 0 retries (status: 502 Bad Gateway)
2026-01-07T08:18:06.338517Z ERROR microsandbox_server::error: API error occurred error=InternalError("Portal returned error status 502 Bad Gateway: ")
2026-01-07T08:18:06.338522Z ERROR microsandbox_server::error: Internal error details="Portal returned error status 502 Bad Gateway: "
2026-01-07T08:18:06.338529Z INFO microsandbox_server::middleware: Response: POST /api/v1/rpc: 500 Internal Server Error
2026-01-07T08:18:06.338955Z INFO microsandbox_server::middleware: Request: POST /api/v1/rpc
2026-01-07T08:18:06.338983Z DEBUG microsandbox_server::handler: Received JSON-RPC request request=JsonRpcRequest { jsonrpc: "2.0", method: "sandbox.stop", params: Object {"namespace": String("default"), "sandbox": String("dify-sandbox-python")}, id: Some(String("Optionally, import UUID package here if desired.")) }
⠙ Stopping sandboxes

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