Skip to content

sandbox运行报错 #78

@sw0rd1ight

Description

@sw0rd1ight

使用docker启动项目,发现无法看到manus的电脑,查看sandbox的日志报错如下

DevTools listening on ws://127.0.0.1:8222/devtools/browser/9ee395d2-f55c-42c5-931a-9d4a0f916a37
[9:45:0825/055129.681267:ERROR:dbus/bus.cc:408] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[9:45:0825/055129.681338:ERROR:dbus/bus.cc:408] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[9:9:0825/055129.845101:ERROR:dbus/object_proxy.cc:590] Failed to call method: org.freedesktop.DBus.NameHasOwner: object_path= /org/freedesktop/DBus: unknown error type:
[9:9:0825/055129.862311:ERROR:dbus/object_proxy.cc:590] Failed to call method: org.freedesktop.DBus.NameHasOwner: object_path= /org/freedesktop/DBus: unknown error type:
[9:45:0825/055129.862550:ERROR:dbus/bus.cc:408] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[9:9:0825/055129.862955:ERROR:dbus/object_proxy.cc:590] Failed to call method: org.freedesktop.DBus.NameHasOwner: object_path= /org/freedesktop/DBus: unknown error type:
backend_1       | 2025-08-25 05:53:16 - httpx - INFO - HTTP Request: GET http://192.168.48.2:8080/api/v1/file/download?path=%2Fhome%2Fubuntu%2Fquick_sort.py "HTTP/1.1 404 Not Found"
backend_1       | 2025-08-25 05:53:16 - app.domain.services.agent_task_runner - ERROR - Agent dedafb71ca704efd failed to sync file: Client error '404 Not Found' for url 'http://192.168.48.2:8080/api/v1/file/download?path=%2Fhome%2Fubuntu%2Fquick_sort.py'
backend_1       | For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404
backend_1       | Traceback (most recent call last):
backend_1       |   File "/app/app/domain/services/agent_task_runner.py", line 108, in _sync_file_to_storage
backend_1       |     file_data = await self._sandbox.file_download(file_path)
backend_1       |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
backend_1       |   File "/app/app/infrastructure/external/sandbox/docker_sandbox.py", line 425, in file_download
backend_1       |     response.raise_for_status()
backend_1       |   File "/usr/local/lib/python3.12/site-packages/httpx/_models.py", line 829, in raise_for_status
backend_1       |     raise HTTPStatusError(message, request=request, response=self)
backend_1       | httpx.HTTPStatusError: Client error '404 Not Found' for url 'http://192.168.48.2:8080/api/v1/file/download?path=%2Fhome%2Fubuntu%2Fquick_sort.py'
backend_1       | For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions