-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plex Sync Failing (GarminSdkError:0) #68
Comments
Note that Test Server option connects through the connected phone, so it is not handling the SSL ciphers on the watch. If Test Server fails, the cause is most likely something else. Are you able to browse Playlists etc from the server or do you get an error for that as well? |
I can browse playlists and the songs in them. I tried playing music too. It didn't work, but it didn't return an error message either. Is "Test Server" eventually supposed to return an error message? It just stayed at "Inlog OK" for as long as I left it there. |
Yes, normally Test Server should return either an error message or continue to Test Completed. The only way for it to hang is if there is an unexpected exception. I do see some errors in the crash logs for your device. I will update the SubMusic app to 0.2.8, as it contains some fixes to handle these exceptions. A second crash I noticed is an Potential quick solution would be to decrease the response limit. Currently, the default is 20 items (20 playlists or 20 songs) per request. Do you have more than 20 playlists or songs on playlists? |
Please note I published the 0.2.8 update just now. It skips over print statements by default, as it is not needed in production. Let me know if it solves your issue. If not, we have to debug a bit further. |
With 0.2.8:
Unfortunately I do have more than 20 playlists, and all of my playlists have more than 20 songs. I could create a shorter one to see if that makes a difference. |
Yes, please try a shorter playlist as well. The Plex Provider actually reduces the limit after each 403 error, so if you get a 403 error in Test Server, it means that even with Still, the Error: 0 is not clear. Are you able to retrieve server logs for such a failed sync? |
No change using a playlist of one song. I still have more than 20 playlists, however. As far as the logs go, I didn't see anything different around the time I initiated the sync. It was just these entries among a sea of identical ones:
Around the time I initiated the server test, I did get something different:
Around 2 seconds after starting the test, I got this warming: The test ends about 6 seconds after these entries:
And a few seconds after the test fails, the log returns to the same two entries I mentioned at the beginning. I didn't see anything clearly marked as an error, at least within As far as a large amount of metadata is concerned, I don't think so? Most of my files have embedded lyrics and your typical metadata otherwise. All (or almost all) of my files don't even have embedded artwork, as I maintain separate files for that anyway. |
Thanks a lot for your detailed logs! Apart from the stream of I see the last request for Test Server having 419 entries, that is quite a lot and might cause Out of Memory errors if there is a lot of metadata. Not sure why you get a -403 error, since I do not see requests with a smaller than 20 limit. I would expect SubMusic to lower the limit on -403, and only fail when |
Is the log from a Start Sync any different? Potential solutions to fix the Test Server
For the Start Sync, the list of songs could be retrieved per page instead of all at once. That could solve an Out of Memory error. A crash is the only way to find out the limit, so an arbitrary limit has to be set. Also, for browsing, the menu's need to become paged as well, as mentioned here I will look into it when I find time! |
The logs look essentially the same as before. During a server test, I get this again (repeatedly, but this is the last example):
And this is what I get during sync:
Before and after that, it's just repeating loopback requests every 5 seconds or so. It seems odd that it's trying to return something on the range of [20, 39] because only one playlist is configured to sync, and that one playlist has a single song. |
Seems I run into the very same issue and error code. And yes, also with playlists with few songs. |
Sorry for the delay. Are you sure about the logs during sync @cjhesse? These requests ( |
Syncing with Plex currently fails and gives GarminSdkError:0. When I run Test Server, it gets to "Inlog OK" and seems to stay that way indefinitely.
Here are the details:
Edit: Looks like the defaults for ssl_protocol and ssl_ciphers for Nginx Proxy Manager are here: https://github.com/NginxProxyManager/nginx-proxy-manager/blob/master/docker/rootfs/etc/nginx/conf.d/include/ssl-ciphers.conf. ssl_protocol is the same as #42 but ssl_ciphers definitely is not.
The text was updated successfully, but these errors were encountered: