Clarifai PHP/GRPC - 代码 14:无法连接到所有地址

Clarifai PHP/GRPC - Code 14: failed to connect to all addresses

所以,我遇到了这个问题:

response: null
status: {
    code: 14 
    details: failed to connect to all addresses
}

我尝试了所有我能想到的方法,但没有任何效果,而且我没有想法。有人能帮我吗?谢谢!

这是代码,如示例:

        $image = new Image([
            'base64' => file_get_contents($_SERVER['DOCUMENT_ROOT'] . $fileData['path'] . $fileData['name']),
        ]);

        $data = new Data([
            'image' => $image
        ]);

        $input = new Input([
            'data' => $data
        ]);

        $request = new PostModelOutputsRequest([
            'user_app_id' => $this->userDataObject, // This is defined above
            'model_id' => 'aaa03c23b3724a16a56b629203edc62c',  // This is the ID of the publicly available General model.
            'inputs' => [$input]
        ]);

        [$response, $status] = $this->client->PostModelOutputs(
            $request,
            $this->metadata
        )->wait();

埃洛伊萨,

这很可能是 LetsEncrypt SSL 证书过期。

如果有帮助,请告诉我!