simojenki / bonob

sonos SMAPI implementation allowing integrating different music sources with sonos.
GNU General Public License v3.0
210 stars 16 forks source link

Error with setup on Synology NAS #109

Open tass-man opened 1 year ago

tass-man commented 1 year ago

Hi, I've been trying for a while to get this up and running. I read through one of the other comments related to Synology NAS and followed the instructions in there and I FINALLY started making progress.

I'm able to get to the point where I add the service through the Sonos app and it asks me to authorize my navidrome server. When logging in with my navidrome credentials, I get the following error:

Login failed!

Subsonic failed with: Error: getaddrinfo ENOTFOUND simojenki-bonob1

I'm fairly novice when it comes to using Docker, so it's been a challenge. If someone can steer me in the direction to resolve this, I'd be thrilled.

thank you!

simojenki commented 1 year ago

Looks like bonob cannot find your navidrome instance.

What values do you have for BNB_SUBSONIC_URL, BNB_PORT, and BNB_URL?

tass-man commented 1 year ago

thanks for the quick response. I have the following:

BNB_PORT: 4534 BNB_URL: http://192.168.1.18:4534 BNB_NAVIDROME_URL: http://192.168.1.18:4533

I don't have anything for BNB_SUBSONIC_URL. What should I list there, the same address as navidrome?

*edit: it's working now! I added the BNB_SUBSONIC_URL line with my navidrome address, and login was successful! everything seems to be working now, I really appreciate the help. Looking forward to using this!

simojenki commented 1 year ago

Try changing BNB_NAVIDROME_URL to BNB_SUBSONIC_URL