WikiTransformationProject / wikitraccs-releases

Releases, issues and discussions for WikiTraccs from the Wiki Transformation Project
https://www.wikitransformationproject.com
8 stars 0 forks source link

Cannot get Confluence Spaces #21

Closed sys-pw closed 1 year ago

sys-pw commented 1 year ago

Hi there,

i'm trying to set up a Test Environment for our Confluence Site. But I'm kind of stuck.

Testing the Connection to Confluence works fine, but as soon as i try "Updating space inventory..." i get this error message: image

Here is the logfile: WikiTraccs.GUI.debug20230227_anonymous.log

I'm really can't figure out what i have set up wrong...

heinrich-ulbricht commented 1 year ago

This is strange. (Disclaimer: Confluence Cloud ist not officially supported yet, although testing it is fine and migrating should work.)

That being out of the way: Could you try leaving the Advanced cookie names empty? The connection test should succeed as WikiTraccs by default uses both the JSESSIONID and the cloud.session.token cookies. image

This works in my cloud test environment. Is there anything special about your environment that I should know?

You should also try clearing the local cache on app start. Have a look here on how to do this: https://www.wikitransformationproject.com/docs/reference/settings/#clear-cache-settings-template

You could also try providing cookies via cookie.txt as described here: https://www.wikitransformationproject.com/docs/troubleshooting/authentication-issues/confluence/#2-provide-cookies-manually

sys-pw commented 1 year ago

Tried all of the above, unfortunately still the same result.

Testing the Confluence Connection works fine, trying to update the Space Inventory fails.

What could be things you should know about our environment? I can't think of anything special about our Site except that it's cloud based and for Company Users only.

heinrich-ulbricht commented 1 year ago

Good question, I'm trying to work out the difference between your environment and my test environment, where it works.

I'll do more tests to hopefully run into the same issue. Thanks for reporting back.

heinrich-ulbricht commented 1 year ago

@sys-pw Could you please try the latest release 0.1.3? I could reproduce and fix the issue, at least for my test environment.

sys-pw commented 1 year ago

Hi @heinrich-ulbricht test with 0.1.3 worked like a charm, thanks for the quick fix!