tamland / airsonic-refix

Modern web UI for Subsonic compatible servers
GNU Affero General Public License v3.0
304 stars 48 forks source link

"Could not log in. (Failed to fetch)" error #78

Closed volcs0 closed 2 years ago

volcs0 commented 2 years ago

I have Airsonic-refix running on my unRAID server in a Docker container. It points to Navidrome running on the same server. Internally (local IPs), everything works great.

I use Swag/NGINX to route 443 traffic from the outside for most of my apps - Plex, Emby, etc. When I set it up for Airsonic-refix, I indeed get the login screen, but when I enter credentials, I get the error, "Could not log in. (Failed to fetch). https://imgur.com/a/D4GPp8w

I'm using the latest version of both Docker containers. As I said, everything works internally with local IPs. My other containers accessed from the outside (through Cloudflare) work fine.

Thoughts?

tamland commented 2 years ago

It could be multiple issues. You need to check the browser console for the actual error message.

volcs0 commented 2 years ago

Thanks. It had to do with http vs https for my Navirdome install. Works now. Thanks for the tip.