Bug 535814 - Missing authentication when org.eclipse.jgit.lfs builtin lfs filter tries to push lfs objects to server via http protocol
Summary: Missing authentication when org.eclipse.jgit.lfs builtin lfs filter tries to ...
Status: NEW
Alias: None
Product: JGit
Classification: Technology
Component: JGit (show other bugs)
Version: 5.0   Edit
Hardware: PC Mac OS X
: P3 normal with 2 votes (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-12 09:33 EDT by Matthias Sohn CLA
Modified: 2024-05-08 02:35 EDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.