Skip to content
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

java.lang.NoSuchFieldError: DEFAULT_SOCKET_CONNECTION_SETUP_TIMEOUT_MS #76

Open
izzie88 opened this issue Aug 8, 2021 · 3 comments
Open

Comments

@izzie88
Copy link

izzie88 commented Aug 8, 2021

Kafka connect does not start up. it dies when it throws the error : java.lang.NoSuchFieldError: DEFAULT_SOCKET_CONNECTION_SETUP_TIMEOUT_MS

Troubleshooting
Identify any existing issues that seem related: https://github.com/confluentinc/cp-all-in-one/issues?q=is%3Aissue

If applicable, please include the output of:
connect1 | [2021-08-08 00:23:22,041] ERROR Stopping due to error(org.apache.kafka.connect.cli.ConnectDistributed)
connect1 | java.lang.NoSuchFieldError: DEFAULT_SOCKET_CONNECTION_SETUP_TIMEOUT_MS
connect1 | at org.apache.kafka.connect.runtime.distributed.DistributedConfig.(DistributedConfig.java:245)
connect1 | at org.apache.kafka.connect.cli.ConnectDistributed.startConnect(ConnectDistributed.java:95)
connect1 | at org.apache.kafka.connect.cli.ConnectDistributed.main(ConnectDistributed.java:80)

Environment

  • cp-kakfka-connect-6.2.0
  • Operating System: ubuntu
  • Version of Docker: 20.10.7
  • Version of Docker Compose: 1.21.2

Kafka-connect keeps dying after the error above is logged.
zookeper and broker running fine.

@OneCricketeer
Copy link

OneCricketeer commented Sep 7, 2021

Without seeing your actual run command (the variables you've given to the connect image), this issue seems to be related to Kafka itself, not the Docker image (thus would be instead need to be posted to Kafka JIRA)

@gmeena
Copy link

gmeena commented Jul 7, 2022

Did you find any solution for this issue?

@galenliu6
Copy link

我现在也遇到了同样的问题,请问你是如何解决的。

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

No branches or pull requests

4 participants