[Solved] 503 error when fetching


#1

I installed GitLab 7.9.2 on a RHEL6 server following the instructions on the Community Edition downloads. I created a group and a project, then forked it, but now I get a 503 error when attempting to fetch from my fork on my laptop. The logs don’t seem to have any errors recorded and I’m not sure what to do.

This server was created last week and is only hosting this installation of GitLab. I can create files and commit through the website but I can’t use a Git client on my laptop.

Any ideas? Also, I’m pretty much a Windows guy so please be patient with me with Linux commands.


#2

So you are trying to git clone from a Windows machine?

The error you see is on the command prompt, right? Care to share the error?


#3

Here is the error from SourceTree while trying to fetch branches on the main project (I forked this project).

git -c diff.mnemonicprefix=false -c core.quotepath=false fetch Main
fatal: unable to access ‘server/group/project.git/’: The requested URL returned error: 503


#4

What if you directly clone the repo with git command in cmd?

git clone http://ldxx79app1.dx.deere.com/group/project.git

I’m not familiar with SourceTree to be frank.


#5

I cleared the directory and tried to clone using Git Bash:

user@W795CB3200QPV0 /c/Workspace/Git/project (master)
$ git clone http://server/main/project.git
Cloning into ‘project’…
fatal: unable to access ‘http://server/group/project.git/’: The requested URL returned error: 503


#6

In case anybody comes across this, if you have an environment variable for a proxy it will override git proxy settings. When I removed the env variable I was able to execute a git command.


#7

This is the more important detail ever…for git users…