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