-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
26.0.1.Final
-
None
When undertow is configured to act as a reverse proxy to a web site, that is secured through TLS any request proxied through undertow returns a HTTP 503 Service unavailable response.
Turning on TRACE Log Level in
- org.wildfly.extension.undertow
- io.undertow
- org.xnio.nio
yields the following logging entries:
2022-02-14 11:16:05,616 DEBUG [io.undertow.request] (default I/O-4) Failed to connect: java.io.IOException: UT000065: SSL must be specified to connect to a https URL
at io.undertow.core@2.2.14.Final//io.undertow.client.http.HttpClientProvider.connect(HttpClientProvider.java:94)
at io.undertow.core@2.2.14.Final//io.undertow.client.UndertowClient.connect(UndertowClient.java:161)
at io.undertow.core@2.2.14.Final//io.undertow.server.handlers.proxy.ProxyConnectionPool.openConnection(ProxyConnectionPool.java:274)
at io.undertow.core@2.2.14.Final//io.undertow.server.handlers.proxy.ProxyConnectionPool.connect(ProxyConnectionPool.java:550)
at io.undertow.core@2.2.14.Final//io.undertow.server.handlers.proxy.LoadBalancingProxyClient.getConnection(LoadBalancingProxyClient.java:340)
at io.undertow.core@2.2.14.Final//io.undertow.server.handlers.proxy.ProxyHandler$ProxyClientHandler.run(ProxyHandler.java:329)
at io.undertow.core@2.2.14.Final//io.undertow.util.SameThreadExecutor.execute(SameThreadExecutor.java:35)
at io.undertow.core@2.2.14.Final//io.undertow.server.Connectors.executeRootHandler(Connectors.java:404)
at io.undertow.core@2.2.14.Final//io.undertow.server.protocol.http2.Http2ReceiveListener.handleRequests(Http2ReceiveListener.java:209)
at io.undertow.core@2.2.14.Final//io.undertow.server.protocol.http2.Http2ReceiveListener.handleEvent(Http2ReceiveListener.java:117)
at io.undertow.core@2.2.14.Final//io.undertow.server.protocol.http2.Http2ReceiveListener.handleEvent(Http2ReceiveListener.java:73)
at org.jboss.xnio@3.8.5.Final//org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
at io.undertow.core@2.2.14.Final//io.undertow.server.protocol.framed.AbstractFramedChannel$FrameReadListener.handleEvent(AbstractFramedChannel.java:955)
at io.undertow.core@2.2.14.Final//io.undertow.server.protocol.framed.AbstractFramedChannel$FrameReadListener.handleEvent(AbstractFramedChannel.java:935)
at org.jboss.xnio@3.8.5.Final//org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
at org.jboss.xnio@3.8.5.Final//org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
at io.undertow.core@2.2.14.Final//io.undertow.protocols.ssl.SslConduit$SslReadReadyHandler.readReady(SslConduit.java:1254)
at org.jboss.xnio.nio@3.8.5.Final//org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:89)
at org.jboss.xnio.nio@3.8.5.Final//org.xnio.nio.WorkerThread.run(WorkerThread.java:591)