Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Customers unable to log in

John Squire September 12, 2018

Hi,

Been running Jira Service Desk (jira 7.12.0) for a while now, our customers have previously been able to log in successfully until this morning. 

Regular Jira users can log in ok to Jira/Confluence/BitBucket/Bamboo etc, no problems there at all.

Customers do not get an error message, the login screen just hangs and the spinner keeps churning on forever (seems all customers affected):

 Screen Shot 2018-09-12 at 07.55.14.png

In the security log file I found:
/servicedesk/customer/user/login login : '[username]' tried to login but they do not have USE permission or weren't found

Using Jira Internal User Directory, account exists and is active. Does not need any groups because its a customer account.

We have not made any changes in the permission scheme.

Tried upgrading jira to 7.12.1 (which upgraded JSD) to see if that will fix it but it's still the same.

 

8 answers

0 votes
Sebastian Brookfield October 17, 2018

Hi all,

There is a workaround, if you're willing to do a dirty patch, and can't wait for the release.

If you go to "JIRA_HOME_FOLDER\plugins\installed-plugins\", you'll find the plugin for the Service Desk front end. For us, this was called "servicedesk-frontend-plugin-3.15.1-REL-0002.jar".

You can unzip this, and inside is a file called "customerportal.94354bd4a96dcdb21cca.js".
Without having checked any other Service Desk plugin versions, I would assume 94354bd4a96dcdb21cca changes, so bare this in mind.

Inside this, you'll find the line:

this.$el.append(ServiceDesk.Templates.Customer.simpleErrorMessage({errorMessage:e}))

I replaced this with the following line:

this.$el.append("<div class=\"aui-message aui-message-error\"><p>" + e + "</p></div>")

I restarted JIRA, and it started working again.
Hopefully that might help some people who are having issues, and can't wait for the release.
This is horrifically dirty though.

 

Kind regards,

Seb

John Squire October 17, 2018

Hi Seb,

 

We have a small set of customers using our instance of Service Desk so managed to reset their passwords without too much effort. I am sure that other SD customers are not in the same situation and expect your solution to be helpful for them.

Thanks for your efforts and for sharing.

Best Regards

0 votes
Vitalii Kovalyshyn
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 25, 2018

this has been identified as a bug indeed for the latest JIRA Service Desk:

0 votes
digitalunityapps September 25, 2018

Any solution about this error?

0 votes
Irek September 21, 2018

Same problem,

0 votes
Vitalii Kovalyshyn
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 21, 2018

I have the same problem. 

Customers do not get an error message, the login screen just hangs and the spinner keeps churning on forever. Inside console I see the exception:

Screen Shot 2018-09-21 at 1.13.17 PM.png

0 votes
John Squire September 12, 2018

ok .... been digging a bit deeper.

seems that when a customer activates their account, Jira is responding with an error message (e.g. The password must satisfy the password policy) but there is a Java Script error which means no error message is shown to the customer: TypeError: ServiceDesk.Templates.Customer.simpleErrorMessage is not a function

anyone from Atlassian on this forum that can assist with this?

Francesc_Arbó
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 12, 2018

Hi @John Squire,

 

sorry, I couldn't answer before. According to the error message: "The password must satisfy the password policy", I recommend you to read this link: https://confluence.atlassian.com/adminjiraserver073/manage-password-security-861253177.html

 

Maybe you can try to Enable CAPTCHA or changing your Jira password policy.

John Squire September 14, 2018

Hi @Francesc_Arbó,

the problem is not the password policy or the CAPTCHA .... the problem is that there is a Java Script error on the page so the user does not see the error message i.e. he does not know that his password does not meet the requirements of the password policy.

this java script error looks like a bug to me which Atlassian need to fix.

0 votes
John Squire September 12, 2018

ok, some customers can log in. not all customers are affected.

when adding a new customer they are also unable to activate their account (by setting a full name and password).

0 votes
Francesc_Arbó
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 12, 2018
John Squire September 12, 2018

Hi,

thanks but tried that before I posted.

the debug option in the log file does not show anything more ...

the second link applies to active directory which we do not use - we use Jira Internal Directory

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events