For some reason no matter what options I set and try, I receive the same error
when implementing a Camel Netty-HTTP route. Does anyone see, or know where my
mistake is?
The error reads
This page isn't working
192.168.2.32 didn't send any data
ERR_EMPTY_REPONSE
Here are the settings I have set for my netty-http route
<bean id="sslServer" class="org.apache.camel.support.jsse.SSLContextParameters">
<property name="certAlias" value="my_alias"/>
<property name="secureSocketProtocol" value="TLSv1.3"/>
<property name="cipherSuites">
<bean class="org.apache.camel.support.jsse.CipherSuitesParameters">
<property name="cipherSuite">
<list>
<value>TLS_AES_256_GCM_SHA384</value>
</list>
</property>
</bean>
</property>
<property name="keyManagers">
<bean class="org.apache.camel.support.jsse.KeyManagersParameters">
<property name="keyPassword" value="P@ssword1"/>
<property name="keyStore">
<bean class="org.apache.camel.support.jsse.KeyStoreParameters">
<property name="resource" value="file:/ssl/keystore.p12"/>
<property name="password" value="P@ssword1"/>
<property name="type" value="PKCS12"/>
</bean>
</property>
</bean>
</property>
<property name="trustManagers">
<bean class="org.apache.camel.support.jsse.TrustManagersParameters">
<property name="keyStore">
<bean class="org.apache.camel.support.jsse.KeyStoreParameters">
<property name="resource" value="file:/ssl/truststore.p12"/>
<property name="password" value="P@ssword1"/>
<property name="type" value="PKCS12"/>
</bean>
</property>
</bean>
</property>
</bean>
<bean id="sslClient" class="org.apache.camel.support.jsse.SSLContextParameters">
<property name="certAlias" value="my_alias"/>
<property name="secureSocketProtocol" value="TLSv1.3"/>
<property name="cipherSuites">
<bean class="org.apache.camel.support.jsse.CipherSuitesParameters">
<property name="cipherSuite">
<list>
<value>TLS_AES_256_GCM_SHA384</value>
</list>
</property>
</bean>
</property>
<property name="keyManagers">
<bean class="org.apache.camel.support.jsse.KeyManagersParameters">
<property name="keyPassword" value="P@ssword1"/>
<property name="keyStore">
<bean class="org.apache.camel.support.jsse.KeyStoreParameters">
<property name="resource" value="file:/ssl/keystore.p12"/>
<property name="password" value="P@ssword1"/>
<property name="type" value="PKCS12"/>
</bean>
</property>
</bean>
</property>
<property name="trustManagers">
<bean class="org.apache.camel.support.jsse.TrustManagersParameters">
<property name="keyStore">
<bean class="org.apache.camel.support.jsse.KeyStoreParameters">
<property name="resource" value="file:/ssl/truststore.p12"/>
<property name="password" value="P@ssword1"/>
<property name="type" value="PKCS12"/>
</bean>
</property>
</bean>
</property>
</bean>
<route id="reverse-proxy-route" streamCache="true">
<from
uri="netty-http:https://192.168.2.32:8443/test?sslContextParameters=#sslServer&ssl=true&bridgeEndpoint=true&throwExceptionOnFailure=false&matchOnUriPrefix=true&synchronous=true&transferException=true"/>
<toD
uri="netty-http:https://193.168.4.23:8443/test?bridgeEndpoint=true&sslContextParameters=#sslClient&throwExceptionOnFailure=false&connectTimeout=10000&requestTimeout=30000&reuseChannel=true/>
</route>
I looked through my log files and can see that netty-http is loading and
binding to the proper port. I have also performed an nc -zv 192.168.2.32 8443
and receive a response.
INFO | Created SslContext SSLContext[hash=1111111111, provider=SunJSSE version
17, protocol=TLSv1.3, needClientAuth=false, wantClientAuth=false
defaultProtocols=TLSv1.3,TLSv1.2
defaultCipherSuites=TLS_AES_256_GCM_SHA384
SupportedProtocols=TLSv1.3,TLSv1.2,TLSv1.1,TLSv1,SSLv3,SSLv2Hello
supportedCipherSuites=TLS_AES_256_GCM_SHA384,TLS_AES_128_GCM_SHA256,TLS_CHACHA20_POLY1305_SHA256,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256,TLS
_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_DHE_RSA_WITH_AES_256_GCM_SHA384,TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256,TLS_DHE_RSA_WITH_AES_128_GCM_SHA256,TLS
_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384,TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_DHE_RSA_WITH_AES_256_CBC_SHA256,TLS_DHE_RSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE
_ECDSA_WITH_AES_256_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,TLS_DHE_RSA_WITH_AES_256_CBC_SHA,TLS_DHE_RSA_WITH_AES_128_CBC_SHA,TLS_EMPTY_RENEGOTIATION_INFO_SCSV
,TLS_RSA_WITH_NULL_SHA256,TLS_ECDHE_ECDSA_WITH_NULL_SHA,TLS_ECDHE_RSA_WITH_NULL_SHA,SSL_RSA_WITH_NULL_SHA
] | org.apache.camel.component.netty.http.HttpServerInitializerFactory | main
INFO | BootstrapFactory on port 8443 is using bootstrap configuration:
[NettyServerBootstrapConfiguration{protocol='https', host='192.168.2.32',
port=8443, broadcast=false, sendBufferSize=65536, receiveBufferSize=65536,
receiveBufferSizePredictor=0, workerCount=0, bossCount=1, keepAlive=true,
tcpNoDelay=true, reuseAddress=true, connectTimeout=10000, backlog=0,
serverInitializerFactory=org.apache.camel.component.netty.http.HttpServerInitializerFactory@<mailto:serverInitializerFactory=org.apache.camel.component.netty.http.HttpServerInitializerFactory@59bdd277>60hfd835,
nettyServerBootstrapFactory=null, options=null, ssl=true, sslHandler=null,
sslContextParameters='SSLContextParameters[keyManagers=KeyManagersParameters[keyStore=KeyStoreParameters[type=PKCS12,
password=*************, provider=null, resource=file:/ssl/keystore.p12],
keyPassword=**********, provider=null, algorithm=null],
trustManagers=TrustManagerType[keyStore=KeyStoreParameters[type=PKCS12,
password=********, provider=null, resource=file:/ssl/truststore.p12],
provider=null, algorithm=null], secureRandom=null, clientParameters=null,
serverParameters=null, provider=null, secureSocketProtocol=TLSv1.3,
certAlias=my_alias,
getCipherSuites()=CipherSuitesParameters[cipherSuite=[TLS_AES_256_GCM_SHA384]],
getCipherSuitesFilter()=null, getSecureSocketProtocols()=null,
getSecureSocketProtocolsFilter()=null, getSessionTimeout()=null]',
needClientAuth=false, enabledProtocols='TLSv1.2,TLSv1.3,
keyStoreResource='null', trustStoreResource='null', keyStoreFormat='JKS',
securityProvider='SunX509', passphrase='null', bossGroup=null,
workerGroup=null, networkInterface='null', reconnect='true',
reconnectInterval='10000', unixDomainSocketPath='null'}] |
org.apache.camel.component.netty.http.HttpServerBootstrapFactory | main
2026-08-31 11:04:22,904 | INFO | Creating shared NettyConsumerExecutorGroup
with 9 threads | org.apache.camel.component.netty.NettyComponent | main
2026-08-31 11:04:23,037 | INFO | ServerBootstrap binding to 192.168.2.32:8443
| org.apache.camel.component.netty.SingleTCPNettyServerBootstrapFactory | main
2026-08-31 11:04:23,148 | INFO | Netty consumer bound to: 192.168.2.32:8443 |
org.apache.camel.component.netty.NettyConsumer | main
Jason