Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-1505

Undertow on aws ecs running as fargate instance

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 2.0.17.Final
    • Core
    • None

    Description

      AWS ELB is sending health check request to the server where the request content is unicode encoded and getting following exception


      09:56:50
      Caused by: java.lang.IllegalArgumentException: Invalid string contents ���ᆪ�゚��ルナヒLユi=│#"로��￯c¢�oル│￰

      09:56:50
      at io.undertow.util.HttpString.<init>(HttpString.java:116) ~[undertow-core-2.0.17.Final.jar!/:2.0.17.Final]

      09:56:50
      at io.undertow.util.HttpString.<init>(HttpString.java:106) ~[undertow-core-2.0.17.Final.jar!/:2.0.17.Final]

      09:56:50
      at io.undertow.server.protocol.http.HttpRequestParser$$generated.handleHttpVerb(Unknown Source) ~[undertow-core-2.0.17.Final.jar!/:2.0.17.Final]

      09:56:50
      at io.undertow.server.protocol.http.HttpRequestParser.handle(HttpRequestParser.java:243) ~[undertow-core-2.0.17.Final.jar!/:2.0.17.Final]

      09:56:50
      ... 12 more

      09:56:50
      2019-03-01 09:56:50.422 TRACE 1 — [ XNIO-2 I/O-1] i.u.request : Opened connection with /10.202.20.152:14950

      09:56:50
      2019-03-01 09:56:50.423 DEBUG 1 — [ XNIO-2 I/O-1] i.u.r.io : UT005014: Failed to parse request

      09:56:50
      io.undertow.util.BadRequestException: null

      09:56:50
      at io.undertow.server.protocol.http.HttpRequestParser$$generated.handleHttpVerb(Unknown Source) ~[undertow-core-2.0.17.Final.jar!/:2.0.17.Final]

      09:56:50
      at io.undertow.server.protocol.http.HttpRequestParser.handle(HttpRequestParser.java:243) ~[undertow-core-2.0.17.Final.jar!/:2.0.17.Final]

      09:56:50
      at io.undertow.server.protocol.http.HttpReadListener.handleEventWithNoRunningRequest(HttpReadListener.java:187) [undertow-core-2.0.17.Final.jar!/:2.0.17.Final]

      09:56:50
      at io.undertow.server.protocol.http.HttpReadListener.handleEvent(HttpReadListener.java:136) [undertow-core-2.0.17.Final.jar!/:2.0.17.Final]

      09:56:50
      at io.undertow.server.protocol.http.HttpOpenListener.handleEvent(HttpOpenListener.java:162) [undertow-core-2.0.17.Final.jar!/:2.0.17.Final]

      09:56:50
      at io.undertow.server.protocol.http.HttpOpenListener.handleEvent(HttpOpenListener.java:100) [undertow-core-2.0.17.Final.jar!/:2.0.17.Final]

      09:56:50
      at io.undertow.server.protocol.http.HttpOpenListener.handleEvent(HttpOpenListener.java:57) [undertow-core-2.0.17.Final.jar!/:2.0.17.Final]

      09:56:50
      at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92) [xnio-api-3.7.0.Final.jar!/:3.7.0.Final]

      09:56:50
      at org.xnio.ChannelListeners$10.handleEvent(ChannelListeners.java:291) [xnio-api-3.7.0.Final.jar!/:3.7.0.Final]

      09:56:50
      at org.xnio.ChannelListeners$10.handleEvent(ChannelListeners.java:286) [xnio-api-3.7.0.Final.jar!/:3.7.0.Final]

      09:56:50
      at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92) [xnio-api-3.7.0.Final.jar!/:3.7.0.Final]

      09:56:50
      at org.xnio.nio.QueuedNioTcpServer$1.run(QueuedNioTcpServer.java:131) [xnio-nio-3.7.0.Final.jar!/:3.7.0.Final]

      09:56:50
      at org.xnio.nio.WorkerThread.safeRun(WorkerThread.java:612) [xnio-nio-3.7.0.Final.jar!/:3.7.0.Final]

      09:56:50
      at org.xnio.nio.WorkerThread.run(WorkerThread.java:479) [xnio-nio-3.7.0.Final.jar!/:3.7.0.Final]

      Attachments

        Activity

          People

            rhn-cservice-bbaranow Bartosz Baranowski
            musabqamri Musab Qamri (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: