# Getting java.lang.NoSuchFieldError: TCP\_FASTOPEN with latest confluentinc/cp-kafka-connect Docker Image

**URL:** <https://forum.confluent.io/t/getting-java-lang-nosuchfielderror-tcp-fastopen-with-latest-confluentinc-cp-kafka-connect-docker-image/3773>\
**Category:** Kafka Connect\
**Created:** [28 December 2021 12:16 UTC](https://forum.confluent.io/t/getting-java-lang-nosuchfielderror-tcp-fastopen-with-latest-confluentinc-cp-kafka-connect-docker-image/3773 "2021-12-28T12:16:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ssachidanand](https://avatars.discourse-cdn.com/v4/letter/s/8e8cbc/32.png) [@ssachidanand](https://forum.confluent.io/u/ssachidanand)\
**Post date:** [28 December 2021 12:16 UTC](https://forum.confluent.io/t/getting-java-lang-nosuchfielderror-tcp-fastopen-with-latest-confluentinc-cp-kafka-connect-docker-image/3773/1 "2021-12-28T12:16:32Z")

</div>

Hi,

We are using the confluentinc/cp-kafka-connect:latest docker image and have 0.31.0 Kafka Connect Zeebe (Camunda) on top of it.  
When we are building the final docker image and post deploying this docker image the source connector is not working and throwing the below exception:

Caused by: java.lang.NoSuchFieldError: TCP\_FASTOPEN  
at io.netty.channel.epoll.EpollChannelOption.(EpollChannelOption.java:39)  
at java.base/java.lang.Class.forName0(Native Method)  
at java.base/java.lang.Class.forName(Class.java:315)  
at io.grpc.netty.Utils.getEpollChannelOption(Utils.java:388)  
at io.grpc.netty.Utils.maybeGetTcpUserTimeoutOption(Utils.java:379)  
at io.grpc.netty.NettyClientTransport.start(NettyClientTransport.java:238)  
at io.grpc.internal.ForwardingConnectionClientTransport.start(ForwardingConnectionClientTransport.java:33)  
at io.grpc.internal.ForwardingConnectionClientTransport.start(ForwardingConnectionClientTransport.java:33)  
at io.grpc.internal.InternalSubchannel.startNewTransport(InternalSubchannel.java:258)  
at io.grpc.internal.InternalSubchannel.access$400(InternalSubchannel.java:65)  
at io.grpc.internal.InternalSubchannel$2.run(InternalSubchannel.java:200)  
at io.grpc.SynchronizationContext.drain(SynchronizationContext.java:95)  
at io.grpc.SynchronizationContext.execute(SynchronizationContext.java:127)  
at io.grpc.internal.ManagedChannelImpl$NameResolverListener.onResult(ManagedChannelImpl.java:1827)  
at io.grpc.internal.DnsNameResolver$Resolve.run(DnsNameResolver.java:333)  
… 3 common frames omitted

However on using confluentinc/cp-kafka-connect:7.0.0 image docker image and 0.31.0 Kafka Connect Zeebe (Camunda) we are not seeing any issue and the source connector works fine.

We are seeing this issue when using confluentinc/cp-kafka-connect:latest image which was updated/uploaded post Dec 3rd 2021. Prior to this date we didn’t face any such issues.

Can you please help us as to why the above errors are coming with the confluentinc/cp-kafka-connect:latest image updated/uploaded post Dec 3rd 2021 and not with confluentinc/cp-kafka-connect:7.0.0 image?

---

<div class="post-metadata">

**Author:** ![rick](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/rick/32/49_2.png) [@rick](https://forum.confluent.io/u/rick)\
**Post date:** [28 December 2021 16:15 UTC](https://forum.confluent.io/t/getting-java-lang-nosuchfielderror-tcp-fastopen-with-latest-confluentinc-cp-kafka-connect-docker-image/3773/2 "2021-12-28T16:15:07Z")

</div>

@ssachidanand I, personally, recommend you do not use the `latest` tag for Docker images in any production or production like deployment. Pinning your releases to an immutable version (by way of the image digest), allows you to guarantee you are running the same versions over time. This docker documentation describes more: [docker pull | Docker Documentation](https://docs.docker.com/engine/reference/commandline/pull/#pull-an-image-by-digest-immutable-identifier)

Can you provide the specific digest of the `cp-kafka-connect` image you are having issues with along with any additional installation steps for the connector you are taking along with a configuration (secrets redacted)?

---

<div class="post-metadata">

**Author:** ![ssachidanand](https://avatars.discourse-cdn.com/v4/letter/s/8e8cbc/32.png) [@ssachidanand](https://forum.confluent.io/u/ssachidanand)\
**Post date:** [29 December 2021 08:46 UTC](https://forum.confluent.io/t/getting-java-lang-nosuchfielderror-tcp-fastopen-with-latest-confluentinc-cp-kafka-connect-docker-image/3773/3 "2021-12-29T08:46:17Z")

</div>

> [@rick](#):
>
> mmutable version (by way of the image digest)

Thanks for the details rick. I used the image digest - sha256:97b5f8c2e484f9de15b4094f9e21f2cee49403c61c7a1283013557c9cb028e84 of confluentinc/cp-kafka-connect:latest and its working fine.

I am getting the above exception when using the image digest -sha256:bac307173d11085d54b53b54825250407d0034b9656504226b7c293b3131b82f of confluentinc/cp-kafka-connect:latest and the newer ones.

As mentioned earlier we are using 0.31.0 Kafka Connect Zeebe (Camunda) - [GitHub - camunda-community-hub/kafka-connect-zeebe: Kafka Connect for Zeebe.io](https://github.com/camunda-community-hub/kafka-connect-zeebe) along with the above cp-kafka-connect image for getting kafka connect functionalities.

Please let me know in case any more details are required.

Can you please let me know where we can get all the image digests for confluentinc/cp-kafka-connect:latest?

---

<div class="post-metadata">

**Author:** ![rick](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/rick/32/49_2.png) [@rick](https://forum.confluent.io/u/rick)\
**Post date:** [29 December 2021 15:15 UTC](https://forum.confluent.io/t/getting-java-lang-nosuchfielderror-tcp-fastopen-with-latest-confluentinc-cp-kafka-connect-docker-image/3773/4 "2021-12-29T15:15:15Z")

</div>

@ssachidanand You can see all of the published versions of the cp-kafka-connect image, including the digest and associated tags, here:

[https://hub.docker.com/r/confluentinc/cp-kafka-connect/tags](https://hub.docker.com/r/confluentinc/cp-kafka-connect/tags)

---

<div class="post-metadata">

**Author:** ![ssachidanand](https://avatars.discourse-cdn.com/v4/letter/s/8e8cbc/32.png) [@ssachidanand](https://forum.confluent.io/u/ssachidanand)\
**Post date:** [29 December 2021 15:55 UTC](https://forum.confluent.io/t/getting-java-lang-nosuchfielderror-tcp-fastopen-with-latest-confluentinc-cp-kafka-connect-docker-image/3773/5 "2021-12-29T15:55:51Z")

</div>

Thanks and this I know. What I was asking is where can I get the different image digests for each update done to confluentinc/cp-kafka-connect:latest?

---

<div class="post-metadata">

**Author:** ![ssachidanand](https://avatars.discourse-cdn.com/v4/letter/s/8e8cbc/32.png) [@ssachidanand](https://forum.confluent.io/u/ssachidanand)\
**Post date:** [3 January 2022 07:39 UTC](https://forum.confluent.io/t/getting-java-lang-nosuchfielderror-tcp-fastopen-with-latest-confluentinc-cp-kafka-connect-docker-image/3773/6 "2022-01-03T07:39:02Z")

</div>

@rick Any update on why the java.lang.NoSuchFieldError: TCP\_FASTOPEN exception is being thrown and where to get the different image digests for each update done to confluentinc/cp-kafka-connect:latest?

---

<div class="post-metadata">

**Author:** ![rick](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/rick/32/49_2.png) [@rick](https://forum.confluent.io/u/rick)\
**Post date:** [4 January 2022 14:22 UTC](https://forum.confluent.io/t/getting-java-lang-nosuchfielderror-tcp-fastopen-with-latest-confluentinc-cp-kafka-connect-docker-image/3773/7 "2022-01-04T14:22:48Z")

</div>

@ssachidanand I’m not able to diagnose the exception you are seeing at this time. You can see all of the docker images including their tags, digest, and date updated on Docker Hub at the link I provided
