Authentication failed (error 3 and 8)

I tried cloning project from gitlab to github desktop for the first time. After short loading it asks for username and password, and I am not sure if it want account for gitlab or github. No matter how many times I try to enter my data from both github and gitlab it appears again. Even creating new account on gitlab and using it’s username and password did not worked.
Log give those two warning during process :

2018-05-04T18:11:03.481Z - warn: [ui] fetchRepository: 'Denis_hroft/A.S.H.' returned a 404
2018-05-04T18:11:03.629Z - warn: [ui] fetchRepository: 'Denis_hroft/A.S.H.' returned a 404

And ends with this :

2018-05-04T18:11:05.278Z - error: [ui] `git -c credential.helper= clone --recursive --progress -- https://gitlab.com/Denis_hroft/A.S.H..git C:\Users\ilja\Desktop\ASH_gameProjects\UNREAL STUFF\GitLab UE project\A.S.H.` exited with an unexpected code: 128.
Cloning into 'C:\Users\ilja\Desktop\ASH_gameProjects\UNREAL STUFF\GitLab UE project\A.S.H.'...
remote: HTTP Basic: Access denied
fatal: Authentication failed for 'https://gitlab.com/Denis_hroft/A.S.H..git/'

(The error was parsed as 3: Authentication failed. You may not have permission to access the repository or the repository may have been archived. Open options and verify that you're signed in with an account that has permission to access this repository.)

Logs started sometimes showing this error, after my fuss with accounts today probably :

exited with an unexpected code: 128.
Cloning into 'C:\Users\ilja\Desktop\ASH_gameProjects\UNREAL STUFF\GitLab UE project\A.S.H.'...
remote: The project you were looking for could not be found.
fatal: repository 'https://gitlab.com/Denis_hroft/A.S.H..git/' not found

(The error was parsed as 8: The repository does not seem to exist anymore. You may not have access, or it may have been deleted or renamed.)

Maybe my problem is trivial and I am missing some kind of easy and obvious step. But I just don’t know what to do anymore.
Shot.PNG

1 Like

Hi @iljai,

Looking at the information that you provided, what I can tell you is that the credentials that GitHub Desktop is looking for in this case are your GitLab credentials. The error that you’re seeing  generally refers to when a git repository is not available to you either because the credentials you are using are wrong, your user account does not have access to the repository in question, or the account no longer exists at that address.

Thanks!

Thank you for answering.
What could be the causes of not having access to the repository? I know for sure that 2-FA is disabled and other people can access it normally.
Also, username means, for example, just writing “IljaI” ?

Hi @iljai,

It would probably be whatever your GitLab username is. However, since GitHub and GitLab are unaffiliated, I am not able to verify that for you.

Is this a public repository that you are trying to access?

Thanks!

I’m sorry, it turned out that project owner forgot that he should give access right to the people who will work with repository. Now I’m downloading content, and I think there will be no problems further on.
Thanks for your concern and attention.

1 Like

Hi @iljai,

You’re very welcome! I’m glad that you got that sorted.

Have a great day!

whenever i enter any of the links of git clone it asks for username and password. how can i solve this?? i added a troublesome photo here