java.io.IOException: UT000020: Connection terminated as request was larger than 10485760 looks like Wildfly's servlet container limits the request size to 10MB. A quick search on the web found this https://docs.jboss.org/author/display/WFLY10/Undertow+subsystem+configuration#Undertowsubsystemconfiguration-Connectorconfiguration so try to set max-post-size to a larger value.

Google Groups | Sampath Gelli | 8 months ago
  1. 0

    Gitblit Server crashing when uploading file sizes more than 15 MB

    Google Groups | 8 months ago | Sampath Gelli
    java.io.IOException: UT000020: Connection terminated as request was larger than 10485760 looks like Wildfly's servlet container limits the request size to 10MB. A quick search on the web found this https://docs.jboss.org/author/display/WFLY10/Undertow+subsystem+configuration#Undertowsubsystemconfiguration-Connectorconfiguration so try to set max-post-size to a larger value.
  2. 0

    Wildfly 9: Undertow setup by programming [max-post-size] rather than modifying standalone.xml

    Stack Overflow | 3 months ago | badera
    java.io.IOException: UT000020: Connection terminated as request was larger than 10485760
  3. 0

    Client keeps disconnecting

    Google Groups | 3 years ago | Sudhir
    java.io.IOException: A message sent on a datagram socket was larger than the internal message buffer or some other network limit, or the buffer used to receive a datagram into was smaller than the datagram itself
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Client keeps disconnecting

    Google Groups | 3 years ago | Sudhir
    java.io.IOException: A message sent on a datagram socket was larger than the internal message buffer or some other network limit, or the buffer used to receive a datagram into was smaller than the datagram itself
  6. 0

    Client keeps disconnecting

    Google Groups | 3 years ago | Sudhir
    java.io.IOException: A message sent on a datagram socket was larger than the internal message buffer or some other network limit, or the buffer used to receive a datagram into was smaller than the datagram itself

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      UT000020: Connection terminated as request was larger than 10485760 looks like Wildfly's servlet container limits the request size to 10MB. A quick search on the web found this https://docs.jboss.org/author/display/WFLY10/Undertow+subsystem+configuration#Undertowsubsystemconfiguration-Connectorconfiguration so try to set max-post-size to a larger value.

      at io.undertow.conduits.ChunkedStreamSourceConduit.updateRemainingAllowed()
    2. Undertow Core
      ChunkedStreamSourceConduit.read
      1. io.undertow.conduits.ChunkedStreamSourceConduit.updateRemainingAllowed(ChunkedStreamSourceConduit.java:131)
      2. io.undertow.conduits.ChunkedStreamSourceConduit.read(ChunkedStreamSourceConduit.java:249)
      2 frames
    3. org.xnio.conduits
      ConduitStreamSourceChannel.read
      1. org.xnio.conduits.ConduitStreamSourceChannel.read(ConduitStreamSourceChannel.java:127)
      1 frame
    4. Undertow Core
      HttpServerExchange$ReadDispatchChannel.read
      1. io.undertow.channels.DetachableStreamSourceChannel.read(DetachableStreamSourceChannel.java:209)
      2. io.undertow.server.HttpServerExchange$ReadDispatchChannel.read(HttpServerExchange.java:2207)
      2 frames
    5. XNIO API
      Channels.readBlocking
      1. org.xnio.channels.Channels.readBlocking(Channels.java:294)
      1 frame
    6. Undertow Servlet
      ServletInputStreamImpl.read
      1. io.undertow.servlet.spec.ServletInputStreamImpl.readIntoBuffer(ServletInputStreamImpl.java:170)
      2. io.undertow.servlet.spec.ServletInputStreamImpl.read(ServletInputStreamImpl.java:146)
      2 frames
    7. JGit - Core
      PackParser$InflaterStream.read
      1. org.eclipse.jgit.transport.PackParser.fill(PackParser.java:1131)
      2. org.eclipse.jgit.transport.PackParser.access$000(PackParser.java:97)
      3. org.eclipse.jgit.transport.PackParser$InflaterStream.read(PackParser.java:1663)
      3 frames
    8. Java RT
      InputStream.read
      1. java.io.InputStream.read(InputStream.java:101)
      1 frame
    9. JGit - Core
      ReceivePack.receive
      1. org.eclipse.jgit.transport.PackParser.whole(PackParser.java:983)
      2. org.eclipse.jgit.transport.PackParser.indexOneObject(PackParser.java:916)
      3. org.eclipse.jgit.transport.PackParser.parse(PackParser.java:487)
      4. org.eclipse.jgit.internal.storage.file.ObjectDirectoryPackParser.parse(ObjectDirectoryPackParser.java:194)
      5. org.eclipse.jgit.transport.BaseReceivePack.receivePack(BaseReceivePack.java:1038)
      6. org.eclipse.jgit.transport.BaseReceivePack.receivePackAndCheckConnectivity(BaseReceivePack.java:861)
      7. org.eclipse.jgit.transport.ReceivePack.service(ReceivePack.java:191)
      8. org.eclipse.jgit.transport.ReceivePack.receive(ReceivePack.java:160)
      8 frames
    10. JGit - HTTP Server
      ReceivePackServlet.doPost
      1. org.eclipse.jgit.http.server.ReceivePackServlet.doPost(ReceivePackServlet.java:187)
      1 frame
    11. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
      2 frames
    12. JGit - HTTP Server
      MetaFilter.doFilter
      1. org.eclipse.jgit.http.server.glue.UrlPipeline$Chain.doFilter(UrlPipeline.java:237)
      2. org.eclipse.jgit.http.server.ReceivePackServlet$Factory.doFilter(ReceivePackServlet.java:144)
      3. org.eclipse.jgit.http.server.glue.UrlPipeline$Chain.doFilter(UrlPipeline.java:235)
      4. org.eclipse.jgit.http.server.RepositoryFilter.doFilter(RepositoryFilter.java:151)
      5. org.eclipse.jgit.http.server.glue.UrlPipeline$Chain.doFilter(UrlPipeline.java:235)
      6. org.eclipse.jgit.http.server.NoCacheFilter.doFilter(NoCacheFilter.java:80)
      7. org.eclipse.jgit.http.server.glue.UrlPipeline$Chain.doFilter(UrlPipeline.java:235)
      8. org.eclipse.jgit.http.server.glue.UrlPipeline.service(UrlPipeline.java:215)
      9. org.eclipse.jgit.http.server.glue.SuffixPipeline.service(SuffixPipeline.java:101)
      10. org.eclipse.jgit.http.server.glue.MetaFilter.doFilter(MetaFilter.java:175)
      10 frames
    13. com.gitblit.servlet
      GitServlet.service
      1. com.gitblit.servlet.GitServlet.service(GitServlet.java:98)
      1 frame
    14. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
      1 frame
    15. Undertow Servlet
      FilterHandler$FilterChainImpl.doFilter
      1. io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:86)
      2. io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:130)
      2 frames
    16. Wicket Core
      WicketFilter.doFilter
      1. org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:294)
      1 frame
    17. Undertow Servlet
      FilterHandler$FilterChainImpl.doFilter
      1. io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
      2. io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
      2 frames
    18. com.gitblit.servlet
      EnforceAuthenticationFilter.doFilter
      1. com.gitblit.servlet.EnforceAuthenticationFilter.doFilter(EnforceAuthenticationFilter.java:87)
      1 frame
    19. Undertow Servlet
      FilterHandler$FilterChainImpl.doFilter
      1. io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
      2. io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
      2 frames
    20. com.gitblit.servlet
      AccessRestrictionFilter.doFilter
      1. com.gitblit.servlet.AccessRestrictionFilter.doFilter(AccessRestrictionFilter.java:228)
      1 frame
    21. Undertow Servlet
      FilterHandler$FilterChainImpl.doFilter
      1. io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
      2. io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
      2 frames
    22. com.gitblit.servlet
      ProxyFilter.doFilter
      1. com.gitblit.servlet.ProxyFilter$1.doFilter(ProxyFilter.java:74)
      2. com.gitblit.servlet.ProxyFilter.doFilter(ProxyFilter.java:77)
      2 frames
    23. Undertow Servlet
      ServletDispatchingHandler.handleRequest
      1. io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
      2. io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
      3. io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85)
      4. io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
      5. io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
      5 frames
    24. WildFly: Undertow
      SecurityContextAssociationHandler.handleRequest
      1. org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
      1 frame
    25. Undertow Core
      PredicateHandler.handleRequest
      1. io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      1 frame
    26. Undertow Servlet
      ServletAuthenticationCallHandler.handleRequest
      1. io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
      2. io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
      2 frames
    27. Undertow Core
      AbstractConfidentialityHandler.handleRequest
      1. io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      2. io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
      2 frames
    28. Undertow Servlet
      ServletConfidentialityConstraintHandler.handleRequest
      1. io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
      1 frame
    29. Undertow Core
      AuthenticationMechanismsHandler.handleRequest
      1. io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
      1 frame
    30. Undertow Servlet
      CachedAuthenticatedSessionHandler.handleRequest
      1. io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:72)
      1 frame
    31. Undertow Core
      PredicateHandler.handleRequest
      1. io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
      2. io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
      3. io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      3 frames
    32. WildFly: Undertow
      JACCContextIdHandler.handleRequest
      1. org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
      1 frame
    33. Undertow Core
      PredicateHandler.handleRequest
      1. io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      2. io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      2 frames
    34. Undertow Servlet
      ServletInitialHandler$1.handleRequest
      1. io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:284)
      2. io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:263)
      3. io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
      4. io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:174)
      4 frames
    35. Undertow Core
      HttpServerExchange$1.run
      1. io.undertow.server.Connectors.executeRootHandler(Connectors.java:198)
      2. io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:784)
      2 frames
    36. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames