SubMusic icon indicating copy to clipboard operation
SubMusic copied to clipboard

Plex GarminSdkError::-400

Open lucasartori opened this issue 1 year ago • 4 comments

GarminSdkError::-400 INVALID_HTTP_BODY_IN_NETWORK_RESPONSE

I get this error testing the server or fetching playlists.

Configuration Server Address: https://<mydomain>.duckdns.org/ (configured nginx reverse proxy and Let's Encrypt certificate) Username: PlexEmailAddress API key: MyPlexToken

Testing with https://<mydomain>.duckdns.org/?X-Plex-Token=<MyPlexToken> works correctly

All other options give 300 (with different domain and/or with port forwarding)

Plex version is 1.32.7.7621 The watch is Fenix 7 Pro Solar

lucasartori avatar Nov 23 '23 15:11 lucasartori

Did you try without the trailing slash?

memen45 avatar Nov 23 '23 17:11 memen45

After removing the trailing slash from the address it connects but there are still problems

"Test Server" starts but does not complete; appears on the screen

  • Inlog OK
  • No podcasts and remains still without proceeding further

Playlist browser works

Selecting playlists to sync works and I select a playlist with only 1 song

When launching synchronization it remains at 0% and "GarminSdkError::0" is displayed

Probably same problem as #84 ?

lucasartori avatar Nov 24 '23 08:11 lucasartori

Plex doesn't have podcasts, so Test server is correct. The error during sync is most likely related to the SSL ciphers you have enabled on the server. See #42.

memen45 avatar Nov 24 '23 09:11 memen45

Even after changing the SSL ciphers like in #42 I still get the same "GarminSdkError::0" is displayed

image

lucasartori avatar Nov 28 '23 15:11 lucasartori

Were you able to resolve this or is this still an issue for you?

memen45 avatar Jul 30 '24 12:07 memen45

I haven't been able to resolve it, it still fails.

lucasartori avatar Jul 30 '24 12:07 lucasartori

Are you able to complete the connection with the SubMusic for Plex app? You can test the Plex connection without any payment. Also you can send debug info from the Settings => Plex => Servers => (Server Name) => Send Debug Info.

Do you happen to have any server logs?

The server address should be reachable from the wifi network that your watch connects to as well. During the Test Server option, the phone connection is still used, but during sync, the wifi network of the watch itself is used instead. You might have an issue with local vs remote Plex url which changes depending on whether your phone is connected or wifi.

memen45 avatar Jul 30 '24 13:07 memen45

Check #71 and #99, make sure to use --key-type rsa with the certbot command. Fenix 7 series does not support other certificates than RSA at the moment, and based on the enabled ciphers you sent, there is only ECDSA enabled.

Did you manually change the certificates or is the Plex default certificate not working?

memen45 avatar Aug 23 '24 21:08 memen45

Closing because of lack of information. If there are updates, feel free to comment or reopen!

memen45 avatar Aug 29 '24 21:08 memen45