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

Issue with Running BrowserUse WebUI – Agent Fails to Execute Task #239

Open
vldmcr opened this issue Feb 6, 2025 · 2 comments
Open

Issue with Running BrowserUse WebUI – Agent Fails to Execute Task #239

vldmcr opened this issue Feb 6, 2025 · 2 comments

Comments

@vldmcr
Copy link

vldmcr commented Feb 6, 2025

Hi everyone,

I’m encountering an issue while running the BrowserUse WebUI. Here’s what happens:

  1. I start the application using:
    web-ui % python3 webui.py

The application runs successfully, and I get the following output:
INFO [browser_use] BrowserUse logging setup complete with level info
INFO [root] Anonymized telemetry enabled. See https://github.com/browser-use/browser-use for more information.

  1. I configure the parameters in the application (see attached screenshot for details)
Image
  1. When I try to run the agent with the task:
    go to google.com and type 'OpenAI' click search and give me the first url

The agent fails to execute the task, and I get the following error in the terminal:
INFO [agent] 🚀 Starting task: go to google.com and type 'OpenAI' click search and give me the first url
INFO [src.agent.custom_agent]
📍 Step 1
ERROR [agent] ❌ Result failed 1/5 times:
Error code: 401 - {'error': {'message': 'Authentication Fails (no such user)', 'type': 'authentication_error', 'param': None, 'code': 'invalid_request_error'}}
INFO [src.agent.custom_agent]
📍 Step 1
ERROR [agent] ❌ Result failed 2/5 times:
Error code: 401 - {'error': {'message': 'Authentication Fails (no such user)', 'type': 'authentication_error', 'param': None, 'code': 'invalid_request_error'}}
INFO [src.agent.custom_agent]
📍 Step 1
ERROR [agent] ❌ Result failed 3/5 times:
Error code: 401 - {'error': {'message': 'Authentication Fails (no such user)', 'type': 'authentication_error', 'param': None, 'code': 'invalid_request_error'}}
INFO [src.agent.custom_agent]
📍 Step 1
ERROR [agent] ❌ Result failed 4/5 times:
Error code: 401 - {'error': {'message': 'Authentication Fails (no such user)', 'type': 'authentication_error', 'param': None, 'code': 'invalid_request_error'}}
INFO [src.agent.custom_agent]
📍 Step 1
ERROR [agent] ❌ Result failed 5/5 times:
Error code: 401 - {'error': {'message': 'Authentication Fails (no such user)', 'type': 'authentication_error', 'param': None, 'code': 'invalid_request_error'}}

when i ask Deepseek about this error:

📌 Example of Correct Configuration
Setting: Value
API Key: sk-your-new-key (51 characters) ---> My Deepseek API key and every new one I generate have with sk- 32 characters??
Base URL: https://api.deepseek.com/v1
Model Name: deepseek-chat
Messages: List of objects with role and content

Could someone please help me troubleshoot this issue?

Thank you in advance!
Vld

@warmshao
Copy link
Collaborator

warmshao commented Feb 6, 2025

Please make sure your Deepseek API key is correct. However, recently the Deepseek official website has been down all the time. There may be a problem with unsuccessful calls.

@vldmcr
Copy link
Author

vldmcr commented Feb 7, 2025

Please make sure your Deepseek API key is correct. However, recently the Deepseek official website has been down all the time. There may be a problem with unsuccessful calls.

About Deepseek API key, it's correct, i tested it in terminal:

Image

Additionally, after this test in the terminal, it see tokens are used in the DeepSeek API platform.

Image

but in when i try again to use run agent from webui, it shows me:
📍 Step 1
ERROR [agent] ❌ Result failed 1/5 times:
Error code: 404 - {'error_msg': 'Not Found. Please check the configuration.'}
INFO [src.agent.custom_agent]

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

2 participants