GitLab: API is not accessible

There are topics out there, which are related to this issue but non of them suggest an exact way to solve the problem.

I have several private projects and encountered with that issue on any of them. But when I try to push my local commits to my latest private repo, I get this error from the command line in the last 5 days:

GitLab: API is not accessible
fatal: Could not read from remote repository.

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

Deleted the projects and created new ones, but had this issue again.

Any help appreciated.

i am also facing the same issue. is there any solution found ? can you please update

did you find a solution for this?

Yes, I think found it out.
Instead of using SSH address as remote, I changed remote address to

I had never this issue again with the https url.

So you can try to change your remote, too.

Now this is for a self hosted omnibus installation… i don’t believe this solution will work…

Also, YOUR_ACCOUNT is this your username?