UncleGoogle / galaxy-integration-humblebundle

Humble Bundle integration for GOG Galaxy 2.0
GNU General Public License v3.0
184 stars 19 forks source link

Importing subscriptions fails with code 4 (Backend responded in unknown way) #165

Closed mmoderau closed 2 years ago

mmoderau commented 2 years ago

Importing subscriptions fails.

Plugin installed directly from Galaxy.

  1. After connecting the plugin, synchronization with Galaxy seems to hang (which is more of a Galaxy problem).
  2. After restarting Galaxy, the import_subscriptions task fails with following log message:
    2021-11-05 12:24:07,447 - webservice - DEBUG - GET, https://www.humblebundle.com/subscription, (), {'allow_redirects': False}
    2021-11-05 12:24:07,702 - root - DEBUG - Sending data: {"jsonrpc": "2.0", "id": "268", "error": {"code": 4, "message": "Backend responded in unknown way", "data": "cannot parse webpack data"}}

    Human readable response:

    {
    "jsonrpc": "2.0",
    "id": "268",
    "error": {
        "code": 4,
        "message": "Backend responded in unknown way",
        "data": "cannot parse webpack data"
    }
    }

    The URL that plugin tried to reach (https://www.humblebundle.com/subscription) returns code 302 and redirects to https://www.humblebundle.com/subscription/home.

Logs

logs.zip

UncleGoogle commented 2 years ago

@mmoderau could you test this build? It worked before refactor commits, but now I have no subscription to verify that. EDIT humblebundle_0.10.0a.zip

mmoderau commented 2 years ago

I'll try to do that on Monday.