Sophos JIRA Cloud: Internal error: Unexpected response received. Status code: 401. Check server logs

martin_pantaleon
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!
October 25, 2022

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --tags origin feature/SCAFHELP-3202:feature/SCAFHELP-3202
Pushing to ssh://itstash.sophos.net:7999/mule/prc-msp-usage.git
remote: Rejected by YACC
remote:
remote: An error has occurred with the commits you are trying to push.
remote:
remote: refs/heads/feature/SCAFHELP-3202: d6371117df1: Sophos JIRA Cloud: Internal error: Unexpected response received. Status code: 401. Check server logs for details.
remote:
remote: See SCAFHELP Jira board for assistance with any push error.
remote:
remote:

 

 

 

To ssh://itstash.sophos.net:7999/mule/prc-msp-usage.git
! [remote rejected] feature/SCAFHELP-3202 -> feature/SCAFHELP-3202 (pre-receive hook declined)
error: failed to push some refs to 'ssh://itstash.sophos.net:7999/mule/prc-msp-usage.git'


Completed with errors, see above.

1 answer

0 votes
Mark Chester
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!
October 31, 2023

Did you find any answer for this?  We are having a similar issue with our Bitbucket, and I am unable to find any cause or fix.

Mark Chester
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!
July 8, 2024

In our case, it was the user who is accessing the repo in Stash does not have the proper access to Jira, and could not get the ticket info.  That was preventing YACC from running the pre-receive hook, because YACC acts on behalf of the user.

Not sure if that's the same issue OP was having, but this is what indicated the user's JIRA access problem:

JIRA Cloud: Internal error: Unexpected response received. Status code: 401. Check server logs for details

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events