Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

启动web执行任务会在调用本地浏览器时出错 #3

Open
luoluoluo22 opened this issue Mar 18, 2025 · 0 comments
Open

启动web执行任务会在调用本地浏览器时出错 #3

luoluoluo22 opened this issue Mar 18, 2025 · 0 comments

Comments

@luoluoluo22
Copy link

在仅使用服务端的情况下能调用浏览器完成任务,但是使用web端会有报错情况,这是具体报错代码
p://0.0.0.0:8000 (Press CTRL+C to quit)
INFO: Started reloader process [17592] using StatReload
2025-03-18 16:31:21,313 - root - INFO - Anonymized telemetry enabled. See http https://github.com/browser-use/browser-use for more information.
INFO: Started server process [6892]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: 127.0.0.1:11536 - "POST /api/chat/stream HTTP/1.1" 200 OK
2025-03-18 16:32:50,768 - src.service.workflow_service - INFO - Starting
workflow with user input: [{'role': 'user', 'content': '搜索简书首页文章'}]
2025-03-18 16:32:50,773 - src.graph.nodes - INFO - Coordinator talking.
2025-03-18 16:32:53,547 - httpx - INFO - HTTP Request: POST https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions "HTTP/1.1 200 OK"
2025-03-18 16:32:55,443 - src.graph.nodes - INFO - Planner generating full plan
2025-03-18 16:32:57,295 - httpx - INFO - HTTP Request: POST https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions "HTTP/1.1 200 OK"
2025-03-18 16:33:11,611 - src.graph.nodes - INFO - Supervisor evaluating
next action
2025-03-18 16:33:14,008 - httpx - INFO - HTTP Request: POST https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions "HTTP/1.1 200 OK"
2025-03-18 16:33:14,799 - src.graph.nodes - INFO - Supervisor delegating
to: browser
2025-03-18 16:33:14,801 - src.graph.nodes - INFO - Browser agent starting task
2025-03-18 16:33:15,917 - httpx - INFO - HTTP Request: POST https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions "HTTP/1.1 200 OK"
2025-03-18 16:33:17,975 - browser_use.agent.service - INFO - 🚀 Starting
task: Go to https://www.jianshu.com and scroll down the page to load more articles. Extract the title, author, publication date, and summary of each article. Format this information into a Markdown report.
2025-03-18 16:33:17,988 - browser_use.agent.service - INFO -
📍 Step 1
2025-03-18 16:33:17,989 - asyncio - ERROR - Task exception was never retrieved
future: <Task finished name='Task-345' coro=<Connection.run() done, defined at F:\vscodeNotes\03-project\langmanus-main.venv\Lib\site-packages\playwright_impl_connection.py:272> exception=NotImplementedError()>
Traceback (most recent call last):
File "F:\vscodeNotes\03-project\langmanus-main.venv\Lib\site-packages\playwright_impl_connection.py", line 279, in run
await self._transport.connect()
File "F:\vscodeNotes\03-project\langmanus-main.venv\Lib\site-packages\playwright_impl_transport.py", line 133, in connect
raise exc
File "F:\vscodeNotes\03-project\langmanus-main.venv\Lib\site-packages\playwright_impl_transport.py", line 120, in connect
self._proc = await asyncio.create_subprocess_exec(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Roaming\uv\python\cpython-3.12.9-windows-x86_64-none\Lib\asyncio\subprocess.py", line 224, in create_subprocess_exec
transport, protocol = await loop.subprocess_exec(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Roaming\uv\python\cpython-3.12.9-windows-x86_64-none\Lib\asyncio\base_events.py", line 1756, in subprocess_exec
transport = await self._make_subprocess_transport(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Roaming\uv\python\cpython-3.12.9-windows-x86_64-none\Lib\asyncio\base_events.py", line 528, in _make_subprocess_transport
raise NotImplementedError
NotImplementedError
2025-03-18 16:33:17,991 - browser_use.browser.context - WARNING - Page load failed, continuing...

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant