Git gitlab through http via nginx with user /password

Hello

I have installed gitlab-ce-11.10.4-ce.0.el7.x86_64 on linux centos 7

I have a git client and I can make a OK connection test to gitlab server with authentification user password.

But when I want to push source code to gitlab server, I have an error message:

org.eclipse.jgit.errors.NotSupportedException: remote does not support smart HTTP push
** at org.eclipse.jgit.transport.TransportHttp.openPush(TransportHttp.java:431)**
** at org.eclipse.jgit.transport.PushProcess.execute(PushProcess.java:160)**
** at org.eclipse.jgit.transport.Transport.push(Transport.java:1310)**
** at org.eclipse.jgit.api.PushCommand.call(PushCommand.java:169)**

I do not make any change in the gitlab.rb for the Nginx section.

Do you have any idea to help me to solve this problem ?

Thanks a lot

Vietminh

Hello @vietminh,

It looks like the GitLab server works properly, perhaps this is an issue with eclipse?

Could you please try git push origin master via terminal, just to double check that’s not the issue with your GitLab instance?

Hi dsumenkovic

Thanks a lot for your information about my problem

Effectively, I have made a mistake in the configuration of my client GIT eclipse

I have corrected the config client Eclipse for GIT and it is OK

Best Regards

VietMinh

1 Like

@vietminh Awesome! Thanks for the update!