Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Xray-Maven integration- error as ' Status:403 Response:Basic auth with password is not allowed

Hi,

I am using XRay-Maven plugin for running my TestNG tests from a maven project.

https://confluence.xpand-it.com/display/public/XRAY/Integration+with+Maven

Upon running the command to just upload(or,build,test,upload) surefire reports ,I am getting an error that says "Execution default-cli of goal com.xpandit.xray:xray-maven-plugin:1.1.0:xray failed: Abort Execution!: Unable to confirm Result of the upload..... Upload Failed! Status:403 Response:Basic auth with password is not allowed on this instance".

Has anyone experienced this error before?(screenshot is attached)Upload-error.PNG

1 answer

0 votes
Andy Heinzer Atlassian Team Jan 15, 2020

Hi,

I see that you're attempting to use xray for running some tests, but you appear to be getting an error in regards basic auth.   This error message is expected if your Jira site is on the Atlassian Cloud platform. 

Atlassian deprecated the use of passwords in basic auth in Atlassian Cloud sites more than 6 months ago.  More details in Deprecation notice - Basic authentication with passwords and cookie-based authentication.  Perhaps the guide you are referencing here is specifically designed to utilizing Jira Server, which does not have this same limitation out of the box.  

Are you using a Jira Cloud site here?  If you were, it would have a domain such as example.atlassian.net or example.jira.com (legacy).

If you are then you might be able to get around this by generating an API Token, and using that instead of the password here. 

If you are not using a Jira Cloud site, and you are using Jira Server site, then it seems that your specific Jira Server site has disabled basic auth.  This could happen in situations where Jira has been integrated with an external auth server, like an SSO or OKTA.  In cases like that, you won't be able to perform basic auth calls to that Jira server in its existing configuration.  Perhaps you could reach out to the Jira admin to see if there is some alternative means to authenticate there or some means to allow basic authentication for these calls.

I hope this helps.

Andy

Hi :)

Can you please reach our support team in our Service Desk?

We do need more details to better help you with this issue. 

 

Best Regards

Team Xray

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

Staying organized with Jira: best practices for a better project management

Project managers know this problem: A “mountain of work” lays in front of you, and you don’t know how and where to tackle them. Different to-dos lie ahead, but just one task after the other can be ha...

341 views 2 1
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you