Error message: "cannot open git-upload-pack"

Post here questions and problems related to editing and publishing DITA content.
davidfarbey
Posts: 1
Joined: Thu Nov 17, 2022 2:45 pm

Error message: "cannot open git-upload-pack"

Post by davidfarbey »

I am trying to link an Oxygen XML (v25.0) DITA project to a new repository on GitLab.
When I enter details in the Clone Repository dialog, I get an error message: "cannot open git-upload-pack". Can anyone explain what this means and how to resolve it?
I realise I may not have set things up properly, so I'd welcome some pointers on the right step-by-step process.
Many thanks
David
alex_jitianu
Posts: 963
Joined: Wed Nov 16, 2005 11:11 am

Re: Error message: "cannot open git-upload-pack"

Post by alex_jitianu »

Hello,

The repository URL might not be correct. For example, I get put an invalid URL like this, http://github/com, I get a similar message. Please check if the repository URL is correct. If it is, perhaps you are behind a proxy which is not configured inside Oxygen. You can also start Oxygen using the command line launcher, for example oxygen.bat, reproduce the error then have a look inside the console for extra details. If you see such details, please send them to us to support@oxugenxml.com . If none of the above work, let's enable logging like this:

1. Unzip the logback.xml file from within the attached
logback.zip
(709 Bytes) Downloaded 9 times
in the lib folder from the application installation directory.
2. Restart the application.
3. Reproduce the problem.
4. Close the application.
5. Delete the logback.xml file because it might cause performance issues if you leave it in the lib folder.

The resulting log files are named oxygen.log and oxygen#.log.qz (for example, oxygen.log, oxygen1.log.gz, oxygen2.log.gz, etc.) and are located in the Desktop\oxygenLog folder.

Best regards,
Alex
chrispitude
Posts: 710
Joined: Thu May 02, 2019 2:32 pm

Re: Error message: "cannot open git-upload-pack"

Post by chrispitude »

Hi Alex,

Should this behavior be applied here?

#151: Issue a friendlier error if the Git server is not accessible
alex_jitianu
Posts: 963
Joined: Wed Nov 16, 2005 11:11 am

Re: Error message: "cannot open git-upload-pack"

Post by alex_jitianu »

Hi Chris,

Yes, after your initial report we improved the message detection. We indent to investigate this particular case and see why we present the generic message instead of a more useful one.

Best regards,
Alex
Post Reply