google-cloud-ruby: ssl_transport_security.c "Corruption detected" failure on GKE
I just added the stackdriver
gem to my Rails app running on Docker in Google Container Engine (GKE).
I have done no additional installations or configuration, just require the Stackdiver gem. Attempting to log a message produces the following error:
irb(main):001:0> Rails.logger.info "blah"
blah
=> true
irb(main):002:0> E1006 19:08:57.668311726 65 ssl_transport_security.c:427] Corruption detected.
E1006 19:08:57.668415894 65 ssl_transport_security.c:403] error:1e000065:Cipher functions:OPENSSL_internal:BAD_DECRYPT
E1006 19:08:57.668424390 65 ssl_transport_security.c:403] error:1000008b:SSL routines:OPENSSL_internal:DECRYPTION_FAILED_OR_BAD_RECORD_MAC
E1006 19:08:57.668433841 65 secure_endpoint.c:177] Decryption error: TSI_DATA_CORRUPTED
E1006 19:08:57.668540147 65 ev_epollsig_linux.c:1069] pollset_kick: {"created":"@1507316937.668516426","description":"Kick Failure","file":"src/core/lib/iomgr/ev_epollsig_linux.c","file_line":244,"referenced_errors":[{"created":"@1507316937.668515815","description":"OS Error","errno":3,"file":"src/core/lib/iomgr/ev_epollsig_linux.c","file_line":982,"os_error":"No such process","syscall":"pthread_kill"}]}
E1006 19:08:57.668552062 65 completion_queue.c:653] Kick failed: {"created":"@1507316937.668516426","description":"Kick Failure","file":"src/core/lib/iomgr/ev_epollsig_linux.c","file_line":244,"referenced_errors":[{"created":"@1507316937.668515815","description":"OS Error","errno":3,"file":"src/core/lib/iomgr/ev_epollsig_linux.c","file_line":982,"os_error":"No such process","syscall":"pthread_kill"}]}
I’ve just upgraded to the latest Stackdriver gem (was at 0.8.0
before and attempting to log would segfault the Ruby process, so this is an improvement).
stackdriver (0.10.0)
google-cloud-debugger (~> 0.28.0)
google-cloud-error_reporting (~> 0.27.0)
google-cloud-logging (~> 1.2)
google-cloud-trace (~> 0.27.0)
I’m investigating as we speak and realize that the issue is quite possibly in an underlying library but I’m pressed for time and need to get logging working so I’m posting here in hopes someone has knowledge or ideas they can shared.
Thanks, Neil.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 16 (8 by maintainers)
We released google-cloud-debugger 0.32.0 and stackdriver 0.15.0 with a fix that delays the debugger startup until after workers are forked. If you have been observing this problem, please check against the new gems and see if it persists.