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

This topic contains 0 replies, has 1 voice, and was last updated by  devcamcar 7 years, 1 month ago.

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

    devcamcar
    Participant

    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 192.168.1.102)
    Thread 0: got request
    Request: GET /server-info HTTP/1.1
    Thread 0: Read: Host: 192.168.1.101
    Thread 0: Adding header *Host=192.168.1.101*
    Added *Host=192.168.1.101*
    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
    Nope!
    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
    Yep

    And here’s my config file:

    [general]

    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/mt-daapd-ssc.sh

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

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

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

    [scanning]
    process_playlists = 1
    process_itunes = 1
    process_m3u = 1

    Quote:

    Thank you in advance!

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.
Register here