Unable to connect to Docker Hub (OD-632)
jewgeni opened 4 years ago

Obviously, I'm doing something wrong, but I can't manage to log into Docker Hub. Maybe someone here has the solution.

I created an access token in Docker Hub

image_2.png

Then I used this token in a job executor.

image.png

Error 403. Then I used my normal password. Still 403. What can I do now?

  • Robin Shen commented 4 years ago

    Tested fine at my side:

    2022-03-14_07-09-35.png

    Make sure that docker hub does not put any limitations on your account.

  • Robin Shen commented 4 years ago

    To verify, you may login directly from command prompt to see if it works:

    $ docker login -u <user name> --password-stdin
    
  • jewgeni commented 4 years ago

    Thank you for the fast reply. Which command prompt do you mean?

  • Robin Shen commented 4 years ago
    I mean to run this command directly from your terminal. 
  • jewgeni commented 4 years ago

    That works :)

  • jewgeni commented 4 years ago

    Rebooted server and onedev. Works now as expected. Thank you

  • Robin Shen commented 4 years ago
    So on terminal it works, but not in OneDev? What type of executor you are testing?
  • jewgeni changed state to 'Closed' 4 years ago
    Previous Value Current Value
    Open
    Closed
  • jewgeni commented 4 years ago

    I used the Docker Server Executer, but the problem was somewhere else, not on the onedev end.

issue 1/1
Type
Question
Priority
Minor
Assignee
Issue Votes (0)
Watchers (4)
Reference
OD-632
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover