Bug 563022 - Downloading LFS Object fails behind company proxy
Summary: Downloading LFS Object fails behind company proxy
Status: RESOLVED FIXED
Alias: None
Product: JGit
Classification: Technology
Component: JGit (show other bugs)
Version: 5.7   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: 5.8   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-11 01:38 EDT by Missing name CLA
Modified: 2020-05-12 12:56 EDT (History)
1 user (show)

See Also:


Attachments
Exceptino (3.22 KB, text/plain)
2020-05-11 03:48 EDT, Missing name CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Missing name CLA 2020-05-11 01:38:21 EDT
We are using jgit behind a company proxy and are trying to download an Azure DevOps Repository which has some LFS files.

After registering the built in LFS using: 
		BuiltinLFS.register();
		BuiltinLFS.getInstance().getInstallCommand().call();

cloning fails with a JGitInternalException:
"The server responded with an error code. rc=203".

Debugging shows, that JGit tries to download the list of large file object ids and expects a 200 return code. 
However our company proxy modifies the response to a 203.

I guess JGit should accept all 2xx return codes.
Comment 1 Matthias Sohn CLA 2020-05-11 03:34:24 EDT
can you share a stacktrace for this error ?
Comment 2 Missing name CLA 2020-05-11 03:48:53 EDT
Created attachment 282777 [details]
Exceptino

Exception encountered. Obscured some details in the URI
Comment 3 Eclipse Genie CLA 2020-05-11 04:38:17 EDT
New Gerrit change created: https://git.eclipse.org/r/162791
Comment 4 Eclipse Genie CLA 2020-05-12 12:50:39 EDT
Gerrit change https://git.eclipse.org/r/162791 was merged to [master].
Commit: http://git.eclipse.org/c/jgit/jgit.git/commit/?id=a379d007dbf5eefbe8c93738755582586eb835b1