Skip to content

Can't connect to local server #1

Description

@stavriani

I can't go further than 'plexmix config init' as I can't figure out how to add the localhost URL. I've tried multiple ways and always getting the following error:

C:\Windows\system32>plexmix config init
PlexMix Setup Wizard
This wizard will help you configure PlexMix.

Plex server URL [http://localhost:32400]: http://localhost:32400
Plex token: [token]
2025-11-04 16:46:30,779 - plexmix.config.credentials - INFO - Stored credential: plex_token
2025-11-04 16:46:30,816 - plexmix.plex.client - WARNING - Connection attempt 1 failed: (400) bad_request; http://localhost:32400/ <html><head><title>Bad Request</title></head><body><h1>400 Bad Request</h1></body></html>. Retrying...
2025-11-04 16:46:31,835 - plexmix.plex.client - WARNING - Connection attempt 2 failed: (400) bad_request; http://localhost:32400/ <html><head><title>Bad Request</title></head><body><h1>400 Bad Request</h1></body></html>. Retrying...
2025-11-04 16:46:33,859 - plexmix.plex.client - ERROR - Failed to connect to Plex server after 3 attempts: (400) bad_request; http://localhost:32400/ <html><head><title>Bad Request</title></head><body><h1>400 Bad Request</h1></body></html>
Failed to connect to Plex server. Please check your URL and token.

C:\Windows\system32>plexmix config init
PlexMix Setup Wizard
This wizard will help you configure PlexMix.

Plex server URL [http://localhost:32400]: http://192.168.1.X:32400
Plex token:
2025-11-04 16:47:09,197 - plexmix.config.credentials - INFO - Stored credential: plex_token
2025-11-04 16:47:09,206 - plexmix.plex.client - WARNING - Connection attempt 1 failed: (400) bad_request; http://192.168.1.X:32400/ <html><head><title>Bad Request</title></head><body><h1>400 Bad Request</h1></body></html>. Retrying...
2025-11-04 16:47:10,231 - plexmix.plex.client - WARNING - Connection attempt 2 failed: (400) bad_request; http://192.168.1.X:32400/ <html><head><title>Bad Request</title></head><body><h1>400 Bad Request</h1></body></html>. Retrying...
2025-11-04 16:47:12,254 - plexmix.plex.client - ERROR - Failed to connect to Plex server after 3 attempts: (400) bad_request; http://192.168.1.X:32400/ <html><head><title>Bad Request</title></head><body><h1>400 Bad Request</h1></body></html>
Failed to connect to Plex server. Please check your URL and token.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions