Skip to content

Failed to sync users from Tautulli Error when attempting to run Unwrap #104

@subi75

Description

@subi75

When initially starting to run Wrapperr v3.2.7 on a Windows desktop (using the .exe version), I set it up appropriately to connect to my Tautulli server (running on a different system in a different subnet), and using the test button it reports back successful.
When I then go into Wrapperr, I'm prompted to log in with my Plex creds (which appear to be accepted no issues) but when I click the Unwrap button, I see a command prompt (running Wrapperr on Windows) window briefly appear then it closes immediately (it flashes on screen for a max of 1 second before auto closing) and then I'm presented with the below error
image

When looking in the wrapperr.log file I see the below text:

2024/12/15 21:20:26 Admin login session JWT validated.
2024/12/15 21:20:26 Retrieved Wrapperr configuration. - Origin: 127.0.0.1
2024/12/15 21:20:35 Retrieved Wrapperr version. - Origin: 127.0.0.1
2024/12/15 21:21:11 Created and retrieved Plex Auth login JWT Token. - Origin: 127.0.0.1
2024/12/15 21:21:11 Retrieved Wrapperr version. - Origin: 127.0.0.1
2024/12/15 21:21:12 Plex Auth JWT Token validated using Plex API. - Origin: 127.0.0.1
2024/12/15 21:21:12 Shareable links are not enabled in the Wrapperr configuration.
2024/12/15 21:21:15 Retrieved Wrapperr functions. - Origin: 127.0.0.1
2024/12/15 21:21:15 New wrap request.
2024/12/15 21:21:15 Checking Tautulli server 'tautulli'.
2024/12/15 21:21:15 Getting users from Tautulli server 'tautulli'.
2024/12/15 21:21:15 Failed to parse Tautulli response. Error: json: cannot unmarshal string into Go struct field TautulliUser.response.data.user_id of type int
2024/12/15 21:21:15 Failed to get users from Tautulli. Error: Failed to parse Tautulli response.
2024/12/15 21:21:15 Failed to get users. Error: Failed to get users from Tautulli.
2024/12/15 21:21:15 Failed to sync users from Tautulli. Error: Failed to get users.

Noting the following with my config:
My windows PC is in a different subnet to both the Plex server and Tautulli server (Plex and Tautulli are in the same subnet together, but on different hosts/IPs)
I have firewall restrictions in place between subnets, only allowing connectivity from the PC to the 2 servers to reach Plex & Tautulli on their appropriate ports. I do also run a seperate montioring app on my PC that connects to Tautulli and monitors its performance via the API without issue so I know that API connectivity from the PC to the Tautulli server is fine.
Running Wrapperr locally on a Raspberry Pi (using the appropriate ARM64 variant on Debian Bookworm ARM64) in the same subnet as Plex & Tautulli, I get the exact same error, so this is not a Windows to Tautulli connectivity issue, nor does it appear to be a cross-subnet/firewall related issue.
Other things I have tried is:
Basic Auth enabled or disabled - no difference
Plex Auth enabled or disabled - no difference
Using the Sync Users option from Settings fails with same error

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions