Reply To: FirePlay Flash client for FireFly

#13716
Anonymous
Inactive

Looks like I might have a problem with the server.

@sonichouse wrote:

Does the following work in your browser ?

http://YOURFIREFLYSERVER:3689/server-info?output=xml

This returns soemthing but not in xml

msrv   ‹mstt      Èmpro      apro      minm   MediaServer Musicmsau    mstm     msex    msix    msbr    msqy    msup    msdc      

I turned on the log and watched both this request and iTunes request. This request is http and iTunes is daap. Other than that the output seems to be the same.

BTW, iTunes can see and play from this server.

Here is the log:


2007-12-06 18:34:22: Thread 53: parsing GET args
2007-12-06 18:34:22: Thread 53: Entering ws_getgetvars (output=xml)
2007-12-06 18:34:22: Thread 53: Adding arg output = xml
2007-12-06 18:34:22: Added *output=xml*
2007-12-06 18:34:22: Thread 53: Done parsing GET/POST args!
2007-12-06 18:34:22: Thread 53: Original URI: /server-info
2007-12-06 18:34:22: Thread 53: Translated URI: /server-info
2007-12-06 18:34:22: Thread 53: Preparing to find handler
2007-12-06 18:34:22: Thread 53: URI Match!
2007-12-06 18:34:22: Thread 53: Time is 1196994862 seconds after epoch
2007-12-06 18:34:22: Thread 53: Setting time header
2007-12-06 18:34:22: Added *Date=Fri, 7 Dec 2007 02:34:22 GMT*
2007-12-06 18:34:22: Thread 53: Using non-default handler
2007-12-06 18:34:22: Added *Accept-Ranges=bytes*
2007-12-06 18:34:22: Added *DAAP-Server=mt-daapd/0.2.4.1*
2007-12-06 18:34:22: Added *Content-Type=application/x-dmap-tagged*
2007-12-06 18:34:22: Entering config_set_status
2007-12-06 18:34:22: Exiting config_set_status
2007-12-06 18:34:22: Preparing to send server-info for client ver (null)
2007-12-06 18:34:22: Satisfying request
2007-12-06 18:34:22: Serializing
2007-12-06 18:34:22: Added *Content-Length=147*
2007-12-06 18:34:22: Emitting headers
2007-12-06 18:34:22: Emitting reponse header Content-Length: 147
2007-12-06 18:34:22: Emitting reponse header Content-Type: application/x-dmap-tagged
2007-12-06 18:34:22: Emitting reponse header DAAP-Server: mt-daapd/0.2.4.1
2007-12-06 18:34:22: Emitting reponse header Accept-Ranges: bytes
2007-12-06 18:34:22: Emitting reponse header Date: Fri, 7 Dec 2007 02:34:22 GMT
2007-12-06 18:34:22: Sent 147 bytes in 0 seconds
2007-12-06 18:34:22: Done, freeing
2007-12-06 18:34:22: Finished serving DAAP response
2007-12-06 18:34:22: Entering config_set_status
2007-12-06 18:34:22: Exiting config_set_status
2007-12-06 18:34:22: Thread 53: Terminating
2007-12-06 18:34:22: Thread 53: Freeing request headers
2007-12-06 18:34:22: Thread 53: Freeing response headers
2007-12-06 18:34:22: Thread 53: Freeing request vars

@Bo Mellberg wrote:

You can also try the corresponding rsp call, which is what FireFly is using:

http://YOURFIREFLYSERVER:3689/rsp/info

This one returns a “404 not found” on the browser. Here is the log


2007-12-06 18:38:09: Thread 54: Original URI: /rsp/info
2007-12-06 18:38:09: Thread 54: Translated URI: /rsp/info
2007-12-06 18:38:09: Thread 54: Preparing to find handler
2007-12-06 18:38:09: Thread 54: URI Match!
2007-12-06 18:38:09: Thread 54: Time is 1196995089 seconds after epoch
2007-12-06 18:38:09: Thread 54: Setting time header
2007-12-06 18:38:09: Added *Date=Fri, 7 Dec 2007 02:38:09 GMT*
2007-12-06 18:38:09: Added *Connection=keep-alive*
2007-12-06 18:38:09: Added *Server=mt-daapd/0.2.4.1*
2007-12-06 18:38:09: Added *Content-Type=text/html*
2007-12-06 18:38:09: Added *Content-Language=en_us*
2007-12-06 18:38:09: Thread 54: Using non-default handler
2007-12-06 18:38:09: Preparing to decode YWRtaW46YWRtaW4xMjM=
2007-12-06 18:38:09: Decoded xxx:xxx
2007-12-06 18:38:09: Decoded user=xxx, pw=xxx
2007-12-06 18:38:09: Added *HTTP_USER=xxx*
2007-12-06 18:38:09: Added *HTTP_PASSWD=xxx*
2007-12-06 18:38:09: Entering config_handler
2007-12-06 18:38:09: Entering config_set_status
2007-12-06 18:38:09: Exiting config_set_status
2007-12-06 18:38:09: Updating Connection from keep-alive to close
2007-12-06 18:38:09: Cannot resolve /opt/share/mt-daapd/admin-root//rsp/info
2007-12-06 18:38:09: Thread 54: Entering ws_returnerror (404: Not found)
2007-12-06 18:38:09: Updating Connection from close to close
2007-12-06 18:38:09: Emitting reponse header Content-Language: en_us
2007-12-06 18:38:09: Emitting reponse header Content-Type: text/html
2007-12-06 18:38:09: Emitting reponse header Server: mt-daapd/0.2.4.1
2007-12-06 18:38:09: Emitting reponse header Connection: close
2007-12-06 18:38:09: Emitting reponse header Date: Fri, 7 Dec 2007 02:38:09 GMT
2007-12-06 18:38:09: Entering config_set_status
2007-12-06 18:38:09: Exiting config_set_status
2007-12-06 18:38:09: Entering config_set_status
2007-12-06 18:38:09: Exiting config_set_status
2007-12-06 18:38:09: Thread 54: Terminating
2007-12-06 18:38:09: Thread 54: Freeing request headers
2007-12-06 18:38:09: Thread 54: Freeing response headers
2007-12-06 18:38:09: Thread 54: Freeing request vars
2007-12-06 18:38:09: Thread 54: Closing fd
2007-12-06 18:38:09: With thread 54 exiting, 1 are still running

This looks like a firefly server problem. I am running mt-daapd 0.2.4.1. Any ideas?