After upgrading to gitlab CE 9, the http urls of the projects don't work correctly
Summary
It seems like the http project url doesn't work as it worked. We cannot push to the origin.
Steps to reproduce
- create a new project
test
in gitlab 9 - make it public
- copy the http url
- create a clone in eclipse git (Neon) by pasting the url
- press next
the error is
org.eclipse.jgit.api.errors.TransportException: http://Chrysikopoulos@gitlab.***.**/Chrysikopoulos/test.git: error reading info/refs
at org.eclipse.jgit.api.LsRemoteCommand.execute(LsRemoteCommand.java:221)
at org.eclipse.jgit.api.LsRemoteCommand.call(LsRemoteCommand.java:159)
at org.eclipse.egit.core.op.ListRemoteOperation.run(ListRemoteOperation.java:100)
at org.eclipse.egit.ui.internal.clone.SourceBranchPage$8.run(SourceBranchPage.java:341)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
Caused by: org.eclipse.jgit.errors.TransportException: http://Chrysikopoulos@gitlab.open.gr/Chrysikopoulos/test.git: error reading info/refs
at org.eclipse.jgit.transport.TransportHttp.openFetch(TransportHttp.java:333)
at org.eclipse.jgit.api.LsRemoteCommand.execute(LsRemoteCommand.java:198)
... 4 more
Caused by: java.io.EOFException: Short read of block.
at org.eclipse.jgit.util.IO.readFully(IO.java:249)
at org.eclipse.jgit.transport.TransportHttp.readSmartHeaders(TransportHttp.java:649)
at org.eclipse.jgit.transport.TransportHttp.openFetch(TransportHttp.java:316)
... 5 more
The same error shows up when a developer tries to push something in a project that worked well the day before with gitlab 8.16
.
What is the current bug behavior?
- we cannot push in a exiting project that got cloned with the http url
- we cannot clone a new project with the http url
The problem exists after the upgrade to gitlab CE 9. With Gitlab CE 8.16 there was no such problem.
What is the expected correct behavior?
To work like it worked in gitlab CE 8.16
Relevant logs and/or screenshots
none
Output of checks
Exception from the eclipse git client:
org.eclipse.jgit.api.errors.TransportException: http://Chrysikopoulos@gitlab.***.**/Chrysikopoulos/test.git: error reading info/refs
at org.eclipse.jgit.api.LsRemoteCommand.execute(LsRemoteCommand.java:221)
at org.eclipse.jgit.api.LsRemoteCommand.call(LsRemoteCommand.java:159)
at org.eclipse.egit.core.op.ListRemoteOperation.run(ListRemoteOperation.java:100)
at org.eclipse.egit.ui.internal.clone.SourceBranchPage$8.run(SourceBranchPage.java:341)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
Caused by: org.eclipse.jgit.errors.TransportException: http://Chrysikopoulos@gitlab.open.gr/Chrysikopoulos/test.git: error reading info/refs
at org.eclipse.jgit.transport.TransportHttp.openFetch(TransportHttp.java:333)
at org.eclipse.jgit.api.LsRemoteCommand.execute(LsRemoteCommand.java:198)
... 4 more
Caused by: java.io.EOFException: Short read of block.
at org.eclipse.jgit.util.IO.readFully(IO.java:249)
at org.eclipse.jgit.transport.TransportHttp.readSmartHeaders(TransportHttp.java:649)
at org.eclipse.jgit.transport.TransportHttp.openFetch(TransportHttp.java:316)
... 5 more