Skip to content

Revert "fix: Fix CVEs (#2220)" #2265

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 1, 2025
Merged

Conversation

CCisGG
Copy link
Contributor

@CCisGG CCisGG commented Apr 1, 2025

This reverts commit 54078cf.

Summary

  1. Why

For some reasons this is causing the following error for us:

2025/04/01 04:24:25.117 WARN [ClientCnxn] [main-SendThread] [kafka-cruise-control] [] Session 0x0 for server XXX, Closing socket connection. Attempting reconnect except it is a SessionExpiredException or SessionTimeoutException.
org.apache.zookeeper.ClientCnxn$EndOfStreamException: channel for sessionid 0x0 is lost
        at org.apache.zookeeper.ClientCnxnSocketNetty.doTransport(ClientCnxnSocketNetty.java:287) ~[org.apache.zookeeper.zookeeper-3.9.3.jar:3.9.3]
        at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1291) [org.apache.zookeeper.zookeeper-3.9.3.jar:3.9.3]

2025/04/01 03:43:44.391 ERROR [ClientCnxnSocketNetty] [zkNetty-EpollEventLoopGroup-2-1] [kafka-cruise-control] [] Unexpected throwable io.netty.handler.codec.DecoderException: javax.net.ssl.SSLHandshakeException: Received fatal alert: protocol_version 
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:500) ~[io.netty.netty-codec-4.1.114.Final.jar:4.1.114.Final]
...
Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: protocol_version at sun.security.ssl.Alert.createSSLException(Alert.java:131) ~[?:?] at sun.security.ssl.Alert.createSSLException(Alert.java:117) ~[?:?] at sun.security.ssl.TransportContext.fatal(TransportContext.java:358) ~[?:?] at sun.security.ssl.Alert$AlertConsumer.consume(Alert.java:293) ~[?:?]

...

2025/04/01 03:43:44.398 ERROR [KafkaCruiseControlUtils] [main] [kafka-cruise-control] [] Unable to find apply method in KafkaZkClient for Kafka 3.1+.
java.lang.reflect.InvocationTargetException: null
...
Caused by: kafka.zookeeper.ZooKeeperClientTimeoutException: Timed out waiting for connection while in state: CONNECTING
  1. What

Reverting the version update seems to make the issue disappear.

@CCisGG CCisGG merged commit eeb0123 into migrate_to_kafka_3_0 Apr 1, 2025
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant