Я использую приведенный ниже код для подключения к Google Vision API.У меня есть JSON от Google Vision.
Код дает мне ошибку ниже.Не знаю, почему .. < TSI_PROTOCOL_FAILURE >
Пожалуйста, предложите .. Он отлично работает на компьютере с Windows Server, но не на моем компьютере с Windows 7.
Ниже приведены сведения о коде и ошибке.
enter code here
Error details below.
E0410 12:18:28.854000000 17616 src/core/tsi/ssl_transport_security.cc:1239] Handshake failed with fatal error SSL_ERROR_SSL: error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED.
grpc._channel._Rendezvous: <_Rendezvous of RPC that terminated with:
status = StatusCode.UNAVAILABLE
details = "Connect Failed"
debug_error_string = "{"created":"@1554878916.008000000","description":"Failed to create subchannel","file":"src/core/ext/filters/client_channel/client_channel.cc","file_line":2267,"referenced_errors":[{"created":"@1554878916.008000000","description":"Pick Cancelled","file":"src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc","file_line":242,"referenced_errors":[{"created":"@1554878916.008000000","description":"Connect Failed","file":"src/core/ext/filters/client_channel/subchannel.cc","file_line":962,"grpc_status":14,"referenced_errors":[{"created":"@1554878916.008000000","description":"Handshake failed","file":"src/core/lib/security/transport/security_handshaker.cc","file_line":291,"tsi_code":10,"tsi_error":"TSI_PROTOCOL_FAILURE"}]}]}]}"