Can’t figured out why Firefly reports 401 unauthorized

FireFly Media Server (formerly mt-daapd) Firefly Media Server Forums Firefly Media Server Setup Issues Can’t figured out why Firefly reports 401 unauthorized

Viewing 1 post (of 1 total)
  • Author
  • #3043

    Hello everyone,

    I recently installed Firefly on my Dlink DNS-323. I have installed Debian on the box and everything is working well. The installation itself was pretty simple, and I was able to start Firefly just fine. I am running build 1586 of Firefly. It scanned and found all my music, and reported back that around 7000 songs were scanned. However, when I try to connect to it using XBMC or iTunes, I receive the following error:

    I have appended my config file to the end of this post. Any suggestions would be greatly appreciated! It seems like I am so close but just can’t get past this bump.

    Here’s the output from the error:

    Thread 0: Entering ws_dispatcher (Connection from
    Thread 0: got request
    Request: GET /server-info HTTP/1.1
    Thread 0: Read: Host:
    Thread 0: Adding header *Host=*
    Added *Host=*
    Thread 0: Read: Client-DAAP-Version: 3.0
    Thread 0: Adding header *Client-DAAP-Version=3.0*
    Added *Client-DAAP-Version=3.0*
    Thread 0: Read: User-Agent: iTunes/4.6 (Windows; N)
    Thread 0: Adding header *User-Agent=iTunes/4.6 (Windows; N)*
    Added *User-Agent=iTunes/4.6 (Windows; N)*
    Thread 0: Read: Accept-Language: en-us, en;q=5.0
    Thread 0: Adding header *Accept-Language=en-us, en;q=5.0*
    Added *Accept-Language=en-us, en;q=5.0*
    Thread 0: Read: Client-DAAP-Access-Index: 2
    Thread 0: Adding header *Client-DAAP-Access-Index=2*
    Added *Client-DAAP-Access-Index=2*
    Thread 0: Read:
    Thread 0: Headers parsed!
    Checking to see if connection matches close
    Thread 0: Connection type HTTP/1.1
    : Connection: persist
    Thread 0: Original URI: /server-info
    Thread 0: Translated URI: /server-info
    Thread 0: Preparing to find handler
    Checking /server-info against handler for /
    Thread 0: URI Match!
    Thread 0: Time is 1265107391 seconds after epoch
    Thread 0: Setting time header
    Added *Date=Tue, 2 Feb 2010 10:43:11 GMT*
    Added *Connection=keep-alive*
    Added *Server=mt-daapd/svn-1586*
    Added *Content-Type=text/html*
    Added *Content-Language=en_us*
    Thread 0: Using non-default handler
    in main_auth
    Dispatching auth for /server-info to config auth
    Checking if pw required for /server-info as admin

    And here’s my config file:


    web_root = /usr/local/share/mt-daapd/admin-root
    port = 3689
    admin_pw = debug

    db_type = sqlite

    cache_dir = /usr/local/share/mt-daapd/cache
    mp3_dir = /media

    servername = Firefly %v on %h

    runas = root

    extensions = .mp3,.m4a,.m4p,.url
    ssc_codectypes = ogg,flac,alac
    ssc_prog = /usr/local/bin/

    logfile = /var/log/mt-daapd.log

    rescan_interval = 300
    always_scan = 0
    scan_type = 1
    debuglevel = 9

    plugin_dir = /usr/local/lib/mt-daapd/plugins

    process_playlists = 1
    process_itunes = 1
    process_m3u = 1


    Thank you in advance!

Viewing 1 post (of 1 total)
  • The forum ‘Setup Issues’ is closed to new topics and replies.