Unexpected EOF read on socket.

3,317 views
Skip to first unread message

Mike Calvo

unread,
Apr 28, 2014, 9:16:02 AM4/28/14
to hystr...@googlegroups.com

Hello,

I have been having an issue viewing the hystrix metrix stream and was wondering if anyone has had a similar issue.

I have an application built with Spring MVC and I am using Tomcat 7 for my application server. My application code works just as expected, but when I to navigate to loalhost:8080/web-app/hystrix.stream I am forwarded to the Tomcat Error - 404 page. In the tomcat log, the followign exception is thrown:

2014-04-16 15:53:22 DEBUG AuthenticatorBase:419 - Security checking request GET /web-app/hystrix.stream

2014-04-16 15:53:22 DEBUG WebappClassLoader:1582 - loadClass(com.netflix.hystrix.contrib.metrics.eventstream.HystrixMetricsStreamServlet, false)

2014-04-16 15:53:22 DEBUG WebappClassLoader:1598 -   Returning class from cache

2014-04-16 15:53:22 DEBUG RealmBase:617 -   No applicable constraints defined

2014-04-16 15:53:22 DEBUG AuthenticatorBase:501 -  Not subject to any constraint

2014-04-16 15:53:22 DEBUG [localhost]:449 - Processing ErrorPage[errorCode=404, location=/404.htm]

2014-04-16 15:53:22 DEBUG Http11Processor:986 - Error parsing HTTP request header

java.io.EOFException: Unexpected EOF read on the socket

                at org.apache.coyote.http11.InternalInputBuffer.parseRequestLine(InternalInputBuffer.java:99)

                at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:952)

                at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)

                at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)

                at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

                at java.lang.Thread.run(Unknown Source)

2014-04-16 15:53:22 DEBUG Http11Protocol:645 - Socket: [org.apache.tomcat.util.net.SocketWrapper@56a7cbf2:129bf96a[TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256: Socket[addr=/0:0:0:0:0:0:0:1,port=53783,localport=8443]]], Status in: [OPEN_READ], State out: [CLOSED]

2014-04-16 15:53:22 DEBUG LimitLatch:126 - Counting down[http-bio-8443-exec-1] latch=4

2014-04-16 15:53:22 DEBUG Http11Processor:986 - Error parsing HTTP request header

java.io.EOFException: Unexpected EOF read on the socket

                at org.apache.coyote.http11.InternalInputBuffer.parseRequestLine(InternalInputBuffer.java:99)

                at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:952)

                at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)

                at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)

                at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

                at java.lang.Thread.run(Unknown Source)


Has anyone encountered something like this before? As I mentioned, my the application itself works fine. It also appears that the hystrix sevlet is being returned accordingly, but it doesn't appear to be what's throwing the exception. I've used the Chrome Postman plugin to add the Accept and Content-Type = application/json headers to the request - both without success.

Thanks a lot.

Ben Christensen

unread,
Apr 28, 2014, 12:20:20 PM4/28/14
to Mike Calvo, hystr...@googlegroups.com
Sorry Mike, I have not seen that nor do I have any ideas on what it could be.

-- 
Ben Christensen
+1.310.782.5511  @benjchristensen
--
You received this message because you are subscribed to the Google Groups "HystrixOSS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hystrixoss+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mike Calvo

unread,
Apr 29, 2014, 4:45:07 AM4/29/14
to hystr...@googlegroups.com, Mike Calvo
Hey Ben,

Thanks for taking a look at least. I made a post on SO in case any one wants to follow.
Reply all
Reply to author
Forward
0 new messages