Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

401 from repo.jenkins-ci.org #3685

Closed
tomasbjerre opened this issue Jul 27, 2023 · 5 comments
Closed

401 from repo.jenkins-ci.org #3685

tomasbjerre opened this issue Jul 27, 2023 · 5 comments
Assignees
Labels

Comments

@tomasbjerre
Copy link

Type(s) of account issue

Other (please describe in the summary below)

Summary

I was unable to release my plugin:
https://github.com/jenkinsci/generic-webhook-trigger-plugin/blob/master/release.sh

[INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:3.1.1:deploy (default-deploy) on project generic-webhook-trigger: Failed to deploy artifacts: Could not transfer artifact org.jenkins-ci.plugins:generic-webhook-trigger:pom:1.86.6 from/to maven.jenkins-ci.org (https://repo.jenkins-ci.org/releases): authentication failed for https://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/generic-webhook-trigger/1.86.6/generic-webhook-trigger-1.86.6.pom, status: 401 Unauthorized -> [Help 1]

Tried the curl command, gave me 401:

curl -u "tomasbjerre:X" https://repo.jenkins-ci.org/setup/settings.xml
{
"errors" : [ {
"status" : 401,
"message" : "Bad credentials"
} ]

Logged on to https://accounts.jenkins.io/myself/ and changed the password, still same with the curl command.

Temporary problem?

jenkins.io account username

tomasbjerre

jenkins.io account email

tomas.bjerre85@gmail.com

Which URL are you trying to login at?

https://repo.jenkins-ci.org/setup/settings.xml

@tomasbjerre tomasbjerre added accounts triage Incoming issues that need review labels Jul 27, 2023
@dduportal dduportal added this to the infra-team-sync-2023-08-01 milestone Jul 27, 2023
@tomasbjerre
Copy link
Author

@dduportal dduportal self-assigned this Jul 27, 2023
@dduportal dduportal removed the triage Incoming issues that need review label Jul 27, 2023
@dduportal
Copy link
Contributor

First pass of diagnostics:

  • With my "normal" (e.g. non admin) user dduportal , I confirm that the curl command to https://repo.jenkins-ci.org/setup/settings.xml works for me => it is not a global problem on Artifactory.
  • The fact that the curl commands answers HTTP/401 with your Jenkins Account username + password means that the problem does not seem to be around your setup in your environment.

We're going to check your account in both accounts.jenkins.io (which works fine for you as per your initial message) and in Artifactory to see what is happening.

@tomasbjerre can you remember when was the last time your password worked with Artifactory (repo.jenkins-ci.org)?

@dduportal
Copy link
Contributor

It looks like (to be confirmed) that we are in the same case as #3680 .

Your account setup has been updated manually in Artifactory (ref. #3680 (comment)) : you should be able to log-in now .

Can you confirm by closing the issue or by commenting the result @tomasbjerre ?

@tomasbjerre
Copy link
Author

I think latest was Jul 10 when I made this release:
jenkinsci/git-changelog-plugin@ef412a4

@tomasbjerre
Copy link
Author

Yes it works now, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants