TeamWiseFlow / wiseflow

Wiseflow is an agile information mining tool that extracts concise messages from various sources such as websites, WeChat official accounts, social platforms, etc. It automatically categorizes and uploads them to the database.
Other
3.86k stars 619 forks source link

已经在docker部署和运行成功,但访问8090输出404错误,如何解决? #100

Open heavensea opened 6 days ago

heavensea commented 6 days ago

已经按照作者文字说明一步步完成了配置 也设置的admin用户名的邮件和密码 也重新启动了container 命令行显示程序也已经运行了,也在pb后台加了tag和sites内容

终端显示内容如下: [+] Running 1/0 ✔ Container wiseflow-core-1 Created 0.0s Attaching to core-1 core-1 | 2024/09/17 15:55:03 Server started at http://0.0.0.0:8090 core-1 | ├─ REST API: http://0.0.0.0:8090/api/ core-1 | └─ Admin UI: http://0.0.0.0:8090/_/ core-1 | INFO: Will watch for changes in these directories: ['/app'] core-1 | INFO: Uvicorn running on http://0.0.0.0:8077 (Press CTRL+C to quit) core-1 | INFO: Started reloader process [1] using StatReload core-1 | 2024-09-17 15:55:04.354 | DEBUG | utils.pb_api:init:12 - initializing pocketbase client: http://127.0.0.1:8090 core-1 | 2024-09-17 15:55:04.774 | INFO | utils.pb_api:init:22 - pocketbase ready authenticated as admin - chenghao@gmail.com core-1 | 2024-09-17 15:55:04.796 | INFO | main:schedule_pipeline:19 - task execute loop 1 core-1 | 2024-09-17 15:55:04.797 | INFO | main:process_site:11 - applying https://finance.sina.com.cn/7x24/ core-1 | 2024-09-17 15:55:04.797 | DEBUG | insights:pipeline:34 - start processing https://finance.sina.com.cn/7x24 core-1 | 2024-09-17 15:55:04.820 | DEBUG | utils.pb_api:init:12 - initializing pocketbase client: http://127.0.0.1:8090 core-1 | 2024-09-17 15:55:04.925 | INFO | scrapers.general_crawler:general_crawler:98 - can not reach core-1 | Redirect response '301 Moved Permanently' for url 'https://finance.sina.com.cn/7x24' core-1 | Redirect location: '/7x24/' core-1 | For more information check: https://httpstatuses.com/301 core-1 | waiting 1min core-1 | 2024-09-17 15:55:05.182 | INFO | utils.pb_api:init:22 - pocketbase ready authenticated as admin - xxxxxxx@gmail.com core-1 | INFO: Started server process [26] core-1 | INFO: Waiting for application startup. core-1 | INFO: Application startup complete.

但访问http://127.0.0.1:8090/还是显示如下: {"code":404,"message":"Not Found.","data":{}}

该如何解决?

heavensea commented 6 days ago

在pb管理后台,logs中,显示访问错误 1726588987721

bigbrother666sh commented 6 days ago

信源https://finance.sina.com.cn/7x24 封禁了你的 IP,建议写专有信源解析器

heavensea commented 6 days ago

信源https://finance.sina.com.cn/7x24 封禁了你的 IP,建议写专有信源解析器

我换了别的信源也是一样的。,这个{"code":404,"message":"Not Found.","data":{}}应该跟信源无关吧?

image

heavensea commented 6 days ago

请问,如果工作正常,访问ip:8090后,应该显示什么界面?是不是不应访问ip:8090啊,就是访问ip:8090/_/就是正常运行了?

fariskiteen commented 5 days ago

我跟你一样 搞了一下午了 我还真以为就我一个如此

fariskiteen commented 5 days ago

解决的话踢我一下谢谢

bigbrother666sh commented 4 days ago

What should be displayed after accessing ip:8090 if the work is normal? Shouldn't ip:8090 be accessed, or is accessing ip:8090/_/ a sign of normal operation?

没错,所有的抓取结果都会在 ip:8090/_/ 下面的 insight 页面中

fangyu6 commented 1 day ago

请问,设置sites和tags后,为什么insights并没有显示抓取内容

bigbrother666sh commented 18 hours ago

请问,设置sites和tags后,为什么insights并没有显示抓取内容

贴一下logs