Bug 535814

Summary: Missing authentication when org.eclipse.jgit.lfs builtin lfs filter tries to push lfs objects to server via http protocol
Product: [Technology] JGit Reporter: Matthias Sohn <matthias.sohn>
Component: JGitAssignee: Project Inbox <jgit.core-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: christophesauvage62, ekimber, Lars.Vogel, loskutov, mfromme, philippn, twolf
Version: 5.0   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=575780
Whiteboard:

Description Matthias Sohn CLA 2018-06-12 09:33:38 EDT
When trying to push lfs objects over http to a gerrit server with lfs plugin this fails with 401 status code:

An exception occurred during push on URI http://admin@localhost:8080/a/lfsdemo: When trying to open a connection to http://admin@localhost:8080/a/lfsdemo/info/lfs/objects/batch the server responded with an error code. rc=401

Looks like we lack some authentication implementation
Comment 1 Eliot Kimber CLA 2019-05-16 17:06:42 EDT
Same issue with downloadLfsResource() when using HTTP protocol. It looks like there is support for SSH authentication but nothing for HTTP authentication.
Comment 2 Thomas Wolf CLA 2021-04-14 14:32:53 EDT
Also reported in the forum at [1].

[1] https://www.eclipse.org/forums/index.php/t/1107674/
Comment 3 Andrey Loskutov CLA 2021-11-22 13:52:26 EST
FYI, bugĀ 575780 seem to be same issue and has pending gerrits.