anonymous user views in confluence

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

1 answer

This widget could not be displayed.

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

@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?

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.

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

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.

 

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

The logs in /confluence-home/logs

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 | 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.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

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

406 views 4 6
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you