archimatetool / archi-modelrepository-plugin

coArchi - a plug-in to share and collaborate on Archi models.
153 stars 52 forks source link

Import Remote Model to Workspace gives error git-upload-pack not permitted on https://.... #117

Closed svendebie closed 4 years ago

svendebie commented 4 years ago

Error log

Version of Archi, Operating System

Version 4.6.0 on Windows 7 64-bits.

Expected Behaviour

My Archimate model is connected to my private GIT repository on Bitbucket and I can collaborate with everyone who has access to that repository and push/fetch changes to that repo.

Actual Behaviour

I get this error: image

Steps to Reproduce the Behaviour

  1. Go to menu > Help > Reset Workbench to Defaults...
  2. Go to menu > Collaboration > Import remote model to workspace
  3. And fill in my private repository on bitbucket image
  4. After pressing OK I get the error message as shown with Actual behaviour
Phillipus commented 4 years ago

The error message is a generic one reported by JGit and it doesn't help, unfortunately. It could be an authentication error due to your particular setup, credentials and/or certification. Might be worth searching the issue tracker here.

jbsarrodie commented 4 years ago

My 2cts: either you have to setup a proxy in Archi and you didn't, or you define one but you shouldn't.

JereMist commented 4 years ago

Hello, I encountered the same error. I checked proxy and it is not the problem. Did you fixed it ?

Phillipus commented 4 years ago

@JereMist The error can occur depending on different factors. Please provide more details about your setup, versions, how you are connecting, proxy, etc...

jbsarrodie commented 4 years ago

Did you fixed it ?

In fact (unfortunately?) there is nothing to fix in the plugin: this is linked to a configuration misalignment between the collaboration plugin and your git server (or something in between).

Some topics to check:

If you google git-upload-pack not permitted, you'll see many cases where this error message appears (but unfortunately few simple answers).

JereMist commented 4 years ago

With your answers I checked on my configuration, and finally I fixed my problem : I did not enable SSO on my token (with my company account).

Like jbsarrodie said, it was a problem on my configuration. Many thanks !

jbsarrodie commented 4 years ago

Many thanks !

You're welcome.

I guess the real fix here is to create a wiki page for this kind of issues

Phillipus commented 4 years ago

I guess the real fix here is to create a wiki page for this kind of issues

I'm already on it...

Phillipus commented 4 years ago

I guess the real fix here is to create a wiki page for this kind of issues

I'm already on it...

I created this wiki page - https://github.com/archimatetool/archi-modelrepository-plugin/wiki/Troubleshooting-Connection-Issues

I've added the reply from @jbsarrodie and some intro text. It's a start, so we can add to it and expand on it as issues are solved. If users solve their connection issues (like this one) we can add details to the wiki page and reference the issue.