New Install - Error 400 on every push or pull

Hello.

I’ve installed the GitLab on our Rocky Linux 9 server.
The web interface is ok. I can log in without problems.

The error appears whenever I try to push or pull any project. I’ve already config the access through Access Token. The error is:
fatal: unable to access 'https://git.cortecerto.com/teste/teste.git/': The requested URL returned error: 400

I can add a file through the web interface without a problem.

Can somebody help me?

Suggest looking into the server logs to troubleshoot the error with the timestamps when you attempt to pull/push.

HTTP 400 errors usually lead to missing permissions. Maybe the personal access token was created with missing permissions on the project/namespace, or the scope is too limited (read/write repository missing).

I’ve created a token with all permissions.

The message from log:
*2023/03/06 21:06:37 [crit] 87686#87686: 2493 connect() to unix://var/opt/gitlab/gitlab-workhorse/sockets/socket failed (13: Permission denied) while connecting to upstream, client:

Sounds like a problem on the OS level with security policies preventing the socket access. Rocky Linux 9 might have SELinux enabled and enforcing, where the syslog can provide more insights too.