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

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

Commit 0860e385267ed1b01b093290a2a0a2beaa46faf3 in geode's branch 
refs/heads/develop from Naburun Nag
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=0860e38 ]

GEODE-4958: Lowering the log level to warn.

        * AuthenticationRequiredException is now caught and logged instead of 
an uncaught exception
        * Lowering the log level to warn from error when this exception occurs.


> Remove stack trace logging for some occurrences of 
> AuthenticationRequiredException
> ----------------------------------------------------------------------------------
>
>                 Key: GEODE-4958
>                 URL: https://issues.apache.org/jira/browse/GEODE-4958
>             Project: Geode
>          Issue Type: Improvement
>          Components: security
>            Reporter: Jens Deppe
>            Priority: Major
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> Occasionally we're logging messages like these:
> {noformat}
> ```[error 2018/03/27 17:05:19.471 CST server2 <ServerConnection on port 40404 
> Thread 632> tid=0x2ec] Failed to bind the subject of uniqueId 
> -5320790194368010384 for message REQUEST with Server connection from 
> [identity(0.0.0.0(default_GeodeDS:177342:loner):2:GFNative_9Vy9zzNsTw177342:default_GeodeDS,connection=1;
>  port=35644]
> [warning 2018/03/27 17:05:19.472 CST server2 <ServerConnection on port 40404 
> Thread 632> tid=0x2ec] ClientHealthMonitor: Unregistering client with member 
> id 
> identity(0.0.0.0(default_GeodeDS:177342:loner):2:GFNative_9Vy9zzNsTw177342:default_GeodeDS,connection=1
>  due to: Unknown reason
> [severe 2018/03/27 17:05:19.475 CST server2 <ServerConnection on port 40404 
> Thread 632> tid=0x2ec] Uncaught exception in thread Thread[ServerConnection 
> on port 40404 Thread 632,5,ServerConnection on port 40404]
> org.apache.geode.security.AuthenticationRequiredException: Failed to find the 
> authenticated user.
>     at 
> org.apache.geode.internal.cache.tier.sockets.ServerConnection.doNormalMsg(ServerConnection.java:793)
>     at 
> org.apache.geode.internal.cache.tier.sockets.LegacyServerConnection.doOneMessage(LegacyServerConnection.java:85)
>     at 
> org.apache.geode.internal.cache.tier.sockets.ServerConnection.run(ServerConnection.java:1179)
>     at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>     at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>     at 
> org.apache.geode.internal.cache.tier.sockets.AcceptorImpl$4$1.run(AcceptorImpl.java:641)
>     at java.lang.Thread.run(Thread.java:748)
> [error 2018/03/27 17:05:25.575 CST server2 <ServerConnection on port 40404 
> Thread 640> tid=0x2f4] Failed to bind the subject of uniqueId 
> -8780376006667518716 for message REQUEST with Server connection from 
> [identity(0.0.0.0(default_GeodeDS:177266:loner):2:GFNative_QCAzJikbYT177266:default_GeodeDS,connection=1;
>  port=36288]
> [warning 2018/03/27 17:05:25.576 CST server2 <ServerConnection on port 40404 
> Thread 640> tid=0x2f4] ClientHealthMonitor: Unregistering client with member 
> id 
> identity(0.0.0.0(default_GeodeDS:177266:loner):2:GFNative_QCAzJikbYT177266:default_GeodeDS,connection=1
>  due to: Unknown reason
> [severe 2018/03/27 17:05:25.577 CST server2 <ServerConnection on port 40404 
> Thread 640> tid=0x2f4] Uncaught exception in thread Thread[ServerConnection 
> on port 40404 Thread 640,5,ServerConnection on port 40404]
> org.apache.geode.security.AuthenticationRequiredException: Failed to find the 
> authenticated user.
>     at 
> org.apache.geode.internal.cache.tier.sockets.ServerConnection.doNormalMsg(ServerConnection.java:793)
>     at 
> org.apache.geode.internal.cache.tier.sockets.LegacyServerConnection.doOneMessage(LegacyServerConnection.java:85)
>     at 
> org.apache.geode.internal.cache.tier.sockets.ServerConnection.run(ServerConnection.java:1179)
>     at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>     at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>     at 
> org.apache.geode.internal.cache.tier.sockets.AcceptorImpl$4$1.run(AcceptorImpl.java:641)
>     at java.lang.Thread.run(Thread.java:748)```
> {noformat}
> They look scary but we should remove the stack trace from the log - the 
> severity can also be turned down to 'warning'.
> This is related to GEODE-4076



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

Reply via email to