labring / FastGPT

FastGPT is a knowledge-based platform built on the LLMs, offers a comprehensive suite of out-of-the-box capabilities such as data processing, RAG retrieval, and visual AI workflow orchestration, letting you easily develop and deploy complex question-answering systems without the need for extensive setup or configuration.
https://fastgpt.in
Other
15.58k stars 4.09k forks source link

在容器中运行报错! #1978

Closed martin0359 closed 1 week ago

martin0359 commented 1 week ago

例行检查

你的版本

问题描述, 日志截图

复现步骤

预期结果

相关截图

感谢,正在测试,但docker中的容器报错,日志:

2024/07/06 23:02:13 | stdout | INFO: 172.17.0.1:46382 - "POST /v1/rerank HTTP/1.1" 200 OK -- | -- | -- 2024/07/06 23:02:13 | stdout | api return error, req_id: code: 14, msg: IAM Certification failed 可能的原因: IAM 鉴权失败,请检查 Access Key 与 Secret Key 是否正确,当前使用的 Access Key 为 zjQTUb*** 2024/07/06 23:02:13 | stdout | 报错: 2024/07/06 23:02:13 | stderr | [ERROR][2024-07-06 15:02:13.846] openapi_requestor.py:258 [t:140702030883712]: api request req_id: failed with error code: 14, err msg: IAM Certification failed 可能的原因: IAM 鉴权失败,请检查 Access Key 与 Secret Key 是否正确,当前使用的 Access Key 为 zjQTUb***, please check https://cloud.baidu.com/doc/WENXINWORKSHOP/s/tlmyncueh 2024/07/06 23:02:13 | stderr | response body: b'' 2024/07/06 23:02:13 | stderr | response headers: {'Bfe-Trace-Id': '4f17822716bbe57632a72fe9e63c80d6', 'Content-Length': '0', 'Date': 'Sat, 06 Jul 2024 15:02:13 GMT', 'X-Bce-Error-Code': 'IamSignatureInvalid', 'X-Bce-Error-Message': 'IamSignatureInvalid, cause: Could not find credential.', 'X-Bce-Exception-Point': 'Gateway', 'X-Bce-Gateway-Region': 'BJ', 'X-Bce-Request-Id': 'd104c0a4-630f-42f3-94ed-07de0a2ca773', 'Content-Type': 'text/plain; charset=utf-8'} 2024/07/06 23:02:13 | stderr | request body: '{}' 2024/07/06 23:02:13 | stderr | request headers: {'User-Agent': 'python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate', 'Accept': '/', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Host': 'qianfan.baidubce.com', 'request-source': 'qianfan_py_sdk_v0.4.0.1', 'x-bce-date': '2024-07-06T15:02:13Z', 'Authorization': 'bce-auth-v1/zjQTUb5qFi74oMKl6aVzNJpS/2024-07-06T15:02:13Z/300/content-type;host;request-source;x-bce-date/fd9b1ef396961a73b31887bc487e7d6c2e1fb0653698c6853d8cee4f890e780d', 'Content-Length': '2'} 2024/07/06 23:02:13 | stderr | error message from baidu: IamSignatureInvalid, cause: Could not find credential. 2024/07/06 23:02:13 | stderr | error code from baidu: IamSignatureInvalid 2024/07/06 23:02:13 | stderr | [WARNING][2024-07-06 15:02:13.691] base.py:1018 [t:140702030883712]: fetch_supported_models failed: http request url https://qianfan.baidubce.com/wenxinworkshop/service/list failed with http status code 403 2024/07/06 23:02:13 | stderr | response body: b'' 2024/07/06 23:02:13 | stderr | response headers: {'Bfe-Trace-Id': '4f17822716bbe57632a72fe9e63c80d6', 'Content-Length': '0', 'Date': 'Sat, 06 Jul 2024 15:02:13 GMT', 'X-Bce-Error-Code': 'IamSignatureInvalid', 'X-Bce-Error-Message': 'IamSignatureInvalid, cause: Could not find credential.', 'X-Bce-Exception-Point': 'Gateway', 'X-Bce-Gateway-Region': 'BJ', 'X-Bce-Request-Id': 'd104c0a4-630f-42f3-94ed-07de0a2ca773', 'Content-Type': 'text/plain; charset=utf-8'} 2024/07/06 23:02:13 | stderr | request body: '{}' 2024/07/06 23:02:13 | stderr | request headers: {'User-Agent': 'python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate', 'Accept': '/', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Host': 'qianfan.baidubce.com', 'request-source': 'qianfan_py_sdk_v0.4.0.1', 'x-bce-date': '2024-07-06T15:02:13Z', 'Authorization': 'bce-auth-v1/zjQTUb5qFi74oMKl6aVzNJpS/2024-07-06T15:02:13Z/300/content-type;host;request-source;x-bce-date/fd9b1ef396961a73b31887bc487e7d6c2e1fb0653698c6853d8cee4f890e780d', 'Content-Length': '2'} 2024/07/06 23:02:13 | stderr | error message from baidu: IamSignatureInvalid, cause: Could not find credential. 2024/07/06 23:02:13 | stderr | error code from baidu: IamSignatureInvalid 2024/07/06 23:02:13 | stderr | [ERROR][2024-07-06 15:02:13.691] base.py:133 [t:140702030883712]: http request url https://qianfan.baidubce.com/wenxinworkshop/service/list failed with http status code 403 2024/07/06 23:01:55 | stdout | INFO: 172.17.0.1:46358 - "GET / HTTP/1.1" 404 Not Found 2024/07/06 22:58:26 | stderr | INFO: Uvicorn running on http://0.0.0.0:6008 (Press CTRL+C to quit) 2024/07/06 22:58:26 | stderr | INFO: Application startup complete. 2024/07/06 22:58:26 | stderr | INFO: Waiting for application startup. 2024/07/06 22:58:26 | stderr | INFO: Started server process [1]