rosskouk / asknavidrome

An Alexa skill to allow streaming of music from Subsonic API compatible media servers on Amazon Echo devices.
https://rosskouk.github.io/asknavidrome
MIT License
55 stars 7 forks source link

Can't Connect... #43

Open dwebb8272 opened 4 months ago

dwebb8272 commented 4 months ago

Thanks in advance for the help. I followed the documentation on setting up asknavidrome and am utilizing version 0.8. As you can see in my log, I get a fail to connect with the subsonic api. I have no issue with connecting to my music server via web browser or app front end, but I'm having an issue with this. I also have no issues connecting to other api sources. I have the proper ports forwarded, have made firewall exceptions and have double checked my configuration files and I still can't get this thing to connect. Maybe I forgot something simple??? Thanks for the help.

Operating System OpenMediaVault 7.2.1-1

davedebug

rosskouk commented 1 month ago

Hi @dwebb8272

Apologies for the late reply on this. The issue here is that the skill cannot connect to your Navidrome instance, this could be an incorrect URL for the server, or an untrusted certificate or an incorrect API path. I'd recommend trying to connect manually from inside the container to see if you can find the issue. Some users do not run their Navidrome instance at the top level of their domain, so for example the if you were to access Navidrome with the following url:

https://myserver.example.com/navidrome

You would set the NAVI_API_PATH to /navidrome/rest

If all depends on how your server is set up, but this is definitely a connectivity issue between the skill and your Navidrome server.

Littlenuker commented 1 week ago

I posted this in another issue trail.. but seems anything above API 1.13.0 does not function with clear text u/p and needs to utilize a token. I am not sure if it can be tweaked someway in the docker compose to work, or needs adjustment at a deeper level..

https://www.subsonic.org/pages/api.jsp

dwebb8272 commented 1 week ago

@rosskouk and @Littlenuker, thank you for the reply and suggestions. Unfortunately, what was suggested wasn't the fix. I did some googling and ran across someone else who had the same issue as me so I can't take credit for the fix. I've tried to find his/her post again and can't find. If I do in the future, I'll tag him/her. The issue was using cloudflare for DNS. Clouflare, implemented as a security measure (because let's face it...python can be utilized for malicious purposes) to deny all python requests in their WAF tool. What I had to do was go into WAF and setup a rule to allow python connections. Please see the attached photos and I hope to goodness this helps someone out because I was about ready to pull my hair out. screenshot 1 screenshot 2 screenshot 3

rosskouk commented 1 week ago

Thank you very much for sharing this, I'll incorporate the info into the docs as users in the past have had issues using Cloudflare and I've been unable to help.