Link to home
Start Free TrialLog in
Avatar of johnnybrian
johnnybrianFlag for Denmark

asked on

401 unauthorized crm periodically.

Hi!

I have a plugin installed on my CRM server called NN. This application basically is a button, which looks in an online company database to find information about the company which I am adding to my CRM.

Works fine, sometimes. Problem is that after sometimes 1 hour, some times 20 minutes, I get this error which I have attached.
Restart the CRM server normally works, and then the button stops working after some time again and i ahve to do another restart! What is causing this, its really frustrating!

Any help appreciated.
User generated image
Avatar of Chinmay Patel
Chinmay Patel
Flag of India image

Hi johnnybrian,

I would like to clarify one thing that the button you see is not a plugin, this is an ISV add on.

It seems the issue with the custom code itself. By any chance do you have the code of that NN ISV add-on?
You might want to see how credentials are passed in it.

I am assuming the following scenario :
there is a possibliy they might have added the credentials to the session and after a while user is not interacting with CRM and it might expire the session and so the credentials are gone too. And next time when they try to hit the CRM service it will throw 401 'cause required credentials were not provided[4th line in stack trace].

We can be sure only after looking into the code of NN.

Regards,
Chinmay.
Any updates on this one?
ASKER CERTIFIED SOLUTION
Avatar of johnnybrian
johnnybrian
Flag of Denmark image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of johnnybrian

ASKER

We ended up reinstalling.