Skip to content

服务启动成功,但是调用一直返回错误码 #89

@shuxjweb

Description

@shuxjweb

用脚本 'retriever_serving.py'成功启动服务, 但是调用(在同一台服务器上调用)时一直返回错误码 <Response [503]>

数据及和index等文件都没问题,服务启动成功:
Image

用下面的代码调用
BASE_URL = "http://0.0.0.0:7880"
response = requests.get(f"{BASE_URL}/health")

在服务端添加了print,但是即使调用,也没有打印日志。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions