Skip to content

Ubisoft connect always connection lost, also cant delete subscriptions #209

Open

Description

@Tim4497
No description provided.

Activity

  1. GhostOfJericho72 commented on Aug 2, 2023

    @GhostOfJericho72

    Same here

  2. Pseudo-Nym commented on Aug 8, 2023

    @Pseudo-Nym

    ditto

  3. ChickenDestroyer commented on Aug 8, 2023

    @ChickenDestroyer
  4. GKid94 commented on Oct 19, 2023

    @GKid94

    Can't connect
    Screenshot 2023-10-19 044058

  5. BenGamin98 commented on Nov 9, 2023

    @BenGamin98

    Same

  6. Oumbra commented on Dec 10, 2023

    @Oumbra

    Idem ici
    image

  7. dfinchau commented on Dec 20, 2023

    @dfinchau

    https://www.gog.com/forum/general_beta_gog_galaxy_2.0/ubisoft_connect_connection_lost This has a self fix until the problem is fixed itself.

    This worked for me as of today. I've copy+pasted the temporary fix here in case something happens to that post.

    Goto:
    %LOCALAPPDATA%\GOG.com\Galaxy\plugins\installed\uplay_afb5a69c-b2ee-4d58-b916-f4cd75d4999a

    Open consts.py

    Replace line 15 with:
    CLUB_APPID = "f35adcb5-1911-440c-b1c9-48fdc1701c68"

    Replace line 16 with:
    CLUB_GENOME_ID = "5b36b900-65d8-47f3-93c8-86bdaa48ab50"

    However if it doesn't work for you, try the following instead.

    Replace line 15 with:
    CLUB_APPID = "314d4fef-e568-454a-ae06-43e3bece12a6"

    Replace line 16 with:
    CLUB_GENOME_ID = "85c31714-0941-4876-a18d-2c7e9dce8d40"

  8. modtang commented on Feb 1, 2024

    @modtang

    ODST05, that doesn't work for me anymore. Getting a plugin crashed error now. :(

  9. leonpajuelo commented on Feb 7, 2024

    @leonpajuelo

    https://www.gog.com/forum/general_beta_gog_galaxy_2.0/ubisoft_connect_connection_lost This has a self fix until the problem is fixed itself.

    This worked for me as of today. I've copy+pasted the temporary fix here in case something happens to that post.

    Goto:
    %LOCALAPPDATA%\GOG.com\Galaxy\plugins\installed\uplay_afb5a69c-b2ee-4d58-b916-f4cd75d4999a
    Open consts.py
    Replace line 15 with:
    CLUB_APPID = "f35adcb5-1911-440c-b1c9-48fdc1701c68"
    Replace line 16 with:
    CLUB_GENOME_ID = "5b36b900-65d8-47f3-93c8-86bdaa48ab50"

    However if it doesn't work for you, try the following instead.

    Replace line 15 with:
    CLUB_APPID = "314d4fef-e568-454a-ae06-43e3bece12a6"
    Replace line 16 with:
    CLUB_GENOME_ID = "85c31714-0941-4876-a18d-2c7e9dce8d40"

    It works for me! Thank you!

  10. GKid94 commented on Mar 7, 2024

    @GKid94

    @mbanczerowski Can you please fix this already we are waiting for months?

  11. RaizerLeaf commented on May 7, 2024

    @RaizerLeaf

    +1 on this. Ubisoft Connect integration is probably one of the buggiest ones and makes it super frustrating to use.

  12. Chrille91 commented on May 21, 2024

    @Chrille91

    Awesome!
    Replacing the old keys in lines 15+16

    CLUB_APPID = "b8fde481-327d-4031-85ce-7c10a202a700"
    CLUB_GENOME_ID = "fbd6791c-a6c6-4206-a75e-77234080b87b"

    with the alternative keys from @dfinchau

    CLUB_APPID = "314d4fef-e568-454a-ae06-43e3bece12a6"
    CLUB_GENOME_ID = "85c31714-0941-4876-a18d-2c7e9dce8d40"

    worked for me! No need to restart the app or pc. It should work right after trying to connect again.

  13. bakanisan commented on Oct 22, 2024

    @bakanisan

    https://www.gog.com/forum/general_beta_gog_galaxy_2.0/ubisoft_connect_connection_lost This has a self fix until the problem is fixed itself.

    This worked for me as of today. I've copy+pasted the temporary fix here in case something happens to that post.

    Goto:
    %LOCALAPPDATA%\GOG.com\Galaxy\plugins\installed\uplay_afb5a69c-b2ee-4d58-b916-f4cd75d4999a
    Open consts.py
    Replace line 15 with:
    CLUB_APPID = "f35adcb5-1911-440c-b1c9-48fdc1701c68"
    Replace line 16 with:
    CLUB_GENOME_ID = "5b36b900-65d8-47f3-93c8-86bdaa48ab50"

    However if it doesn't work for you, try the following instead.

    Replace line 15 with:
    CLUB_APPID = "314d4fef-e568-454a-ae06-43e3bece12a6"
    Replace line 16 with:
    CLUB_GENOME_ID = "85c31714-0941-4876-a18d-2c7e9dce8d40"

    This still works as of 22/10/24, thanks!

  14. GKid94 commented on Nov 2, 2024

    @GKid94

    Still not working
    Screenshot 2024-11-02 190231
    Screenshot 2024-11-02 190723
    Screenshot 2024-11-02 191412

  15. Rezdj commented on Feb 18, 2025

    @Rezdj

    for ubisoft this worked for me the 18/02/2025

    Goto:
    %LOCALAPPDATA%\GOG.com\Galaxy\plugins\installed\uplay_afb5a69c-b2ee-4d58-b916-f4cd75d4999a
    Open consts.py
    Replace line 15 with:
    CLUB_APPID = "f35adcb5-1911-440c-b1c9-48fdc1701c68"
    Replace line 16 with:
    CLUB_GENOME_ID = "5b36b900-65d8-47f3-93c8-86bdaa48ab50"

  16. matracey commented on Jun 23, 2025

    @matracey

    for ubisoft this worked for me the 18/02/2025

    Goto: %LOCALAPPDATA%\GOG.com\Galaxy\plugins\installed\uplay_afb5a69c-b2ee-4d58-b916-f4cd75d4999a Open consts.py Replace line 15 with: CLUB_APPID = "f35adcb5-1911-440c-b1c9-48fdc1701c68" Replace line 16 with: CLUB_GENOME_ID = "5b36b900-65d8-47f3-93c8-86bdaa48ab50"

    Here is a PowerShell script that will automatically update the CLUB_APPID and CLUB_GENOME_ID. If they change in the future, you can simply update the values in the script.

    # --- Configuration ---
    # Path to GOG Galaxy Ubisoft Connect plugin's consts.py
    $constsPath = "$env:LOCALAPPDATA\GOG.com\Galaxy\plugins\installed\uplay_afb5a69c-b2ee-4d58-b916-f4cd75d4999a\consts.py"
    
    # New values to be set in consts.py
    $clubAppId = 'f35adcb5-1911-440c-b1c9-48fdc1701c68'
    $clubGenomeId = '5b36b900-65d8-47f3-93c8-86bdaa48ab50'
    
    # --- Load Required Assemblies ---
    Add-Type -AssemblyName System.Windows.Forms
    
    # --- Variable Definitions ---
    # Regex to find a string enclosed in single or double quotes.
    $quotedStringRegex = '["'']([^"'']+)["'']'
    # Regex to find the line defining CLUB_APPID.
    $clubAppIdLineRegex = "^CLUB_APPID = $quotedStringRegex[^\n]*"
    # Regex to find the line defining CLUB_GENOME_ID.
    $clubGenomeIdLineRegex = "^CLUB_GENOME_ID = $quotedStringRegex[^\n]*"
    
    # Get the current timestamp for logging purposes.
    $currentDateTimeString = (Get-Date).ToString()
    
    # --- Main Logic ---
    # Check if the consts.py file exists.
    if (-not (Test-Path $constsPath)) {
      $message = 'Could not find the consts.py file. Do you have the Ubisoft Connect extension for GOG Galaxy installed?'
      [System.Windows.MessageBox]::Show($message) | Out-Null
      return
    }
    
    # Backup the original.
    Copy-Item -Force -Path $constsPath -Destination "$constsPath.bak"
    
    # Read the content.
    $constsContent = Get-Content -Path $constsPath
    
    # Replace old values with new ones
    $constsContent = $constsContent -replace $clubAppIdLineRegex, "CLUB_APPID = `"$clubAppId`" # Updated at $currentDateTimeString"
    $constsContent = $constsContent -replace $clubGenomeIdLineRegex, "CLUB_GENOME_ID = `"$clubGenomeId`" # Updated at $currentDateTimeString"
    
    # Write updated content back to the file.
    $constsContent | Set-Content -Path $constsPath
    
    # Notify
    [System.Windows.MessageBox]::Show('Updated Ubisoft Connect extension successfully.') | Out-Null

    A batch script alternative...

    @ECHO OFF
    SETLOCAL
    
    :: --- Configuration ---
    :: Path to GOG Galaxy Ubisoft Connect plugin's consts.py
    SET "constsPath=%LOCALAPPDATA%\GOG.com\Galaxy\plugins\installed\uplay_afb5a69c-b2ee-4d58-b916-f4cd75d4999a\consts.py"
    SET "tempFile=%TEMP%\consts.py.tmp"
    
    :: New values to be set in consts.py
    SET "clubAppId=f35adcb5-1911-440c-b1c9-48fdc1701c68"
    SET "clubGenomeId=5b36b900-65d8-47f3-93c8-86bdaa48ab50"
    
    :: --- Main Logic ---
    :: Check if the consts.py file exists.
    IF NOT EXIST "%constsPath%" GOTO :FileNotFound
    
    :: Backup the original.
    ECHO Backing up "%constsPath%"...
    COPY /Y "%constsPath%" "%constsPath%.bak" >NUL
    
    :: Read the content, replace lines, and write to a temporary file.
    ECHO Updating file...
    SETLOCAL EnableDelayedExpansion
    (
      FOR /F "usebackq tokens=* delims=" %%L IN ("%constsPath%") DO (
        SET "line=%%L"
        
        :: Check if the line defines CLUB_APPID
        ECHO !line! | FINDSTR /B /C:"CLUB_APPID =" >NUL
        IF !ERRORLEVEL! EQU 0 (
          ECHO CLUB_APPID = "%clubAppId%"
        ) ELSE (
          :: Check if the line defines CLUB_GENOME_ID
          ECHO !line! | FINDSTR /B /C:"CLUB_GENOME_ID =" >NUL
          IF !ERRORLEVEL! EQU 0 (
            ECHO CLUB_GENOME_ID = "%clubGenomeId%"
          ) ELSE (
            :: Otherwise, write the original line
            ECHO !line!
          )
        )
      )
    ) > "%tempFile%"
    ENDLOCAL
    
    :: Replace the original file with the updated temporary file.
    MOVE /Y "%tempFile%" "%constsPath%" >NUL
    
    :: Notify user of success
    ECHO.
    ECHO Success: Updated Ubisoft Connect extension successfully.
    PAUSE
    GOTO :EOF
    
    :FileNotFound
    :: Notify user of error
    ECHO.
    ECHO ERROR: Could not find the consts.py file.
    ECHO Please check if the Ubisoft Connect extension for GOG Galaxy is installed.
    ECHO.
    PAUSE
    GOTO :EOF
  17. GKid94 commented on Nov 29, 2025

    @GKid94

    Still a problem after 5 years...

    Image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions