ragflow icon indicating copy to clipboard operation
ragflow copied to clipboard

[Question]: Novice, seek help from the boss - prompt for gateway timeout issue

Open maxingjia1314 opened this issue 9 months ago • 2 comments

Self Checks

  • [x] I have searched for existing issues search for existing issues, including closed ones.
  • [x] I confirm that I am using English to submit this report (Language Policy).
  • [x] Non-english title submitions will be closed directly ( 非英文标题的提交将会被直接关闭 ) (Language Policy).
  • [x] Please do not modify this template :) and fill in all the required fields.

Describe your problem

新手、求老大解决-提示网关超时的问题

[HPM] Error occurred while proxying request localhost:9222/v1/user/info to http://127.0.0.1:9380/ [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors) [HPM] Error occurred while proxying request localhost:9222/v1/user/info to http://127.0.0.1:9380/ [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors) [HPM] Error occurred while proxying request localhost:9222/v1/kb/list?page=1&page_size=30&keywords= to http://127.0.0.1:9380/ [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors) [HPM] Error occurred while proxying request localhost:9222/v1/user/info to http://127.0.0.1:9380/ [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors) [HPM] Error occurred while proxying request localhost:9222/v1/kb/list?page=1&page_size=30&keywords= to http://127.0.0.1:9380/ [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)

maxingjia1314 avatar Mar 14 '25 07:03 maxingjia1314

I also have this problem

zzc-ccccc avatar Mar 26 '25 04:03 zzc-ccccc

I also have this problem

WKRZY avatar Apr 01 '25 08:04 WKRZY

Same issue here! The error occurs when launching the service from source code in development. Looking forward to a solution!

Xinyu-Pang avatar Apr 08 '25 10:04 Xinyu-Pang

#6722 建议看看英文的部署文档。 I suggest reviewing the English deployment documentation.

WKRZY avatar Apr 08 '25 10:04 WKRZY

#6722 建议看看英文的部署文档。 I suggest reviewing the English deployment documentation.

https://ragflow.io/docs/dev/launch_ragflow_from_source

WKRZY avatar Apr 08 '25 10:04 WKRZY

@WKRZY Thanks for the response!

My issue was the same as #6722. After modifying the parameters in "docker/service_conf.yaml.template" (especially the various ports) to match those in "docker/.env", I was able to successfully start from source code!

Two suggestions for the authors to consider:

  • It appears these modification instructions currently only exist in the English deployment documentation (thanks again for reminding me to check the English docs!)
  • The two mentioned files in the current GitHub repository (as of commit c26c38e on 25.4.9) still have inconsistent configurations.

谢谢!我的问题和 #6722 一样,通过修改 "docker/service_conf.yaml.template",将其参数(尤其是各种端口)调整和 "docker/.env"一致,之后就可以正常通过源码启动啦!

以下两个问题也许可以请作者们考虑:

  • 上述修改操作好像确实是只在英文部署文档里有(再次感谢提醒查看英文的部署文档!);
  • 且当前的 GitHub 仓库(截止 25.4.9 commit c26c38e)里的上述两个文件存在不一致。

Xinyu-Pang avatar Apr 09 '25 01:04 Xinyu-Pang

我也遇到了同样的问题。检查了一下是ragflow后台服务没起来的原因。检查python api/ragflow_server.py是否正常运行。

I also encountered the same problem. Check if the ragflow background service is not started. Check if python api/ragflow_server.py is running normally.

Image

guyucheng avatar Jul 09 '25 09:07 guyucheng