Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubisoft Connet and Origin cannot be connected #46

Open
DimosGk opened this issue Oct 28, 2023 · 8 comments
Open

Ubisoft Connet and Origin cannot be connected #46

DimosGk opened this issue Oct 28, 2023 · 8 comments

Comments

@DimosGk
Copy link

DimosGk commented Oct 28, 2023

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
Copy link

REDxMisfit commented Dec 29, 2023

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_owned_games)

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
Copy link
Author

DimosGk commented Jan 9, 2024 via email

@REDxMisfit
Copy link

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
Copy link
Author

DimosGk commented Jan 10, 2024 via email

@REDxMisfit
Copy link

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
Copy link

REDxMisfit commented Oct 20, 2024

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
Copy link

leon-sm commented Oct 20, 2024

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
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants