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

您好请问报401的错误,info没有任何信息 #313

Open
defdwlp opened this issue Mar 16, 2025 · 3 comments
Open

您好请问报401的错误,info没有任何信息 #313

defdwlp opened this issue Mar 16, 2025 · 3 comments

Comments

@defdwlp
Copy link

defdwlp commented Mar 16, 2025

您好,请问您一下,docker里面报401的错误,info里面没有任何信息是什么问题呢。
core-1 | [notice] A new release of pip is available: 25.0 -> 25.0.1
core-1 | [notice] To update, run: python -m pip install --upgrade pip
core-1 | 2025-03-16 14:39:43.420 | DEBUG | utils.pb_api:init:12 - initializing pocketbase client: http://pocketbase:8090
core-1 | 2025-03-16 14:39:43.497 | INFO | utils.pb_api:init:22 - pocketbase ready authenticated as admin - test@example.com
core-1 | 2025-03-16 14:39:43.498 | INFO | main:schedule_task:19 - task execute loop 1
core-1 | 2025-03-16 14:39:43.509 | DEBUG | general_process:main_process:52 - new task initializing...
core-1 | 2025-03-16 14:39:43.509 | DEBUG | general_process:main_process:56 - focus_id: 383z2n2050cs2hp, focus_point: 新闻, explanation: , search_engine: False
core-1 | 2025-03-16 14:39:43.512 | DEBUG | general_process:main_process:137 - process new url, still 2 urls in working list
core-1 | [INIT].... → Crawl4AI 0.4.248
core-1 | [FETCH]... ↓ https://news.baidu.com/... | Status: True | Time: 0.01s
core-1 | [COMPLETE] ● https://news.baidu.com/... | Status: True | Total: 0.01s
core-1 | Error code: 401 - Invalid token
core-1 | Error code: 401 - Invalid token
core-1 | Error code: 401 - Invalid token
core-1 | Error code: 401 - Invalid token
core-1 | Error code: 401 - Invalid token
core-1 | Error code: 401 - Invalid token
core-1 | 2025-03-16 14:39:44.723 | DEBUG | general_process:main_process:137 - process new url, still 1 urls in working list
core-1 | [INIT].... → Crawl4AI 0.4.248
core-1 | [FETCH]... ↓ https://www.cdggzy.com/sitenew/notice/List.aspx?ci... | Status: True | Time: 0.00s
core-1 | [COMPLETE] ● https://www.cdggzy.com/sitenew/notice/List.aspx?ci... | Status: True | Total: 0.00s

@bigbrother666sh
Copy link
Member

1、你没有正确配置 llm 的 token
2、不建议 写 新闻 这样泛泛的关注点,也不建议使用 news.baidu.com 这种没有针对性的信源。

如果你的目的仅仅是抓取一些热点新闻,去看微博热搜好了。

@defdwlp
Copy link
Author

defdwlp commented Mar 17, 2025

1、你没有正确配置 llm 的 token
您好,请问llm的token是在.env中设置吗?具体是那一句来设置的呢?
2、不建议 写 新闻 这样泛泛的关注点,也不建议使用 news.baidu.com 这种没有针对性的信源。
我只是测试一下整个,用视频中氢能的例子还是显示 Error code: 401 - Invalid token

@bigbrother666sh
Copy link
Member

在.env 中设置,你得先去找个提供 llm 模型服务的平台申请

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