Warning message

A translation for your language preference does not exist.

Log forwarding throws SSL or Connection errors sending to Kafka in RHOCP 4

Solution 確認済 - 更新日時 - 日本語 への翻訳依頼

問題

  • Receiving SSL or Connection errors unsupported protocol or Could not connect to any of the seed brokers when log forwarding to Kafka.
  • Not able to send to Kafka with errors in the collector pods:

    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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content