Log forwarding throws SSL or Connection errors sending to Kafka in RHOCP 4
問題
- Receiving SSL or Connection errors
unsupported protocolorCould not connect to any of the seed brokerswhen log forwarding to Kafka. -
Not able to send to Kafka with errors in the
collectorpods:2021-01-01T01:20:16.281496578Z 2021-01-01 01:20:16 +0000 [warn]: failed to flush the buffer. retry_time=55 next_retry_seconds=2021-01-01 01:21:22 +0000 chunk="5c3dbd343d728da9b37e012a7fb0044e" error_class=OpenSSL::SSL::SSLError error="SSL_connect returned=1 errno=0 state=error: unsupported protocol" 2021-01-01T01:20:16.281677507Z 2021-01-01 01:20:16 +0000 [warn]: Send exception occurred: SSL_connect returned=1 errno=0 state=error: unsupported protocol 2021-01-01T01:20:16.281730974Z 2021-01-01 01:20:16 +0000 [warn]: Exception Backtrace : /usr/local/share/gems/gems/ruby-kafka-1.1.0/lib/kafka/ssl_socket_with_timeout.rb:69:in `connect_nonblock'2021-01-01T01:04:09.471501443Z 2021-01-01 01:04:09 +0000 [warn]: [kafka_app_2] failed to flush the buffer. retry_times=19 next_retry_time=2023-02-17 06:05:07 +0000 chunk="5f4de82638b8942cb6a1c6b05db08dbc" error_class=Kafka::ConnectionError error="Could not connect to any of the seed brokers:\n- kafka://kafka.server.example.com:9092: Connection error EOFError: EOFError" 2021-01-01T01:04:31.883698829Z 2021-01-01 01:04:31 +0000 [warn]: [kafka_app_1] Send exception occurred: Could not connect to any of the seed brokers: 2021-01-01T01:04:31.883698829Z - kafka://kafka.server.example.com:9092: Connection error EOFError: EOFError
環境
- Red Hat OpenShift Container Platform (RHOCP)
- 4
- Red Hat OpenShift Logging (RHOL)
- 5
- Kafka
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.