WikiTransformationProject / wikitraccs-releases

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

'Could not get all required confluence auth cookies error on particular devices #65

Closed cwaterman01 closed 10 months ago

cwaterman01 commented 1 year ago

When I'm on step 3 - the configuration validation - I press the button to 'Test confluence connection again' and Chrome will open, load up confluence and go to the search screen for confluence (spacelocationname.atlassian.net/wiki/search) and then do nothing.

After 5 minutes or if I close the Chrome web browser then I get an error which tells me 'could not get all required confluence auth cookies. Check advanced configuration, and make sure no leftover automated browsers are open. Then try again. image (1)

One colleague of mine tried it and got the same error and another colleague of mine tried it and was able to do the transfer.

What can I do to troubleshoot or identify what the issue is? Any idea on the solution?

heinrich-ulbricht commented 1 year ago

@cwaterman01 I saw issues with the browser based login and Confluence Cloud in the past depending on the account type.

Are there differences for the accounts that were used? Like some from Azure AD, some cloud-native, some with third-party IDP? This could make a difference.

You could have a look in the common log files, WikiTraccs usually logs what it's waiting for, or send them over to contact@wikitransformationproject.com and I'll have a look.

Ultimately the authentication mechanism for Cloud has to change (#66), but that is something for the roadmap -> #24

cwaterman01 commented 1 year ago

Thanks Heinrich - we use AD to login and we're quite sure we have SSO setup.

Here are the log files attached.

heinrich-ulbricht commented 1 year ago

Thanks for the log! Seems like the current assumption about cookies in Confluence Cloud is not correct.

WikiTraccs expects cloud.session.token to be present, while it also can be tenant.session.token (or both). This needs an adjustment in the detection logic.

heinrich-ulbricht commented 1 year ago

@cwaterman01 I could reproduce the issue and the latest release v1.6.8 addresses this. Could you give it a try please?

cwaterman01 commented 1 year ago

Hey Heinrich - I was able to make some progress but another error has appeared instead.

Tested tool (1.68) and I was able to test and have a successful connection to the base confluence site (https://watercarestp.atlassian.net/wiki ) but not the exact TDL library I wanted ( https://watercarestp.atlassian.net/wiki/spaces/TDL)

It loads up and logs in to confluence successfully but comes up with the following error;

image

I can't find any logs? Let me know if there's anything else you need!

heinrich-ulbricht commented 1 year ago

Good, progress!

Now you need to change the URL in the Confluence base address field. The base address ends after /wiki. Remove the rest and it should connect.

This comment has some details on how to find the base address: comment link.

The source space is chosen in a later step in the space inventory list.

heinrich-ulbricht commented 10 months ago

Closing for now, feel free to open another issue if you need help.