MiniDLNA does not support RegisterDevice SOAP action
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
minidlna (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
MiniDLNA fails to support older UPnP streaming devices which use the RegisterDevice SOAP action. The result is a failure of the device to register itself, and therefore to connect to the MiniDLNA server.
Bug tested on Ubuntu 13.04 AMD64, both with the latest in-repository release and 1.1.0 direct from SourceForge.
To reproduce, connect a Netgear MP101 Music Streamer to a network with a MiniDLNA server, choose the MiniDLNA server from the server list which appears on the MP101 screen at start-up. After a few seconds, "Unable to connect to server" will appear along with the following entry in MiniDLNA's debug log:
[2013/09/27 09:45:40] minidlna.c:1301: debug: HTTP connection from 192.168.0.103:1064
[2013/09/27 09:45:40] upnphttp.c:833: debug: HTTP REQUEST: POST /ctl/X_
Host: 192.168.0.11
CONTENT-LENGTH: 10396
Content-Type: text/xml;
SOAPACTION: "urn:microsoft.
<s:Envelope s:encodingStyle="http://
<s:Body>
<u:RegisterDevice xmlns:u=
<RegistrationRe
[2013/09/27 09:45:40] upnphttp.c:613: debug: SOAPAction: urn:microsoft.
[2013/09/27 09:45:40] upnpsoap.c:1821: debug: SoapMethod: RegisterDevice
[2013/09/27 09:45:40] upnpsoap.c:1833: warn: SoapMethod: Unknown: RegisterDevice
[2013/09/27 09:45:40] upnpsoap.c:1881: warn: Returning UPnPError 401: Invalid Action
[2013/09/27 09:45:40] upnphttp.c:1157: debug: HTTP RESPONSE: HTTP/1.1 500 Internal Server Error
Content-Type: text/xml; charset="utf-8"
Connection: close
Content-Length: 398
Server: 3.2.0-3-amd64 DLNADOC/1.50 UPnP/1.0 MiniDLNA/1.1.0
Date: Fri, 27 Sep 2013 08:45:40 GMT
EXT:
<s:Envelope xmlns:s="http://
The correct response, as far as I'm aware, should be to accept the registration and return an HTTP 200 response, rather than 500.
Changed in minidlna (Ubuntu): | |
status: | Confirmed → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.