You are here: Home » Topic » Problem connection from Roku SoundBridge

Problem connection from Roku SoundBridge

This topic contains 0 replies, has 0 voices, and was last updated by  mlwh69 9 years, 6 months ago.

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

    mlwh69

    Hi,

    I’m using mt-daapd 0.2.4.2 and I’m trying to access it from a Roku SoundBridge. SoundBridge shows the server. When I select it, it prompts for a password. When I type in the password I configured in /etc/mt-daapd.conf, I get a 401 unauthorized. Any idea why that is? I attached a debug trace below.

    Thx…


    Thread 2: Entering ws_dispatcher (Connection from 192.168.0.10)
    Thread 2: got request
    Request: GET /rsp/info HTTP/1.0
    Thread 2: Read: User-Agent: Roku SoundBridge/3.0
    Thread 2: Adding header *User-Agent=Roku SoundBridge/3.0*
    Added *User-Agent=Roku SoundBridge/3.0*
    Thread 2: Read: Host: 192.168.0.11:3689
    Thread 2: Adding header *Host=192.168.0.11:3689*
    Added *Host=192.168.0.11:3689*
    Thread 2: Read: Accept: */*
    Thread 2: Adding header *Accept=*/**
    Added *Accept=*/**
    Thread 2: Read: Pragma: no-cache
    Thread 2: Adding header *Pragma=no-cache*
    Added *Pragma=no-cache*
    Thread 2: Read: accept-encoding: gzip
    Thread 2: Adding header *accept-encoding=gzip*
    Added *accept-encoding=gzip*
    Thread 2: Read: accept-codecs: wma,mpeg,wav,mp4a,alac
    Thread 2: Adding header *accept-codecs=wma,mpeg,wav,mp4a,alac*
    Added *accept-codecs=wma,mpeg,wav,mp4a,alac*
    Thread 2: Read: rsp-version: 0.1
    Thread 2: Adding header *rsp-version=0.1*
    Added *rsp-version=0.1*
    Thread 2: Read: transcode-codecs: wav,mp3
    Thread 2: Adding header *transcode-codecs=wav,mp3*
    Added *transcode-codecs=wav,mp3*
    Thread 2: Read:
    Thread 2: Headers parsed!
    Checking to see if connection matches keep-alive
    Thread 2: Connection type HTTP/1.0
    : Connection: non-persist
    Thread 2: Original URI: /rsp/info
    Thread 2: Translated URI: /rsp/info
    Thread 2: Preparing to find handler
    Thread 2: URI Match!
    Thread 2: Time is 1210902536 seconds after epoch
    Thread 2: Setting time header
    Added *Date=Fri, 16 May 2008 01:48:56 GMT*
    Added *Connection=close*
    Added *Server=mt-daapd/0.2.4.2*
    Added *Content-Type=text/html*
    Added *Content-Language=en_us*
    Thread 2: Using non-default handler
    Added *WWW-Authenticate=Basic realm="webserver"*
    Thread 2: Entering ws_returnerror (401: Unauthorized)
    Updating Connection from close to close
    Emitting reponse header WWW-Authenticate: Basic realm="webserver"
    Emitting reponse header Content-Language: en_us
    Emitting reponse header Content-Type: text/html
    Emitting reponse header Server: mt-daapd/0.2.4.2
    Emitting reponse header Connection: close
    Emitting reponse header Date: Fri, 16 May 2008 01:48:56 GMT
    Entering config_set_status
    Exiting config_set_status
    Thread 2: Terminating
    Thread 2: Freeing request headers
    Thread 2: Freeing response headers
    Thread 2: Freeing request vars
    Thread 2: Closing fd
    With thread 2 exiting, 0 are still running
    Thread 3: Entering ws_dispatcher (Connection from 192.168.0.10)
    Thread 3: got request
    Request: GET /rsp/info HTTP/1.0
    Thread 3: Read: User-Agent: Roku SoundBridge/3.0
    Thread 3: Adding header *User-Agent=Roku SoundBridge/3.0*
    Added *User-Agent=Roku SoundBridge/3.0*
    Thread 3: Read: Host: 192.168.0.11:3689
    Thread 3: Adding header *Host=192.168.0.11:3689*
    Added *Host=192.168.0.11:3689*
    Thread 3: Read: Accept: */*
    Thread 3: Adding header *Accept=*/**
    Added *Accept=*/**
    Thread 3: Read: Authorization: Basic U291bmRCcmlkZ2U6c2VjcmV0
    Thread 3: Adding header *Authorization=Basic U291bmRCcmlkZ2U6c2VjcmV0*
    Added *Authorization=Basic U291bmRCcmlkZ2U6c2VjcmV0*
    Thread 3: Read: Pragma: no-cache
    Thread 3: Adding header *Pragma=no-cache*
    Added *Pragma=no-cache*
    Thread 3: Read: accept-encoding: gzip
    Thread 3: Adding header *accept-encoding=gzip*
    Added *accept-encoding=gzip*
    Thread 3: Read: accept-codecs: wma,mpeg,wav,mp4a,alac
    Thread 3: Adding header *accept-codecs=wma,mpeg,wav,mp4a,alac*
    Added *accept-codecs=wma,mpeg,wav,mp4a,alac*
    Thread 3: Read: rsp-version: 0.1
    Thread 3: Adding header *rsp-version=0.1*
    Added *rsp-version=0.1*
    Thread 3: Read: transcode-codecs: wav,mp3
    Thread 3: Adding header *transcode-codecs=wav,mp3*
    Added *transcode-codecs=wav,mp3*
    Thread 3: Read:
    Thread 3: Headers parsed!
    Checking to see if connection matches keep-alive
    Thread 3: Connection type HTTP/1.0
    : Connection: non-persist
    Thread 3: Original URI: /rsp/info
    Thread 3: Translated URI: /rsp/info
    Thread 3: Preparing to find handler
    Thread 3: URI Match!
    Thread 3: Time is 1210902585 seconds after epoch
    Thread 3: Setting time header
    Added *Date=Fri, 16 May 2008 01:49:45 GMT*
    Added *Connection=close*
    Added *Server=mt-daapd/0.2.4.2*
    Added *Content-Type=text/html*
    Added *Content-Language=en_us*
    Thread 3: Using non-default handler
    Preparing to decode U291bmRCcmlkZ2U6c2VjcmV0
    Decoded SoundBridge:secret
    Decoded user=SoundBridge, pw=secret
    Added *HTTP_USER=SoundBridge*
    Added *HTTP_PASSWD=secret*
    Added *WWW-Authenticate=Basic realm="webserver"*
    Thread 3: Entering ws_returnerror (401: Unauthorized)
    Updating Connection from close to close
    Emitting reponse header WWW-Authenticate: Basic realm="webserver"
    Emitting reponse header Content-Language: en_us
    Emitting reponse header Content-Type: text/html
    Emitting reponse header Server: mt-daapd/0.2.4.2
    Emitting reponse header Connection: close
    Emitting reponse header Date: Fri, 16 May 2008 01:49:45 GMT
    Entering config_set_status
    Exiting config_set_status
    Thread 3: Terminating
    Thread 3: Freeing request headers
    Thread 3: Freeing response headers
    Thread 3: Freeing request vars
    Thread 3: Closing fd
    With thread 3 exiting, 0 are still running
    Got INT signal. Notifying daap server.
    Stopping gracefully
    Stopping rendezvous daemon
    Stopping signal handler
    Freeing runas
    Freeing web_root
    Freeing admin_pw
    Freeing mp3_dir
    Freeing db_dir
    Freeing servername
    Freeing extensions
    Freeing password
    Freeing logfile
    Closing database
    Done!
Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.