FireFly Media Server › Firefly Media Server Forums › Firefly Media Server › Setup Issues › OS X 10.4.10 + XBMC rev10193 + Firefly svn1586 = 401 error
- This topic has 4 replies, 2 voices, and was last updated 16 years, 11 months ago by rpedde.
-
AuthorPosts
-
13/09/2007 at 10:07 AM #1713lxdParticipant
Hi There,
I’m having problems connecting my XBMC to Firefly using DAAP
Ettercap tells me,
The Xbox sends;
GET /server-info HTTP/1.1.
Host: 192.168.2.4.
Client-DAAP-Version: 3.0.
User-Agent: iTunes/4.6 (Windows; N).
Accept-Language: en-us, en;q=5.0.
Client-DAAP-Access-Index: 2.
.
Firefly returns with;
HTTP/1.1 401 Unauthorized.
HTTP/1.1 401 Unauthorized.
Content-Length: 2.
WWW-Authenticate: Basic realm="webserver".
Content-Language: en_us.
Content-Type: text/html.
Server: mt-daapd/svn-1586.
Connection: keep-alive.
Date: Thu, 13 Sep 2007 09:59:36 GMT.
.
.
Content-Length: 2.
WWW-Authenticate: Basic realm="webserver".
Content-Language: en_us.
Content-Type: text/html.
Server: mt-daapd/svn-1586.
Connection: keep-alive.
Date: Thu, 13 Sep 2007 09:59:36 GMT.
.
.
As far as I’m aware there is no password set in the configuration, and I have not modified anything to with any httpd server on my machine.
I have uninstalled and reinstalled as a different user and I get the same result.
Heres some log,
2007-09-13 11:27:17 (a000ed88): Firefly Version svn-1586: Starting with debuglevel 8
2007-09-13 11:27:17 (a000ed88): Warning: Could not load plugins
2007-09-13 11:27:17 (a000ed88): Starting rendezvous daemon
2007-09-13 11:27:17 (a000ed88): Starting signal handler
2007-09-13 11:27:17 (a000ed88): Initializing database
2007-09-13 11:27:18 (a000ed88): Starting web server from /Library/PreferencePanes/Firefly.prefPane/Contents/Resources/Firefly Helper.app/Contents/Resources/Server/admin-root on port 3689
2007-09-13 11:27:18 (a000ed88): Listening on port 3689
2007-09-13 11:27:18 (a000ed88): Starting server thread
2007-09-13 11:27:18 (a000ed88): Registering rendezvous names
2007-09-13 11:27:18 (a000ed88): Serving 3380 songs. Startup complete in 1 seconds
2007-09-13 11:27:18 (a000ed88): Rescanning database
2007-09-13 11:27:19 (a000ed88): Found music file: Exit Stage Right.aiff
2007-09-13 11:27:19 (a000ed88): File /Users/Shared/iTunes Library/Badly Drawn Boy/About A Boy OST/Exit Stage Right.aiff is not an AIFF file
2007-09-13 11:27:19 (a000ed88): Skipping /Users/Shared/iTunes Library/Badly Drawn Boy/About A Boy OST/Exit Stage Right.aiff - scan failed
2007-09-13 11:27:33 (a000ed88): Starting playlist scan
2007-09-13 11:27:33 (a000ed88): Updating playlists
2007-09-13 11:27:33 (a000ed88): Scanned 3380 songs (was 3380) in 15 seconds
2007-09-13 11:27:53 (01806a00): Request: GET /server-info HTTP/1.1
2007-09-13 11:27:53 (01806a00): Thread 0: Entering ws_returnerror (401: Unauthorized)
2007-09-13 11:27:53 (01806a00): Thread 0: could not read: Unknown error: 0
And my config, (lines containing # removed for this post)
[general]
web_root = /Library/PreferencePanes/Firefly.prefPane/Contents/Resources/Firefly Helper.app/Contents/Resources/Server/admin-root
port = 3689
db_type = sqlite
db_parms = /Users/piers/Library/Application Support/Firefly
mp3_dir = /Users/Shared/iTunes Library
servername = iMac Music
runas = nobody
playlist = /Users/piers/Library/Application Support/Firefly/firefly.playlist
extensions = .mp3,.m4a,.m4p,.aiff
ssc_codectypes = alac
ssc_prog = ./mt-daapd-ssc.sh
logfile = /Users/piers/Library/Application Support/Firefly/firefly.log
truncate = 1
rescan_interval = 300
scan_type = 2
compress = 0
debuglevel = 8
always_scan = 0
[scanning]
process_playlists = 1
process_itunes = 1
ignore_appledouble = 1
process_m3u = 0
case_sensitive = 1
ignore_dotfiles = 0
skip_first = 0
concat_compilations = 0
follow_symlinks = 1
[scan]
[daap]
correct_order = 1
empty_strings = 0
supports_update = 1
supports_browse = 1
[plugins]
plugin_dir = /Library/PreferencePanes/Firefly.prefPane/Contents/Resources/Firefly Helper.app/Contents/Resources/Server/plugins
plugins = ssc-script.so,rsp.so
Am I missing anything blindingly obvious? Or is it just not to be?
Please help![/code]
14/09/2007 at 3:27 AM #12515rpeddeParticipant@lxd wrote:
Hi There,
I’m having problems connecting my XBMC to Firefly using DAAP
Can you post a -d9 log around the request and the reponse?
14/09/2007 at 8:55 AM #12516lxdParticipantThanks for having a look,
I don’t have access to XBox at the moment, but if I simulate it using netcat I get,
2007-09-14 09:50:00 (a000ed88): Found /Users/Shared/iTunes Library/Zombie Nation/Leichenschmaus/01 Kernkraft 400.mp3
2007-09-14 09:50:00 (a000ed88): Executing: select * from songs where path='/Users/Shared/iTunes Library/Zombie Nation/Leichenschmaus/01 Kernkraft 400.mp3' and idx=0
2007-09-14 09:50:00 (a000ed88): Executing: INSERT INTO updated VALUES (3380)
2007-09-14 09:50:00 (a000ed88): Rows: 1
2007-09-14 09:50:00 (a000ed88): Skipping file, not modified
2007-09-14 09:50:00 (a000ed88): Ending song scan
2007-09-14 09:50:00 (a000ed88): Executing: pragma synchronous = off
2007-09-14 09:50:00 (a000ed88): Rows: 0
2007-09-14 09:50:00 (a000ed88): Executing: begin transaction
2007-09-14 09:50:00 (a000ed88): Rows: 0
2007-09-14 09:50:00 (a000ed88): Processing playlists
2007-09-14 09:50:00 (a000ed88): Starting playlist scan
2007-09-14 09:50:00 (a000ed88): Finished playlist loop
2007-09-14 09:50:00 (a000ed88): Executing: end transaction
2007-09-14 09:50:00 (a000ed88): Rows: 0
2007-09-14 09:50:00 (a000ed88): Executing: pragma synchronous=normal
2007-09-14 09:50:00 (a000ed88): Rows: 0
2007-09-14 09:50:00 (a000ed88): Executing: delete from songs where id not in (select id from updated)
2007-09-14 09:50:00 (a000ed88): Rows: 0
2007-09-14 09:50:00 (a000ed88): Executing: update songs set force_update=0
2007-09-14 09:50:01 (a000ed88): Rows: 3384
2007-09-14 09:50:01 (a000ed88): Executing: drop table updated
2007-09-14 09:50:02 (a000ed88): Rows: 0
2007-09-14 09:50:02 (a000ed88): Executing: delete from playlists where ((type=2) OR (type=3)) and id not in (select id from plupdated)
2007-09-14 09:50:03 (a000ed88): Rows: 0
2007-09-14 09:50:03 (a000ed88): Executing: delete from playlistitems where playlistid not in (select distinct id from playlists)
2007-09-14 09:50:03 (a000ed88): Rows: 0
2007-09-14 09:50:03 (a000ed88): Executing: drop table plupdated
2007-09-14 09:50:03 (a000ed88): Rows: 0
2007-09-14 09:50:03 (a000ed88): Updating playlists
2007-09-14 09:50:03 (a000ed88): Executing: select count(*) from playlists
2007-09-14 09:50:03 (a000ed88): Executing: select * from playlists
2007-09-14 09:50:03 (a000ed88): Executing: update playlists set items=(select count(*) from songs where 1) where id=1
2007-09-14 09:50:03 (a000ed88): Rows: 1
2007-09-14 09:50:03 (a000ed88): Executing: select count(*) FROM songs
2007-09-14 09:50:03 (a000ed88): Scanned 3384 songs (was 3384) in 22 seconds
2007-09-14 09:50:12 (01806a00): Thread 0: Entering ws_dispatcher (Connection from 127.0.0.1)
2007-09-14 09:50:14 (01806a00): Thread 0: got request
2007-09-14 09:50:14 (01806a00): Request: GET /server-info HTTP/1.1.
2007-09-14 09:50:14 (01806a00): Thread 0: Read: Host: 192.168.2.4.
2007-09-14 09:50:14 (01806a00): Thread 0: Adding header *Host=192.168.2.4. *
2007-09-14 09:50:14 (01806a00): Added *Host=192.168.2.4. *
2007-09-14 09:50:14 (01806a00): Thread 0: Read: Client-DAAP-Version: 3.0.
2007-09-14 09:50:14 (01806a00): Thread 0: Adding header *Client-DAAP-Version=3.0. *
2007-09-14 09:50:14 (01806a00): Added *Client-DAAP-Version=3.0. *
2007-09-14 09:50:14 (01806a00): Thread 0: Read: User-Agent: iTunes/4.6 (Windows; N).
2007-09-14 09:50:14 (01806a00): Thread 0: Adding header *User-Agent=iTunes/4.6 (Windows; N). *
2007-09-14 09:50:14 (01806a00): Added *User-Agent=iTunes/4.6 (Windows; N). *
2007-09-14 09:50:14 (01806a00): Thread 0: Read: Accept-Language: en-us, en;q=5.0.
2007-09-14 09:50:14 (01806a00): Thread 0: Adding header *Accept-Language=en-us, en;q=5.0. *
2007-09-14 09:50:14 (01806a00): Added *Accept-Language=en-us, en;q=5.0. *
2007-09-14 09:50:14 (01806a00): Thread 0: Read: Client-DAAP-Access-Index: 2.
2007-09-14 09:50:14 (01806a00): Thread 0: Adding header *Client-DAAP-Access-Index=2. *
2007-09-14 09:50:14 (01806a00): Added *Client-DAAP-Access-Index=2. *
2007-09-14 09:50:18 (01806a00): Thread 0: Read: .
2007-09-14 09:50:19 (01800e00): Received a message from daap server
2007-09-14 09:50:19 (a000ed88): Rendezvous socket closed (daap server crashed?) Aborting.
2007-09-14 09:50:19: Aborting
Then Firefly stops!!
Also worth noting is that the web admin says that Bonjour is not running, I’m not sure if this is correct or not. Is there an easy test to check this out?
18/09/2007 at 6:25 PM #12517lxdParticipantI’ve just tried Build 1586 and that seems to work OK, so I guess it’s just a weird bug on system? 😯
EDIT : Ok, so this is weird, the file I downloaded originally was supposed to be build 1659, http://nightlies.mt-daapd.org/dl.php?FILE=mt-daapd-svn-1659.tar.gz
I hadn’t checked the filename version number with the logs version number and am now a little confused.Was this just a duff build? or have I not uninstalled properly? I’ve removed any excess files in the my ~ Library and Application Support aswell as the / Library
To recap… http://nightlies.mt-daapd.org/dl.php?FILE=mt-daapd-svn-1659.tar.gz doesnt work on my system and reports the wrong version in the logs
http://nightlies.mt-daapd.org/dl.php?FILE=Firefly-svn-1586.dmg does seem to work, although I havn’t had a proper chance to test it. Let me know if you want me to try any other builds.
19/09/2007 at 6:00 AM #12518rpeddeParticipant@lxd wrote:
I’ve just tried Build 1586 and that seems to work OK, so I guess it’s just a weird bug on system? 😯
EDIT : Ok, so this is weird, the file I downloaded originally was supposed to be build 1659, http://nightlies.mt-daapd.org/dl.php?FILE=mt-daapd-svn-1659.tar.gz
I hadn’t checked the filename version number with the logs version number and am now a little confused.Was this just a duff build? or have I not uninstalled properly? I’ve removed any excess files in the my ~ Library and Application Support aswell as the / Library
To recap… http://nightlies.mt-daapd.org/dl.php?FILE=mt-daapd-svn-1659.tar.gz doesnt work on my system and reports the wrong version in the logs
http://nightlies.mt-daapd.org/dl.php?FILE=Firefly-svn-1586.dmg does seem to work, although I havn’t had a proper chance to test it. Let me know if you want me to try any other builds.
Ya, this is second report of bad osx package, but I won’t be able to check it until Friday.
-
AuthorPosts
- The forum ‘Setup Issues’ is closed to new topics and replies.