Skip to content

ssl_transport_security.cc:976] Handshake failed with fatal error SSL_ERROR_SSL #1284

@titusece

Description

@titusece

In which file did you encounter the issue?

/python-docs-samples/speech/cloud-client/transcribe_streaming_mic.py

Did you change the file? If so, how?

Nope.

Describe the issue

Getting the following errors while executing 'transcribe_streaming_mic.py' python example.

I have exported the 'GOOGLE_APPLICATION_CREDENTIALS' for KEY location.
Can you please help me on this issue ?

(env) root@linux:/python-docs-samples/speech/cloud-client# 
(env) root@linux:/python-docs-samples/speech/cloud-client# python transcribe_streaming_mic.py
E1031 16:56:06.657955430    2913 ssl_transport_security.cc:976] Handshake failed with fatal error SSL_ERROR_SSL: error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED.
E1031 16:56:06.740789555    2913 ssl_transport_security.cc:976] Handshake failed with fatal error SSL_ERROR_SSL: error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED.
E1031 16:56:06.815913513    2913 ssl_transport_security.cc:976] Handshake failed with fatal error SSL_ERROR_SSL: error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED.
E1031 16:56:06.968742346    2913 ssl_transport_security.cc:976] Handshake failed with fatal error SSL_ERROR_SSL: error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED.
E1031 16:56:07.094688971    2913 ssl_transport_security.cc:976] Handshake failed with fatal error SSL_ERROR_SSL: error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED.
E1031 16:56:07.174502180    2913 ssl_transport_security.cc:976] Handshake failed with fatal error SSL_ERROR_SSL: error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED.
E1031 16:56:07.277684055    2913 ssl_transport_security.cc:976] Handshake failed with fatal error SSL_ERROR_SSL: error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED.
E1031 16:56:07.378768763    2913 ssl_transport_security.cc:976] Handshake failed with fatal error SSL_ERROR_SSL: error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED.
E1031 16:56:07.532342763    2913 ssl_transport_security.cc:976] Handshake failed with fatal error SSL_ERROR_SSL: error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED.
E1031 16:56:07.676538846    2913 ssl_transport_security.cc:976] Handshake failed with fatal error SSL_ERROR_SSL: error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED.
E1031 16:56:07.791226930    2913 ssl_transport_security.cc:976] Handshake failed with fatal error SSL_ERROR_SSL: error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED.
E1031 16:56:07.909150763    2913 ssl_transport_security.cc:976] Handshake failed with fatal error SSL_ERROR_SSL: error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED.
E1031 16:56:08.005649888    2913 ssl_transport_security.cc:976] Handshake failed with fatal error SSL_ERROR_SSL: error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED.
E1031 16:56:08.248604888    2913 ssl_transport_security.cc:976] Handshake failed with fatal error SSL_ERROR_SSL: error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED.
E1031 16:56:08.347812180    2913 ssl_transport_security.cc:976] Handshake failed with fatal error SSL_ERROR_SSL: error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED.
E1031 16:56:08.535098430    2913 ssl_transport_security.cc:976] Handshake failed with fatal error SSL_ERROR_SSL: error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED.
E1031 16:56:08.724522555    2913 ssl_transport_security.cc:976] Handshake failed with fatal error SSL_ERROR_SSL: error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED.
Traceback (most recent call last):
  File "transcribe_streaming_mic.py", line 193, in <module>
    main()
  File "transcribe_streaming_mic.py", line 189, in main
    listen_print_loop(responses)
  File "transcribe_streaming_mic.py", line 128, in listen_print_loop
    for response in responses:
  File "/env/lib/python2.7/site-packages/grpc/_channel.py", line 348, in next
    return self._next()
  File "/env/lib/python2.7/site-packages/grpc/_channel.py", line 339, in _next
    raise self
grpc._channel._Rendezvous: <_Rendezvous of RPC that terminated with (StatusCode.UNAVAILABLE, Connect Failed)>
(env) root@linux:/python-docs-samples/speech/cloud-client# 
(env) root@linux:/python-docs-samples/speech/cloud-client# 
(env) root@linux:/python-docs-samples/speech/cloud-client# 

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