UT000072: Failed to decode url 100% to charset UTF-8

Solution Verified - Updated -

Issue

  • We see the following error for some requests:
2016-12-02 11:55:18,320 DEBUG [io.undertow.request.io] (default I/O-3) UT005014: Failed to parse HTTP request: java.lang.IllegalArgumentException: UT000072: Failed to decode url 100% to charset UTF-8
    at io.undertow.util.URLUtils.decode(URLUtils.java:140)
    at io.undertow.server.protocol.http.HttpRequestParser.decode(HttpRequestParser.java:543)
    at io.undertow.server.protocol.http.HttpRequestParser.handleQueryParameters(HttpRequestParser.java:525)
    at io.undertow.server.protocol.http.HttpRequestParser.beginQueryParameters(HttpRequestParser.java:450)
    at io.undertow.server.protocol.http.HttpRequestParser.handlePath(HttpRequestParser.java:374)
    at io.undertow.server.protocol.http.HttpRequestParser.handle(HttpRequestParser.java:215)
    at io.undertow.server.protocol.http.HttpReadListener.handleEventWithNoRunningRequest(HttpReadListener.java:182)
    at io.undertow.server.protocol.http.HttpReadListener.handleEvent(HttpReadListener.java:131)
    at io.undertow.server.protocol.http.HttpReadListener.handleEvent(HttpReadListener.java:57)
    at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92) [xnio-api-3.3.6.Final-redhat-1.jar:3.3.6.Final-redhat-1]
    at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66) [xnio-api-3.3.6.Final-redhat-1.jar:3.3.6.Final-redhat-1]
    at io.undertow.protocols.ssl.SslConduit$SslReadReadyHandler.readReady(SslConduit.java:1116)
    at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:88) [xnio-nio-3.3.6.Final-redhat-1.jar:3.3.6.Final-redhat-1]
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:559) [xnio-nio-3.3.6.Final-redhat-1.jar:3.3.6.Final-redhat-1]

Environment

  • JBoss Enterprise Application Platform (EAP) 7.x
  • Undertow

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.