-
-
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
Running into GarminSdkError::0 when trying to sync Nextcloud #71
Comments
Thanks for your feedback. Can you check the ciphers you enabled on your webserver? See #42 |
I am having the same issue on a Forerunner 265 API Backend: Subsonic API When I have no playlist selected for offline sync the "Sync" is successful. I guess it grabs the available playlists. However once I select either if my 2 "testing" playlist with less than 12 songs and try to sync again, I get "GarminSdkError::0" displayed on the screen |
Could you try different number of songs on the playlist (zero songs too) and maybe narrow it down to a particular song? I have seen certain characters in the metadata cause this error as well, for example the copyright ©️ symbol. Otherwise you could also send me a personal email (in the Garmin Connect IQ store, then Contact developer option) with some temporary login details so I can test with your server instance. |
Thanks for your quick response. With regards to manipulating the playlist, I think I have done all sorts of changes since I assumed it might be a naming issue. However, none of that seems to help. |
Do you have redirect in place? Found an issue where the redirect is not followed here. I will take a look as soon as I get home. I forgot my windows boot drive and the simulator doesn't work on Linux unfortunately. |
I wouldn't call it a redirect. It's just that the Airsonic container is sitting behind an Apache reverse proxy... I think in this day and age this kind of setup is pretty standard. |
I'm facing a similar issue with my Forerunner 255s Music. |
I am wondering if maybe some stuff changed with Garmin recently and broke the add-on. I shared credentials to my Airsonic server with the dev to try see if the error can be reproduced. Hopefully a way forward can be found... I'd really like to be able to us my own music and not have to subscript to Spotify Premium or the other services. |
Unfortunately, it will take longer. Currently, I am unable to see crash reports, run the simulator, or anything. The Garmin dev tools were not streamlined, but now completely broken. Waiting for an update on their side :( |
Is it possible to install an older version of the app to see if the error is also present there? (I don't even know if this sort of thing is possible with IQ) |
are there any news regarding that? I can confirm my server has TLSv1.2 enabled and the required ciphers. I see requests on the server during the test but no requests or errors during the sync |
Could you share the device and firmware version of your watch? |
Garmin Fenix 7 17.28 |
The firmware version might be broken. I have received more reports (Fenix 7 Pro Solar and Epix2 devices) for this firmware version 17.28 with the issue. Also for other music apps. There is a beta program, which let you update to version 18.12, but it seems like the issue is not fixed yet by Garmin. The bug report is acknowledged by Garmin, but no ETA or additional details are given. Did you check if there is any request at all coming from the watch, or just the request log on your server side? The HTTPS certificates issue will probably not arrive in your server logs, as it is part of negotiation before the actual connection is made, and thus if it fails, the request has not been sent yet. I assume your server is accessible remotely, so you might want to check the actual ciphers presented to clients by using a SSL test tool (e.g. SSL labs). Your findings, logs, data etc. are very helpful, as I do not own the watch and thus cannot do any tests directly. Be sure to remove private information from any logs you share here! If you want to share private urls etc. for me to check, please send me a direct message (also through the Connect IQ app -> SubMusic -> Contact Developer option). |
I made a lot of tests both with SSLlabs and nmap ssl-enum-ciphers and cipher support should not be the case. I enabled SSL debug logs and inspected requests and ciphers on test server requests that arrived. If any requests were dropped on cipher negotiation lately the logs would be there. The bug report on garmin forum seems new while reports of this issue on this project are pretty old. Can I do anything else to debug this? |
Did you also check this more recent solution for the SSL ciphers? It is slightly different than suggested in the old #42 There is a more elaborate way to obtain debug logs from the watch itself. First, you have to enable Debugging from the SubMusic Settings > App Settings menu, or from the Connect IQ app on your phone, then on the SubMusic page choose "Settings", then enable Debugging.
|
From on device logs I found that some server worked (Fenix 7x Pro Solar firmware 17.28, last week) and will log the cipher suites below Test Server 1 ✔️
Test Server 2 ❌
Would be very helpful if you could share your cipher suites, so we can either confirm that in the new firmware version there is a different set of working SSL ciphers, or it has nothing to do with SSL ciphers (i.e. full overlap with the working one as the above, but not working for you). Thanks! |
Thanks for your continued support during this issue. My certificate was issued by LetsEncrypt using ec256, when I issued another certificate using RSA2048 everything worked. The rest of my cipher configuration comes from Mozilla SSL Configuration Generator using intermediate configuration (TLS1.2 allowed). As far as I am concerned this is a server configuration issue and you can close this. |
I'm running Music v1.8.1 and SubMusic 2.8 on an Epix 2
SubMusic settings:
API backend: Ampache API
Server Address: https://cloud.[domain].[tld]/apps/music/ampache
When I go into "more", and "Test Server", it says "Inlog OK No podcasts"
Then when I try to sync, after searching for a wifi network it displays "GarminSdkError::0". The only playlist I have selected has five songs. It's also correctly pulling the list of playlists and songs in playlists.
I'm also using a LetsEncrypt certificate on my server, and nextcloud is behind Nginx Proxy Manager
The text was updated successfully, but these errors were encountered: