anonymous user views in confluence
Asked by Vijay Krishna B:

In confluence 4.3 I see most of the pages are viewed by anonymous user in the logs

/wiki/display/commercialiimprese/NEWS \| page: 24118499 \| userName: anonymous \| action: viewpage

Our confluence is not public and it is availble only in intranet.In "Global permissions" we have configured

Anonymous "Can Use" confluence.

Can any one help about this problem.

Thanks,

Vijay


Answers:
author: Nic Brough -Adaptavist-
body: That means your pages are being read by people who have not logged in.

If you wish to force them to log in before reading, remove the anonymous "can use" permission

comments: author: Vijay Krishna B
body: @Nic Thanks for your reply.But we customized our confluence and showing few images in the login page.The images which are added in confluence are not shown in the login page unless we give anonymous user "can use" permission.But why confluence shows so many anonymous user view count even it is not actually viewed by any one?


author: Nic Brough -Adaptavist-
body: Er, no, it's telling you that they ARE being viewed by someone. It may be a script, it may be includes from other pages, and so-on. But the statement "even if it is not actually viewed by anyone" is factually incorrect. The logs prove that something is reading it.


author: Paula Manildi
body: We get messages like this for 'edited' and 'removed a version of this attachment', but our instance does NOT allow anonymous access.


author: Nic Brough -Adaptavist-
body: You'll need to check your logs to see why it's telling you "anonymous". I would check both the global and space settings though.


author: Paula Manildi
body: Can you tell me which log (there are so many, and catalina.out doesn't seem to tell much).


author: Nic Brough -Adaptavist-
body: The logs in /confluence-home/logs


author: Paula Manildi
body: Interestingly :question: we have our global permissions set to "can't use" for anonymous, and the instance is on an internal server. And confluence doesn't log deletion of attachment versions. But I do see items like this:  

2017-02-16 08:23:57,721 ERROR \[http-nio-443-exec-226\] \[\[Standalone\].\[localhost\].\[/\].\[file-server\]\] log Servlet.service() for servlet file-server threw exception  
-- referer: [https://wiki.xxx.xxx.com/login.action?os_destination=%2Fpages%2Fviewpage.action%3FpageId%3D260637684\&permissionViolation=true](https://wiki.xxx.xxx.com/login.action?os_destination=%2Fpages%2Fviewpage.action%3FpageId%3D260637684&permissionViolation=true) \| url: /s/81d0051a7a2bf8114f40943c9ab7f96c-CDN/en_GB/6441/13fdbe304eeea2f7da9576ad2c58ab11249c6de6/d1fb16e4adbf9110c054200ab2fd84aa/_/download/contextbatch/js/main,-_super/batch.js \| traceId: fd3e365422cf0568 \| userName: anonymous  
java.lang.RuntimeException: org.apache.catalina.connector.ClientAbortException: [java.io](http://java.io).IOException: Broken pipe  
and  
2017-02-15 01:30:16,079 ERROR \[http-nio-443-exec-228\] \[jersey.spi.container.ContainerResponse\] logException Mapped exception to response: 500 (Internal Server Error)  
-- referer: <https://wiki.xxx.xxx.com/pages/viewpage.action?pageId=84218042> \| url: /rest/masterdetail/1.0/detailssummary/lines \| traceId: 6bbf5222ab90b410 \| userName: anonymous


Tags: confluence-administration