tamland / airsonic-refix

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

Can't Login #98

Closed SeanAshe closed 1 year ago

SeanAshe commented 1 year ago

Could not log in. (Unexpected token '<', "<!doctype "... is not valid JSON) screenshot-20230605-131055

version: "3"
services:
  airsonic:
    container_name: airsonic
    image: airsonic/airsonic
    restart: unless-stopped
    network_mode: bridge
    depends_on:
      - airsonic-refix
    volumes:
      - ./data:/airsonic/data
      - ./playlists:/airsonic/playlists
      - ./podcasts:/airsonic/podcasts
      - /mnt/nas/Content/Media/Music:/airsonic/music

  airsonic-refix:
    container_name: airsonic-refix
    image: tamland/airsonic-refix:latest
    restart: unless-stopped
    network_mode: bridge
    environment:
      - SERVER_URL=172.17.0.3:4040
    ports:
      - 8080:80
tamland commented 1 year ago

You are not pointing the client to the correct server url. The error means the server is returning a html page when attempting to log in.