archimatetool / archi-modelrepository-plugin

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

Model repository unauthorised upon updating Archi and its plug-in #101

Closed szuniga closed 2 years ago

szuniga commented 5 years ago

Version of Archi, Operating System

Archi 4.4 Archi Model Repository 0.5.1.201904031126 Windows 10 Pro Version 1803

Expected Behaviour

Remote Model Added

Actual Behaviour

On updating Archi and the Model Repository to its latest version we are no longer able to access the remote repository due to not authorized messages, however we do have web access and on rolling back to earlier Archi and Model repository we do access the remote repository without a glitch.

We receive the messages: Fetching and then:

There was an error: http://:8080/tfs/Collection/_git/Archi: not authorized. There are no error log available to be seen.

Steps to Reproduce the Behaviour

  1. Configure a git Collection on Microsoft Teams Foundation.
  2. Check that web access is authorized.
  3. Upload an *.archimate model.
  4. Try to access it via the Archi plug-in .
Phillipus commented 5 years ago

What version of the Model Repository Plug-in were you using that worked?

szuniga commented 5 years ago

Hi

0.3.6. However, the issues arises on Archi 4.4, because even with 0.3.6 the error shows up.

Best regards

szuniga commented 5 years ago

0.3.6 But the issue is with Archi 4.4, since even with the combination the problem shows up.

Phillipus commented 5 years ago

Somebody had a solution to a similar problem:

https://github.com/archimatetool/archi-modelrepository-plugin/issues/90#issuecomment-498232875

Did you try this?

WayneCBarker commented 5 years ago

Hi, 2 colleagues of mine are having the same issue.

I can refresh and commit / publish to the repository with no issue but as soon as they try to import from remote model into workspace then it starts the process but during the fetch comes back with the following error.

image

I have tried looking at the log but it does not seem like the plugin writes to the log file.

Phillipus commented 5 years ago

This is jGit (Java Git library) reporting that there is a problem when authorizing the connection. Unfortunately, it doesn't provide any more information than that so there is nothing to write to an error log other than what you see in the message dialog.

Without full details of your configuration and server settings I can't really help to diagnose this.

WayneCBarker commented 5 years ago

Ok, got it working by following this suggestion. https://github.com/archimatetool/archi-modelrepository-plugin/issues/90#issuecomment-499451085

Phillipus commented 5 years ago

Configuring TFS with the plug-in is probably a good candidate for a wiki entry here, should anyone wish to contribute.