Gravatar for

Question by anil, Jan 20, 2017 1:36 AM

Authenticated documents are not showing to users who are login to site


I have one issue since 2 months. In our website some of logged in users are not able to view authenticated documents even they have roles. Here is my issue description. pls help on this.

  1. We have installed Coveo for Sitecore version 3 (Apr 2015) release to our instance. We have some authenticated documents those are shown only users who have roles. Intially they are able view these documents.
  2. In last 2 months back we moved Sitecore instance from previous server to another server (ex: previous serverA now we moved to Server B). this time we didn't do any re-indexing.
  3. Unfortunately we did not change the host file entry of ServerB in Coveo server host file. we kept previous serverIP entry in host file of Coveo server. Ex: previous server A Ip address we kept not changed to new serverB Ip address.
  4. When we checked CESAdmin service security providers it was showing 2 security provider names (ServerA-webcm1 and ServerB webcm1). even though Indexes are created for both servers (ServerA & ServerB). After moving instance to ServerB we facing this issue. can u help on this issue. pls

Regards, Anil N

1 Reply
Gravatar for

Answer by Sébastien Belzile, Jan 20, 2017 8:15 AM

April 2015… This build is quite old. Anyway:

If your logged in users are not able to view documents, the cause can be multiple things.

  • Misconfigured security provider: look at its configuration in the Admin tool. Does the URL match?
  • Look at the securities on your documents in the admin browser. Are your groups/users allowed on them?
  • Any errors in your logs? Anything when you refresh the security cache?
Gravatar for

Comment by anil, Jan 24, 2017 4:22 AM

when i refreshing Security cache i got error like Fatal exception class CSP:Cann't connect to sitecore.

Gravatar for

Comment by Sébastien Belzile, Jan 24, 2017 8:27 AM

This is either because:

  • Your security provider is not configured properly: look at its credentials, and at the site URL configured on it.
  • Your site is not reachable: look at the URL configured on your security provider and try to connect to your Sitecore with it, from your CES server.
  • You might still have the identities of an old Sitecore in your security cache. In other words, you have an old and useless Sitecore security provider.
Gravatar for

Comment by anil, Jan 25, 2017 7:48 AM

hi, i have checked sercurity provider url by browsing in CES. it was thowing page not displaying exception. then i went to host file in CES i checked ip address it was showing old sitecore server IP only. Is this cause any security provider issue. i thought due to this authenticated users are not able to see downloads in our site.

pls provide solution. Thanks

Gravatar for

Comment by Sébastien Belzile, Jan 25, 2017 7:56 AM

If your hosts file points to a wrong server, of course your security provider won't be able to index. Your security provider needs to reach Sitecore in order to retrieve your securities. (Not anymore with C4SC V4 cloud)

I am pretty sure that you have a problem with your binary content as well.

Gravatar for

Comment by anil, Jan 27, 2017 4:23 AM

eventhough it is re-indexing the sitecore items,but still users are not able to view the downloads.

Gravatar for

Comment by anil, Jan 27, 2017 4:36 AM

can recommend what i have to do to get back my downloads visible on site. either i have to reconfigure everything along with re-indexing ,this can be solved my issue?

Gravatar for

Comment by Sébastien Belzile, Jan 27, 2017 8:18 AM

I cannot really help with your downloads since I don't know how you implemented them. Sorry about that, but my area of expertise revolves mostly around search.

Did you modify your hosts file to point to the right Sitecore server?

Ask a question