-
Task
-
Resolution: Done
-
Minor
-
1.5.0.Final
-
None
-
False
-
False
-
Undefined
-
Hello Friends:
After the successful launch of a Debezium docker container – actually I'm using rootless podman(1) – the Java ReST UNIX process is running, but port 8083 is not LISTENING.
SIDEBAR: The podman run --publish 28083:8083 [ ... ] command is so published to avoid conflict on the bare-metal HOST side; but this is mentioned only for completeness since it shouldn't matter.
I discovered this issue when my HOST-site curl(1) commands were failing like this*:*
jdoe@HOST$ curl --insecure -X GET -H "Accept:application/json" localhost:28083/connectors/ curl: (56) Recv failure: Connection reset by peer
Please see below. Please help. Thank you.
jdoe@HOST$ podman exec -it debezium_container /bin/bash
[kafka@debezium ~]$ [kafka@debezium ~]$ ps -awwx PID TTY STAT TIME COMMAND 1 pts/0 Ssl+ 0:17 /etc/alternatives/jre/bin/java -Xms256M -Xmx2G -server -XX:+UseG1GC -XX:MaxGCPauseMillis=20 -XX:InitiatingHeapOccupancyPercent=35 -XX:+ExplicitGCInvokesConcurrent -XX:MaxInlineLevel=15 -Djava.awt.headless=true -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dkafka.logs.dir=/kafka/bin/../logs -Dlog4j.configuration=file:/kafka/config/log4j.properties -cp /kafka/bin/../libs/activation-1.1.1.jar:/kafka/bin/../libs/aopalliance-repackaged-2.6.1.jar:/kafka/bin/../libs/argparse4j-0.7.0.jar:/kafka/bin/../libs/audience-annotations-0.5.0.jar:/kafka/bin/../libs/avro-1.9.2.jar:/kafka/bin/../libs/common-config-6.0.2.jar:/kafka/bin/../libs/common-utils-6.0.2.jar:/kafka/bin/../libs/commons-cli-1.4.jar:/kafka/bin/../libs/commons-lang3-3.8.1.jar:/kafka/bin/../libs/connect-api-2.7.0.jar:/kafka/bin/../libs/connect-basic-auth-extension-2.7.0.jar:/kafka/bin/../libs/connect-file-2.7.0.jar:/kafka/bin/../libs/connect-json-2.7.0.jar:/kafka/bin/../libs/connect-mirror-2.7.0.jar:/kafka/bin/../libs/connect-mirror-client-2.7.0.jar:/kafka/bin/../libs/connect-runtime-2.7.0.jar:/kafka/bin/../libs/connect-transforms-2.7.0.jar:/kafka/bin/../libs/hk2-api-2.6.1.jar:/kafka/bin/../libs/hk2-locator-2.6.1.jar:/kafka/bin/../libs/hk2-utils-2.6.1.jar:/kafka/bin/../libs/jackson-annotations-2.10.5.jar:/kafka/bin/../libs/jackson-core-2.10.5.jar:/kafka/bin/../libs/jackson-databind-2.10.5.1.jar:/kafka/bin/../libs/jackson-databind-2.10.5.jar:/kafka/bin/../libs/jackson-dataformat-csv-2.10.5.jar:/kafka/bin/../libs/jackson-datatype-jdk8-2.10.5.jar:/kafka/bin/../libs/jackson-jaxrs-base-2.10.5.jar:/kafka/bin/../libs/jackson-jaxrs-json-provider-2.10.5.jar:/kafka/bin/../libs/jackson-module-jaxb-annotations-2.10.5.jar:/kafka/bin/../libs/jackson-module-paranamer-2.10.5.jar:/kafka/bin/../libs/jackson-module-scala_2.12-2.10.5.jar:/kafka/bin/../libs/jakarta.activation-api-1.2.1.jar:/kafka/bin/../libs/jakarta.annotation-api-1.3.5.jar:/kafka/bin/../libs/jakarta.inject-2.6.1.jar:/kafka/bin/../libs/jakarta.validation-api-2.0.2.jar:/kafka/bin/../libs/jakarta.ws.rs-api-2.1.6.jar:/kafka/bin/../libs/jakarta.xml.bind-api-2.3.2.jar:/kafka/bin/../libs/javassist-3.25.0-GA.jar:/kafka/bin/../libs/javassist-3.26.0-GA.jar:/kafka/bin/../libs/javax.servlet-api-3.1.0.jar:/kafka/bin/../libs/javax.ws.rs-api-2.1.1.jar:/kafka/bin/../libs/jaxb-api-2.3.0.jar:/kafka/bin/../libs/jersey-client-2.31.jar:/kafka/bin/../libs/jersey-common-2.31.jar:/kafka/bin/../libs/jersey-container-servlet-2.31.jar:/kafka/bin/../libs/jersey-container-servlet-core-2.31.jar:/kafka/bin/../libs/jersey-hk2-2.31.jar:/kafka/bin/../libs/jersey-media-jaxb-2.31.jar:/kafka/bin/../libs/jersey-server-2.31.jar:/kafka/bin/../libs/jetty-client-9.4.33.v20201020.jar:/kafka/bin/../libs/jetty-continuation-9.4.33.v20201020.jar:/kafka/bin/../libs/jetty-http-9.4.33.v20201020.jar:/kafka/bin/../libs/jetty-io-9.4.33.v20201020.jar:/kafka/bin/../libs/jetty-security-9.4.33.v20201020.jar:/kafka/bin/../libs/jetty-server-9.4.33.v20201020.jar:/kafka/bin/../libs/jetty-servlet-9.4.33.v20201020.jar:/kafka/bin/../libs/jetty-servlets-9.4.33.v20201020.jar:/kafka/bin/../libs/jetty-util-9.4.33.v20201020.jar:/kafka/bin/../libs/jopt-simple-5.0.4.jar:/kafka/bin/../libs/kafka-avro-serializer-6.0.2.jar:/kafka/bin/../libs/kafka-clients-2.7.0.jar:/kafka/bin/../libs/kafka-connect-avro-converter-6.0.2.jar:/kafka/bin/../libs/kafka-connect-avro-data-6.0.2.jar:/kafka/bin/../libs/kafka-log4j-appender-2.7.0.jar:/kafka/bin/../libs/kafka-raft-2.7.0.jar:/kafka/bin/../libs/kafka-schema-registry-client-6.0.2.jar:/kafka/bin/../libs/kafka-schema-serializer-6.0.2.jar:/kafka/bin/../libs/kafka-streams-2.7.0.jar:/kafka/bin/../libs/kafka-streams-examples-2.7.0.jar:/kafka/bin/../libs/kafka-streams-scala_2.12-2.7.0.jar:/kafka/bin/../libs/kafka-streams-test-utils-2.7.0.jar:/kafka/bin/../libs/kafka-tools-2.7.0.jar:/kafka/bin/../libs/kafka_2.12-2.7.0.jar:/kafka/bin/../libs/log4j-1.2.17.jar:/kafka/bin/../libs/lz4-java-1.7.1.jar:/kafka/bin/../libs/maven-artifact-3.6.3.jar:/kafka/bin/../libs/metrics-core-2.2.0.jar:/kafka/bin/../libs/netty-buffer-4.1.51.Final.jar:/kafka/bin/../libs/netty-codec-4.1.51.Final.jar:/kafka/bin/../libs/netty-common-4.1.51.Final.jar:/kafka/bin/../libs/netty-handler-4.1.51.Final.jar:/kafka/bin/../libs/netty-resolver-4.1.51.Final.jar:/kafka/bin/../libs/netty-transport-4.1.51.Final.jar:/kafka/bin/../libs/netty-transport-native-epoll-4.1.51.Final.jar:/kafka/bin/../libs/netty-transport-native-unix-common-4.1.51.Final.jar:/kafka/bin/../libs/osgi-resource-locator-1.0.3.jar:/kafka/bin/../libs/paranamer-2.8.jar:/kafka/bin/../libs/plexus-utils-3.2.1.jar:/kafka/bin/../libs/reflections-0.9.12.jar:/kafka/bin/../libs/rocksdbjni-5.18.4.jar:/kafka/bin/../libs/scala-collection-compat_2.12-2.2.0.jar:/kafka/bin/../libs/scala-java8-compat_2.12-0.9.1.jar:/kafka/bin/../libs/scala-library-2.12.12.jar:/kafka/bin/../libs/scala-logging_2.12-3.9.2.jar:/kafka/bin/../libs/scala-reflect-2.12.12.jar:/kafka/bin/../libs/slf4j-api-1.7.30.jar:/kafka/bin/../libs/slf4j-log4j12-1.7.30.jar:/kafka/bin/../libs/snappy-java-1.1.7.7.jar:/kafka/bin/../libs/zookeeper-3.5.8.jar:/kafka/bin/../libs/zookeeper-jute-3.5.8.jar:/kafka/bin/../libs/zstd-jni-1.4.5-6.jar org.apache.kafka.connect.cli.ConnectDistributed /kafka/config/connect-distributed.properties
[kafka@debezium ~]$ [kafka@debezium ~]$ cat /kafka/config/connect-distributed.properties [ ... snip -- only uncommented lines were pasted ... ] bootstrap.servers=confluent:29092 group.id=1 key.converter=org.apache.kafka.connect.json.JsonConverter value.converter=org.apache.kafka.connect.json.JsonConverter key.converter.schemas.enable=true value.converter.schemas.enable=true offset.storage.topic=my-connect-offsets offset.storage.replication.factor=1 config.storage.topic=my-connect-configs config.storage.replication.factor=1 offset.flush.interval.ms=60000 rest.host.name=10.0.2.100 rest.port=8083 rest.advertised.host.name=debezium rest.advertised.port=8083 plugin.path=/kafka/connect internal.value.converter=org.apache.kafka.connect.json.JsonConverter task.shutdown.graceful.timeout.ms=10000 offset.flush.timeout.ms=5000 internal.key.converter=org.apache.kafka.connect.json.JsonConverter
[kafka@debezium ~]$ [kafka@debezium ~]$ ss -a | grep LISTEN u_str LISTEN 0 128 /home/acme/Downloads/TEMP.d/run-1000/libpod/tmp/rootlessport309611555/.bp.sock 27656752 * 0 tcp LISTEN 0 50 [::]:45165 [::]:* tcp LISTEN 0 50 [::ffff:10.0.2.100]:us-srv [::]:*