confluentinc / kafka-images

Confluent Docker images for Apache Kafka
Apache License 2.0
28 stars 137 forks source link

javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake #336

Open alexgoryushkin opened 4 months ago

alexgoryushkin commented 4 months ago

I got this error when i build this compose file:

services:
  debezium:
    image: confluentinc/cp-server-connect:latest
    command:
      - bash
      - -c
      - |
        echo "Installing connector plugins"
        confluent-hub install --no-prompt debezium/debezium-connector-postgresql:2.2.1 && echo $? || exit 1
        echo "Launching Kafka Connect worker"
        /etc/confluent/docker/run

Output:

Installing connector plugins
2024-07-02T06:18:45.852483303Z Running in a "--no-prompt" mode 
2024-07-02T06:18:47.588184695Z Implicit acceptance of the license below:  
2024-07-02T06:18:47.588237087Z Apache 2.0 
2024-07-02T06:18:47.588241225Z https://github.com/debezium/debezium/blob/master/LICENSE.txt 
2024-07-02T06:18:47.588279330Z Implicit confirmation of the question: You are about to install 'debezium-connector-postgresql' from Debezium Community, as published on Confluent Hub. 
2024-07-02T06:18:47.588377485Z Downloading component Debezium PostgreSQL CDC Connector 2.2.1, provided by Debezium Community from Confluent Hub and installing into /usr/share/confluent-hub-components 
2024-07-02T06:18:47.801172947Z javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake