Gitea fatal: Authentication failed for https:\\repository

Hello, when i do the first time on gitea i get the following error.
The weird is that if i run the git clone on second time it works.
¿Any idea to fix tthis?

$ git clone https://repository

Cloning into ’ repository’…

remote: Verify

fatal: Authentication failed for 'https://repository.git/’