# Configure proxy in kafka connector

**URL:** <https://forum.confluent.io/t/configure-proxy-in-kafka-connector/37695>\
**Category:** Kafka Connect\
**Created:** [24 April 2025 08:32 UTC](https://forum.confluent.io/t/configure-proxy-in-kafka-connector/37695 "2025-04-24T08:32:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SaiKrishnaNeeli](https://avatars.discourse-cdn.com/v4/letter/s/76d3ee/32.png) [@SaiKrishnaNeeli](https://forum.confluent.io/u/SaiKrishnaNeeli)\
**Post date:** [24 April 2025 08:32 UTC](https://forum.confluent.io/t/configure-proxy-in-kafka-connector/37695/1 "2025-04-24T08:32:47Z")

</div>

We are running **Kafka Connect inside Kubernetes** and using the **Solace Source Connector** to ingest messages from a **Solace Cloud queue** into a Kafka topic.

However, our environment requires outbound access through a **proxy** , and We are hitting roadblocks when trying to connect to Solace Cloud over `tcps` (TLS/SSL-secured Solace connections).

When using an **HTTP proxy** , I was able to get **partial responses** from Solace Cloud using:  
curl --proxy {host}:{port} https://{solace-host}:{port} -o -

Since the Solace Source Connector requires a **`tcps://` (TLS secured)** connection, and the proxy team only allows outbound `tcps` via a **SOCKS5 proxy**

curl --socks5 {host}:{port} https://\<{solace-host}:{port} -o -  
curl: (7) Failed to connect to port {port}: Connection timed out

We also updated the connector config to enable SSL, and added truststore:  
“sol.ssl\_trust\_store”: “{trust\_store}”,  
“sol.ssl\_trust\_store\_password”: “{pwd}”,  
“sol.ssl\_trust\_store\_format”: “jks”,  
“sol.ssl\_key\_store”: “{key\_store}”,  
“sol.ssl\_key\_store\_password”: “{pwd}”,  
“sol.ssl\_key\_store\_format”: “jks”,  
“sol.ssl\_private\_key\_alias”: “{key\_alias}”,  
“sol.ssl\_private\_key\_password”: “{pwd}”

We have tried the following things from our side, but not able to connect with any of them, still we are getting timeout errors.

Added -Dhttp.proxyHost={host} -Dhttps.proxyHost={host} -Dhttps.proxyPort={port} -Dhttp.proxyPort={port} JVM arguments  
Added -DsocksProxyHost={host} -DsocksProxyPort={port} -DproxySet=true Arguments  
Tried with -Dsolace.proxy.type=socks5 -Dsolace.proxy.host={host} -Dsolace.proxy.port={port}

Has anyone successfully configured **Kafka Connect + Solace Source Connector** over **SOCKS5** with `tcps`?

If anyone has solved this, I’d love to collaborate.

Thanks& regards

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex019/uploads/confluentcommunity/original/1X/c49438c90c9df282e9996fdf6971be890c71b65a.svg) [@system](https://forum.confluent.io/u/system)\
**Post date:** [24 May 2025 08:33 UTC](https://forum.confluent.io/t/configure-proxy-in-kafka-connector/37695/2 "2025-05-24T08:33:00Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
