FriendsOfGalaxy/galaxy-integration-paradox

Connection lost

Opened this issue · 9 comments

I think this is related to #1, but I wasn't sure so I submitted it as a new issue.

Describe the bug
Every few days or so, the paradox integration will disconnect, saying "Connection lost" in the integrations screen:
image
Though no error message pops up when it happens, so I'm not sure exactly when it occurs.

Clicking "Connect" will have it restart the plugin, showing the initial connection dialogue again:
image
but without asking for the login credentials again.
However, after clicking Connect here it just goes back to saying "Connection lost" again. and the only way I've gotten it to work again is by manually disconnecting and then re-connecting it, so that I'm re-entering my login info.

To Reproduce
I'm not sure exactly what would need to be done to reproduce this, as it's been consistently (but sporadically) doing this since I first installed it a few weeks ago.

I'm running the latest version of Galaxy and the integration on Windows 10.

Attached logs
plugin-paradox-bfa5a6c9-r0c3-5g28-b921-f4cd75d4999a.log

This issue has reappeared again in the last day with the red "connection lost" text and being unable to reconnect the integration.

BSE97 commented

It still happens, and I'm surprised when a day goes by where this integration is not loosing it's connection.

BSE97 commented

This issue is still happening, and even multiple times a day.

The issue is continually occurring for me as well.

Hi. This is also happening for me. Any update on this?

No planned update on this from my side due to lack of time. As it is written in README: Plugin need active maintainer. If someone can fix that and want to maintain the plugin, I can move it to that person account.

Unfortunately, I don't know anything about web auth and can't tackle this issue myself.

If someone's up to giving it a shot, I have an uninformed observation:
I noticed Paradox's web page also logs me out regularly, even when I tell it to remember me. Assuming I'm not the only one, maybe it has something to do with how they manage tokens on their end? If we can't work around it, maybe we can figure out how the Paradox launcher itself does it?

Yes, inspecting Paradox launcher flow sounds reasonable

It is not working as of 24.12.2022