You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/04/18 16:18:00 UTC

[jira] [Commented] (GEODE-6666) SocketTiemoutException in TcpServer on openssl connection

    [ https://issues.apache.org/jira/browse/GEODE-6666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16821268#comment-16821268 ] 

ASF subversion and git services commented on GEODE-6666:
--------------------------------------------------------

Commit 7a8243700b2d02d476affccba5ae508335018bb2 in geode's branch refs/heads/develop from Kenneth Howe
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=7a82437 ]

GEODE-6666: Catch SocketTimeoutException (#3478)

To avoid filling up logs, only log the exception message, not the full stack trace

Co-authored-by: Ken Howe <kh...@pivotal.io>

> SocketTiemoutException in TcpServer on openssl connection
> ---------------------------------------------------------
>
>                 Key: GEODE-6666
>                 URL: https://issues.apache.org/jira/browse/GEODE-6666
>             Project: Geode
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.8.0
>            Reporter: Kenneth Howe
>            Assignee: Kenneth Howe
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> The locator log contains the following stack trace when {{openssl s_client -quiet -connect localhost:<locator-port>}} is executed from a shell. Repeated {{openssl}} connections, such as when monitoring the locator health in a watchdog script, results in a lot of data in the logs, that is not indicative of a real problem.
> {code:java}
> [info 2019/04/17 15:34:48.198 UTC locator-9fa6036e-923c-4268-ad03-0d7183b0721f <locator request thread 3> tid=0x1a19] Exception in processing request from 127.0.0.1
> java.net.SocketTimeoutException: Read timed out
> 	at java.net.SocketInputStream.socketRead0(Native Method)
> 	at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
> 	at java.net.SocketInputStream.read(SocketInputStream.java:171)
> 	at java.net.SocketInputStream.read(SocketInputStream.java:141)
> 	at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
> 	at sun.security.ssl.InputRecord.read(InputRecord.java:503)
> 	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:975)
> 	at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:933)
> 	at sun.security.ssl.AppInputStream.read(AppInputStream.java:105)
> 	at sun.security.ssl.AppInputStream.read(AppInputStream.java:71)
> 	at java.io.DataInputStream.readUnsignedByte(DataInputStream.java:288)
> 	at org.apache.geode.distributed.internal.tcpserver.TcpServer.lambda$processRequest$0(TcpServer.java:357)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> 	at java.lang.Thread.run(Thread.java:748)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)