Git clone : Gitea: Internal error

Hello, I ha ve an error with my gitea installation.

  • Server :
    OS : CentOS7 (hyperV)
    Gitea : 1.8.3
    git : 2.22.0

  • Client
    OS : Windows 10
    git : 2.22.0.windows.1

My user has 2 private repos in organisations, impossible to clone or push. First repos, it was created with ignore file and readme on gitea => cannot be clone. The second was created without file and try to init en client then push, error too.

ssh is ok :

ssh -T git@…
Hi there, You’ve successfully authenticated, but Gitea does not provide shell access.
If this is unexpected, please log in with password and setup Gitea under another user.

but cloning repos is not possible :

git clone git@…:eCommerce/test.git
Cloning into ‘test’…
Gitea: Internal error
Failed to get repository: Failed to get repository: invalid character ‘<’ looking for beginning of value
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

in server.log i have this error :

2019/07/25 09:00:39 [T] GetRepositoryByOwnerAndName: http://0.0.0.0:3000/api/internal/repo/ecommerce/test
2019/07/25 09:00:44 […io/gitea/cmd/serv.go:195 runServ()] [F] Failed to get repository: Failed to get repository: invalid character ‘<’ looking for beginning of value

I need you, i will be crazy XD

I upgraded gitea to 1.9.0 but error is still present and no log are clear to find problem.

With ssh command to check ssh key i have an error too

Authenticated to 172.23.48.26 ([172.23.48.26]:22).
debug1: channel 0: new [client-session]
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug1: pledge: network
debug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0
debug1: Remote: Forced command.
debug1: Remote: Port forwarding disabled.
debug1: Remote: X11 forwarding disabled.
debug1: Remote: Agent forwarding disabled.
debug1: Remote: PTY allocation disabled.
debug1: Remote: Forced command.
debug1: Remote: Port forwarding disabled.
debug1: Remote: X11 forwarding disabled.
debug1: Remote: Agent forwarding disabled.
debug1: Remote: PTY allocation disabled.
Gitea: Internal error
Failed to check provided key: invalid character ‘<’ looking for beginning of value
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug1: client_input_channel_req: channel 0 rtype eow@openssh.com reply 0
debug1: channel 0: free: client-session, nchannels 1
Transferred: sent 3148, received 3416 bytes, in 0.8 seconds
Bytes per second: sent 3965.1, received 4302.6
debug1: Exit status

After re-install (again) my server now it’s ok