Homegear Sonos Modul: Error in file SonosPeer.cpp line 267

Hi,

im Log stehen viele Einträge von dieser Art:

10/05/16 14:34:04.795 Module Sonos: Error in file SonosPeer.cpp line 267 in function void Sonos::SonosPeer::worker(): Unable to read from HTTP server "192.168.10.107": Response code was: 500 10/05/16 14:35:07.762 Module Sonos: Warning: Error in UPnP request: Unable to read from HTTP server "192.168.10.107": Response code was: 500

Hat das was zu bedeuten?:wink:

Vermutlich kannst du das ignorieren. Ich habe mal das Logging verbessert, das gibt uns Aufschluss darüber, welches Paket nicht verarbeitet werden konnte. Das verbesserte Logging wird in der nächsten Nightly-Version enthalten sein. Könntest du mir damit noch einmal die entsprechenden Fehlermeldungen posten?

Hier die Fehlermeldungen, die in 0.7.0-1411 kommen.
Ich nutze folgende Sonos-Komponenten:
1x Playbar (peer id: 2)
1x Sub (gekoppelt mit Playbar) (peer id: 3)
1x Play3 (peer id: 4)
2x Play1 (peer ids: 1, 5)

10/14/16 11:45:59.471 Module Sonos: Event server "My-Sonos-1234": Info: Connection from 192.168.10.110:35086 accepted. Client number: 14
10/14/16 11:45:59.472 Module Sonos: Info: CURRENT_TRACK_METADATA of peer 4 with serial number 000E58737A70:1 was set.
10/14/16 11:45:59.472 Module Sonos: Info: CURRENT_TRACK_STREAM_CONTENT of peer 4 with serial number 000E58737A70:1 was set.
10/14/16 11:46:07.586 Error in file Sockets/Ssdp.cpp line 349 in function void BaseLib::Ssdp::getDeviceInfo(std::set<std::basic_string<char> >&, std::vector<BaseLib::SsdpInfo>&): Unable to read from HTTP server "192.168.10.104" (2): Buffer overflow.
10/14/16 11:46:07.591 Module Sonos: Info: CURRENT_TRACK_METADATA of peer 1 with serial number B8E937807D46:1 was set.
10/14/16 11:46:07.606 Module Sonos: Event server "My-Sonos-1234": Info: Connection from 192.168.10.104:52442 accepted. Client number: 20
10/14/16 11:46:07.612 Module Sonos: Event server "My-Sonos-1234": Info: Connection from 192.168.10.104:52443 accepted. Client number: 22
10/14/16 11:46:07.624 Module Sonos: Event server "My-Sonos-1234": Info: Connection from 192.168.10.104:52444 accepted. Client number: 25
10/14/16 11:46:07.651 Module Sonos: Info: CURRENT_TRACK_METADATA of peer 1 with serial number B8E937807D46:1 was set.
10/14/16 11:46:07.655 Module Sonos: Event server "My-Sonos-1234": Info: Connection from 192.168.10.104:52445 accepted. Client number: 27
10/14/16 11:46:07.663 Module Sonos: Event server "My-Sonos-1234": Info: Connection from 192.168.10.104:52446 accepted. Client number: 29
10/14/16 11:46:07.665 Module Sonos: Event server "My-Sonos-1234": Info: Connection from 192.168.10.104:52447 accepted. Client number: 30
10/14/16 11:46:07.673 Module Sonos: Event server "My-Sonos-1234": Info: Connection from 192.168.10.104:52448 accepted. Client number: 31
10/14/16 11:46:08.278 Module Sonos: Event server "My-Sonos-1234": Info: Connection from 192.168.10.105:50730 accepted. Client number: 36
10/14/16 11:46:08.284 Module Sonos: Event server "My-Sonos-1234": Info: Connection from 192.168.10.105:50731 accepted. Client number: 38
10/14/16 11:46:08.288 Module Sonos: Event server "My-Sonos-1234": Info: Connection from 192.168.10.105:50732 accepted. Client number: 39
10/14/16 11:46:08.288 Module Sonos: Info: CURRENT_TRACK_METADATA of peer 2 with serial number 000E58B1B4E7:1 was set.
10/14/16 11:46:08.294 Module Sonos: Event server "My-Sonos-1234": Info: Connection from 192.168.10.105:50733 accepted. Client number: 41
10/14/16 11:46:08.299 Module Sonos: Event server "My-Sonos-1234": Info: Connection from 192.168.10.105:50734 accepted. Client number: 43
10/14/16 11:46:08.305 Module Sonos: Event server "My-Sonos-1234": Info: Connection from 192.168.10.105:50735 accepted. Client number: 45
10/14/16 11:46:08.357 Module Sonos: Event server "My-Sonos-1234": Info: Connection from 192.168.10.105:50736 accepted. Client number: 47
10/14/16 11:46:08.961 Module Sonos: Warning: Error in UPnP request: Unable to read from HTTP server "192.168.10.107": Response code was: 500
10/14/16 11:46:08.961 Module Sonos: Request was:
POST /MediaRenderer/AVTransport/Control HTTP/1.1
CONNECTION: close
HOST: 192.168.10.107:1400
CONTENT-LENGTH: 272
CONTENT-TYPE: text/xml; charset="utf-8"
SOAPACTION: "urn:schemas-upnp-org:service:AVTransport:1#GetPositionInfo"

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:GetPositionInfo xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><InstanceID>0</InstanceID></u:GetPositionInfo></s:Body></s:Envelope>
10/14/16 11:46:08.961 Info: Peer 3 is unreachable.
10/14/16 11:46:08.967 Module Sonos: Warning: Error in UPnP request: Unable to read from HTTP server "192.168.10.107": Response code was: 500
10/14/16 11:46:08.967 Module Sonos: Request was:
POST /MediaRenderer/AVTransport/Control HTTP/1.1
CONNECTION: close
HOST: 192.168.10.107:1400
CONTENT-LENGTH: 266
CONTENT-TYPE: text/xml; charset="utf-8"
SOAPACTION: "urn:schemas-upnp-org:service:AVTransport:1#GetMediaInfo"

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:GetMediaInfo xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><InstanceID>0</InstanceID></u:GetMediaInfo></s:Body></s:Envelope>
10/14/16 11:46:08.981 Module Sonos: Event server "My-Sonos-1234": Info: Connection from 192.168.10.107:51037 accepted. Client number: 51
10/14/16 11:46:08.989 Module Sonos: Warning: Error calling SUBSCRIBE (1) on Sonos device: Unable to read from HTTP server "192.168.10.107": Response code was: 500
10/14/16 11:46:09.056 Module Sonos: Warning: Error calling SUBSCRIBE (2) on Sonos device: Unable to read from HTTP server "192.168.10.107": Response code was: 500
10/14/16 11:46:09.062 Module Sonos: Warning: Error calling SUBSCRIBE (3) on Sonos device: Unable to read from HTTP server "192.168.10.107": Response code was: 500
10/14/16 11:46:09.081 Module Sonos: Warning: Error calling SUBSCRIBE (6) on Sonos device: Unable to read from HTTP server "192.168.10.107": Response code was: 500
10/14/16 11:46:09.087 Module Sonos: Event server "My-Sonos-1234": Info: Connection from 192.168.10.107:51038 accepted. Client number: 58
10/14/16 11:46:09.098 Module Sonos: Event server "My-Sonos-1234": Info: Connection from 192.168.10.107:51039 accepted. Client number: 59
10/14/16 11:46:09.686 Module Sonos: Info: CURRENT_TRACK_RELATIVE_TIME of peer 4 with serial number 000E58737A70:1 was set.
10/14/16 11:46:09.686 Module Sonos: Info: CURRENT_TRACK_METADATA of peer 4 with serial number 000E58737A70:1 was set.
10/14/16 11:46:09.773 Module Sonos: Event server "My-Sonos-1234": Info: Connection from 192.168.10.110:35087 accepted. Client number: 66
1

Hallo @nanosonde,

einen Fehler hast du da aufgedeckt: “Unable to read from HTTP server “192.168.10.104” (2): Buffer overflow.” Den habe ich behoben.

Das hat aber nichts mit den Sonos-Fehlermeldungen zu tun. Welche Sonos-Box hat die IP “192.168.10.107”? Ist diese in einer Gruppe bzw. Stereogruppe? Kann die Box über Homegear und App ansonsten fehlerfrei gesteuert werden?

Viele Grüße

Sathya