FriendsOfGalaxy / galaxy-integration-uplay

uplay integration with g2.0
MIT License
118 stars 20 forks source link

Ubisoft Connet and Origin cannot be connected #46

Open DimosGk opened 1 year ago

DimosGk commented 1 year ago

Hello! Recently I started using GoG Galaxy and I saw that I cannot connect Ubisoft Connect. This was my problem at first. All the others were connected normally, but after some days Origin cannot be connected, too. Does anyone know what is going on? I have not found any solution yet.

REDxMisfit commented 10 months ago

Edit : Looks like a fix is available here on GitHub thanks to the community : https://github.com/wearepariah/galaxy-integration-uplay/blob/master/src/consts.py

The file "consts.py" needs to be replaced. It's in the "uplay" folder of AppData\Local\GOG.com\Galaxy\plugins\installed Work like a charm

On my side "Origin" (now known as EA App) is working again on GoG which is odd, because EA 2Factor Authentification is broken. They should send a code on my mail for login verification but it never works (not even on their own website !). And another software i used "Playnite" had the same login problem to EA App. The oddest thing being that after accessing my EA profile on their website, by passing through the EA App itself to access link profile on the website, i saw that 2FA is not even activated ! But even with it being disable it still ask me the code sent by mail that never arrived when i want to log on through Playnite or their website.... too weird for myself !

As for Ubisoft Connect, it was "uplay" at the time the plugin was done, there is probably some changes when the app evolved (and now called Ubisfot connect). But the plugin has not been update since long years. That is why it is failing. It would require people with some knowledge to analyze galaxy debug logs and pinpoint why the connexion fails (or rather "is lost"). When i check galaxy logs, it seems that the connexion is working at first, all task i've seen got through

_finished task 0 (import_local_games) finished task 1 (init_authentication) finished task 2 (import_ownedgames)

and so on, until task 12 is finished and there is no error after that. So in a way it works, but it fails to keep the connexion alive. Meaning you'll either have to relaunch the plugin through Galaxy or restart Galaxy so the plugin task are done again.

After the task 12 there is a LOT of these lines and nothing else

2023-12-29 21:26:03,791 - galaxy.api.jsonrpc - DEBUG - Received 55 bytes of data 2023-12-29 21:26:03,791 - galaxy.api.jsonrpc - INFO - Handling request: id=15, method=ping, params={} 2023-12-29 21:26:03,791 - root - DEBUG - Sending data: {"jsonrpc": "2.0", "id": "15", "result": null} 2023-12-29 21:26:08,878 - galaxy.api.jsonrpc - DEBUG - Received 55 bytes of data 2023-12-29 21:26:08,878 - galaxy.api.jsonrpc - INFO - Handling request: id=16, method=ping, params={} 2023-12-29 21:26:08,879 - root - DEBUG - Sending data: {"jsonrpc": "2.0", "id": "16", "result": null} 2023-12-29 21:26:13,951 - galaxy.api.jsonrpc - DEBUG - Received 55 bytes of data

And to compare with the fixed Steam integration that we can find here on github, there is a "heartbeat" line that indicates the connexion is kept alive (it's not that obvisous in the Ubi Connect log)

2023-12-29 21:38:45,739 - galaxy.api.jsonrpc - INFO - Handling request: id=172, method=ping, params={} 2023-12-29 21:38:45,739 - galaxy.api.jsonrpc - INFO - Sending data: {"jsonrpc": "2.0", "id": "172", "result": null} 2023-12-29 21:38:50,819 - galaxy.api.jsonrpc - INFO - Handling request: id=173, method=ping, params={} 2023-12-29 21:38:50,820 - galaxy.api.jsonrpc - INFO - Sending data: {"jsonrpc": "2.0", "id": "173", "result": null} 2023-12-29 21:38:52,914 - steam_network.protocol.protobuf_client - INFO - [Out] <EMsg.ClientHeartBeat: 703> (22B) 2023-12-29 21:38:55,898 - galaxy.api.jsonrpc - INFO - Handling request: id=174, method=ping, params={} 2023-12-29 21:38:55,898 - galaxy.api.jsonrpc - INFO - Sending data: {"jsonrpc": "2.0", "id": "174", "result": null} 2023-12-29 21:39:00,979 - galaxy.api.jsonrpc - INFO - Handling request: id=175, method=ping, params={} 2023-12-29 21:39:00,979 - galaxy.api.jsonrpc - INFO - Sending data: {"jsonrpc": "2.0", "id": "175", "result": null} 2023-12-29 21:39:01,902 - steam_network.protocol.protobuf_client - INFO - [Out] <EMsg.ClientHeartBeat: 703> (22B)

DimosGk commented 9 months ago

So, because both of these apps were updated or discontinued (like Origin), we have to wait until someone creates a new plugin both for Ubisoft Connect and EA app?

Στάλθηκε από την Αλληλογραφίαhttps://go.microsoft.com/fwlink/?LinkId=550986 για τα Windows

Από: @.> Αποστολή: Παρασκευή, 29 Δεκεμβρίου 2023 10:20 μμ Προς: @.> Κοιν.: Dimosthenis @.>; @.> Θέμα: Re: [FriendsOfGalaxy/galaxy-integration-uplay] Ubisoft Connet and Origin cannot be connected (Issue #46)

On my side "Origin" (now known as EA App) is working again on GoG which is odd, because EA 2Factor Authentification is broken. They should send a code on my mail for login verification but it never works (not even on their own website !). And another software i used "Playnite" had the same login problem to EA App. The oddest thing being that after accessing my EA profile on their website, by passing through the EA App itself to access link profile on the website, i saw that 2FA is not even activated ! But even with it being disable it still ask me the code sent by mail that never arrived when i want to log on through Playnite or their website.... too weird for myself !

As for Ubisoft Connect, it was "uplay" at the time the plugin was done, there is probably some changes when the app evolved (and now called Ubisfot connect). But the plugin has not been update since long years. That is why it is failing. It would require people with some knowledge to analyze galaxy debug logs and pinpoint why the connexion fails.

— Reply to this email directly, view it on GitHubhttps://github.com/FriendsOfGalaxy/galaxy-integration-uplay/issues/46#issuecomment-1872319921, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A6YAPDN5UEFXQY3D2EGXZNLYL4QZ3AVCNFSM6AAAAAA6UBLMV6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZSGMYTSOJSGE. You are receiving this because you authored the thread.Message ID: @.***>

REDxMisfit commented 9 months ago

Yes you have to wait, because the work here is done by the community and not by GoG. So they don't have to support it until end of their life. Okay, some people seems to have gone away without giving the project to someone else.

Yet, if you read the threads around here in each apps of this git hub, you will find fixes to apply (new file with update code to manually replace the old one, or code to inject by copy/paste yourself) The python files are on your computer and can be overwritten or modified without needed much knownledge that copy/paste or open in notepad to copy paste python code to replace the old code not working.

I've done it and all my plugin (including Steam which could not stay connected after syncing the data successfully the first time) and everything works fine, steam, ubisoft, EA App.

DimosGk commented 9 months ago

Can you please send me the discussion forum for each plugin that does not work?

Στάλθηκε από την Αλληλογραφίαhttps://go.microsoft.com/fwlink/?LinkId=550986 για τα Windows

Από: @.> Αποστολή: Τετάρτη, 10 Ιανουαρίου 2024 12:42 πμ Προς: @.> Κοιν.: Dimosthenis @.>; @.> Θέμα: Re: [FriendsOfGalaxy/galaxy-integration-uplay] Ubisoft Connet and Origin cannot be connected (Issue #46)

Yes you have to wait, because the work here is done by the community and not by GoG. So they don't have to support it until end of their life. Okay, some people seems to have gone away without giving the project to someone else.

Yet, if you read the threads around here in each apps of this git hub, you will find fixes to apply (new file with update code to manually replace the old one, or code to inject by copy/paste yourself) The python files are on your computer and can be overwritten or modified without needed much knownledge that copy/paste or open in notepad to copy paste python code to replace the old code not working.

I've done it and all my plugin (including Steam which could not stay connected after syncing the data successfully the first time) and everything works fine, steam, ubisoft, EA App.

— Reply to this email directly, view it on GitHubhttps://github.com/FriendsOfGalaxy/galaxy-integration-uplay/issues/46#issuecomment-1883915083, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A6YAPDLUNENYY7MHFOVZ5W3YNXBVNAVCNFSM6AAAAAA6UBLMV6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBTHEYTKMBYGM. You are receiving this because you authored the thread.Message ID: @.***>

REDxMisfit commented 9 months ago

Steam : https://github.com/ABaumher/galaxy-integration-steam/releases/tag/v1.0.8 (file to download) Ubisoft : https://github.com/wearepariah/galaxy-integration-uplay/blob/master/src/consts.py (file to download)

The integrations are installed in your %localappdata%\GOG.com\Galaxy\plugins\installed folder.

You got to install the v 1.0.8 of steam to replace your current file (if you have problem with it) Replace consts.py by the new file from above for the Ubi connect app. And for EA App, the problem solve on its own on my side. But there is a fix available here : https://github.com/BellezaEmporium/galaxy-integration-ead

You just had to read the "issues" threads from the differents integrations repositories : https://github.com/FriendsOfGalaxy

REDxMisfit commented 1 week ago

I received a mail that someone didn’t know how to install the plugin for EA App. Maybe the message had been deleted because he/she found out. I don’t have my computer right know, but all you need to do is install the integration through gog so it creates the basic non functional plugin install. Then browse to the plugin folder (see previous comment to locate it) Then you manually replace files available on the EA App plugin link i've posted previously. Every file is on the page, i guess you need the current version.json, and files from requirements and src folders. You just have to compare what you see in the folder with the broken install and the files on the github, and replaces every file that exist on both windows with the github version. Note that i didn’t use the integration since last spring. They may be broken depending on updates from gog and/or EA App.

leon-sm commented 1 week ago

That was me, was confused because of the "install.bat" in the readme but found out throught the gog subreddit. This might be helpful for others though, thanks. Can confirm it still works, only disconnects every time you close and reopen gog galaxy, which isn't a big deal for me.

lumamarius commented 6 days ago

I updated my consts.py with the updated file by wearepariah but now when i want to login the web auth is stuck loading (logo fade in out in out) anyone knows why?