coherence-project / Coherence

DLNA/UPnP Media Server and Framework for the Digital Living
MIT License
171 stars 52 forks source link

Not working with Samsung ES5500 smart tv #2

Open nfgb opened 10 years ago

nfgb commented 10 years ago

Although having been report to work with some samsung smart tv's, I haven't been able to make coherence work with a Samsung Smart TV (ES5500). Coherence is detected on Samsung Link, however it disconnects shortly after the device is selected on smart tv.

Here's an excerpt of the log:

INFO ssdp Mar 08 00:42:20  send discovery response delayed by 10s for uuid:4dc38b41-f9af-4997-beb4-257dfb0e7016::urn:schemas-upnp-org:device:MediaServer:1 to ('192.168.0.11', 24234) (coherence/upnp/core/ssdp.py:175)
INFO soap Mar 08 00:42:22  soap_request:{'content-length': '291', 'soapaction': '"urn:schemas-upnp-org:service:ContentDirectory:1#X_GetFeatureList"', 'connection': 'close', 'accept': '*/*', 'user-agent': 'SEC_HHP_[TV]UE37ES5500/1.0 DLNADOC/1.50', 'host': '192.168.0.10:30020', 'content-type': 'text/xml; charset="utf-8"'} (coherence/upnp/core/soap_service.py:95)
INFO soap Mar 08 00:42:22  call'X_GetFeatureList' {'soap_methodName': 'X_GetFeatureList'} (coherence/upnp/core/soap_service.py:156)
INFO soap Mar 08 00:42:22  _gotError<twisted.python.failure.Failure <class 'coherence.upnp.core.soap_service.errorCode'>> errorCode() (coherence/upnp/core/soap_service.py:70)
INFO soap Mar 08 00:42:22  soap_request:{'content-length': '291', 'soapaction': '"urn:schemas-upnp-org:service:ContentDirectory:1#X_GetFeatureList"', 'connection': 'close', 'accept': '*/*', 'user-agent': 'SEC_HHP_[TV]UE37ES5500/1.0 DLNADOC/1.50', 'host': '192.168.0.10:30020', 'content-type': 'text/xml; charset="utf-8"'} (coherence/upnp/core/soap_service.py:95)
INFO soap Mar 08 00:42:22  call'X_GetFeatureList' {'soap_methodName': 'X_GetFeatureList'} (coherence/upnp/core/soap_service.py:156)

[edited by htgoebel]

screwt commented 9 years ago

Using my Samsung 40UE6030

Coherence==0.6.6.2 Twisted==14.0.2 configobj==5.0.6 gdata==2.0.18 six==1.8.0 wsgiref==0.1.2 zope.interface==4.1.1

i have :

INFO  soap                        Dec 26 14:29:58  soap_request:{'content-length': '291', 'soapaction': '"urn:schemas-upnp-org:service:Content Directory:1#X_GetFeatureList"', 'connection': 'close', 'accept': '*/*', 'user-agent': 'SEC_HHP_[TV]UE40EH6030/1.0 DLNADOC/1.50', 'host': '192.168.0.10:30020', 'content-type': 'text/xml; charset="utf-8"'} (coherence/upnp/core/soap_service.py:95)
INFO  soap                        Dec 26 14:29:58  call'X_GetFeatureList' {'soap_methodName': 'X_GetFeatureList'} (coherence/upnp/core/soap_service.py:156)
INFO  soap                        Dec 26 14:29:58  _gotError<twisted.python.failure.Failure <class 'coherence.upnp.core.soap_service.errorCode'>> errorCode() (coherence/upnp/core/soap_service.py:70)
INFO  soap                        Dec 26 14:29:58  soap_request:{'content-length': '291', 'soapaction': '"urn:schemas-upnp-org:service:ContentDirectory:1#X_GetFeatureList"', 'connection': 'close', 'accept': '*/*', 'user-agent': 'SEC_HHP_[TV]UE40EH6030/1.0 DLNADOC/1.50', 'host': '192.168.0.10:30020', 'content-type': 'text/xml; charset="utf-8"'} (coherence/upnp/core/soap_service.py:95)
INFO  soap                        Dec 26 14:29:58  call'X_GetFeatureList' {'soap_methodName': 'X_GetFeatureList'} (coherence/upnp/core/soap_service.py:156)
INFO  soap                        Dec 26 14:29:58  _gotError<twisted.python.failure.Failure <class 'coherence.upnp.core.soap_service.errorCode'>> errorCode() (coherence/upnp/core/soap_service.py:70)
INFO  soap                        Dec 26 14:29:58  soap_request:{'content-length': '451', 'soapaction': '"urn:schemas-upnp-org:service:ContentDirectory:1#Browse"', 'connection': 'close', 'accept': '*/*', 'user-agent': 'SEC_HHP_[TV]UE40EH6030/1.0 DLNADOC/1.50', 'host': '192.168.0.10:30020', 'content-type': 'text/xml; charset="utf-8"'} (coherence/upnp/core/soap_service.py:95)
INFO  soap                        Dec 26 14:29:58  call'Browse' {'ObjectID': '0', 'BrowseFlag': 'BrowseDirectChildren', 'soap_methodName': 'Browse', 'Filter': '*', 'RequestedCount': '1', 'StartingIndex': '0', 'SortCriteria': ''} (coherence/upnp/core/soap_service.py:156)
INFO  soap                        Dec 26 14:29:58  soap__genericAction: Browse [required], (10 args) 'coherence.upnp.core.service' {'ObjectID': '0', 'BrowseFlag': 'BrowseDirectChildren', 'soap_methodName': 'Browse', 'Filter': '*', 'RequestedCount': '1', 'StartingIndex': '0', 'SortCriteria': ''} (coherence/upnp/core/service.py:1045)failure [Failure instance: Traceback (failure with no frames): <class 'coherence.upnp.core.soap_service.errorCode'>:]
INFO  soap                        Dec 26 14:29:58  soap__generic error during call processing (coherence/upnp/core/service.py:1081)
INFO  soap                        Dec 26 14:29:58  _gotError<twisted.python.failure.Failure <class 'coherence.upnp.core.soap_service.errorCode'>> errorCode() (coherence/upnp/core/soap_service.py:70)
screwt commented 9 years ago

With a better log level:

INFO  soap                        Dec 26 15:42:22  call'X_GetFeatureList' {'soap_methodName': 'X_GetFeatureList'} (coherence/upnp/core/soap_service.py:160)                                                                                                                                
INFO  soap                        Dec 26 15:42:22  ###_gotError'X_GetFeatureList' 401 (coherence/upnp/core/soap_service.py:75)
DEBUG soap                        Dec 26 15:42:22  _sendResponse401 '<?xml version="1.0" encoding="utf-8"?><s:Envelope s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring>UPnPError</faultstring><detail><UPnPError xmlns="urn:schemas-upnp-org:control-1-0"><errorCode>401</errorCode><errorDescription>Invalid Action</errorDescription></UPnPError></detail></s:Fault></s:Body></s:Envelope>' (coherence/upnp/core/soap_service.py:39)                    
INFO  soap                        Dec 26 15:42:22  soap_request:{'content-length': '291', 'soapaction': '"urn:schemas-upnp-org:service:ContentDirectory:1#X_GetFeatureList"', 'connection': 'close', 'accept': '*/*', 'user-agent': 'SEC_HHP_[TV]UE40EH6030/1.0 DLNADOC/1.50', 'host': '192.168.0.10:30020', 'content-type': 'text/xml; charset="utf-8"'} (coherence/upnp/core/soap_service.py:99)                                       
DEBUG soap                        Dec 26 15:42:22  headers: {'content-length': '291', 'soapaction': '"urn:schemas-upnp-org:service:ContentDirectory:1#X_GetFeatureList"', 'connection': 'close', 'accept': '*/*', 'user-agent': 'SEC_HHP_[TV]UE40EH6030/1.0 DLNADOC/1.50', 'host': '192.168.0.10:30020', 'content-type': 'text/xml; charset="utf-8"'} (coherence/upnp/core/soap_service.py:136)                                          
INFO  soap                        Dec 26 15:42:22  call'X_GetFeatureList' {'soap_methodName': 'X_GetFeatureList'} (coherence/upnp/core/soap_service.py:160)                                                                                                                                
INFO  soap                        Dec 26 15:42:22  ###_gotError'X_GetFeatureList' 401 (coherence/upnp/core/soap_service.py:75)
DEBUG soap                        Dec 26 15:42:22  _sendResponse401 '<?xml version="1.0" encoding="utf-8"?><s:Envelope s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring>UPnPError</faultstring><detail><UPnPError xmlns="urn:schemas-upnp-org:control-1-0"><errorCode>401</errorCode><errorDescription>Invalid Action</errorDescription></UPnPError></detail></s:Fault></s:Body></s:Envelope>' (coherence/upnp/core/soap_service.py:39)                    
INFO  soap                        Dec 26 15:42:22  soap_request:{'content-length': '451', 'soapaction': '"urn:schemas-upnp-org:service:ContentDirectory:1#Browse"', 'connection': 'close', 'accept': '*/*', 'user-agent': 'SEC_HHP_[TV]UE40EH6030/1.0 DLNADOC/1.50', 'host': '192.168.0.10:30020', 'content-type': 'text/xml; charset="utf-8"'} (coherence/upnp/core/soap_service.py:99)                                                 
DEBUG soap                        Dec 26 15:42:22  headers: {'content-length': '451', 'soapaction': '"urn:schemas-upnp-org:service:ContentDirectory:1#Browse"', 'connection': 'close', 'accept': '*/*', 'user-agent': 'SEC_HHP_[TV]UE40EH6030/1.0 DLNADOC/1.50', 'host': '192.168.0.10:30020', 'content-type': 'text/xml; charset="utf-8"'} (coherence/upnp/core/soap_service.py:136)                                                    
INFO  soap                        Dec 26 15:42:22  call'Browse' {'ObjectID': '0', 'BrowseFlag': 'BrowseDirectChildren', 'soap_methodName': 'Browse', 'Filter': '*', 'RequestedCount': '1', 'StartingIndex': '0', 'SortCriteria': ''} (coherence/upnp/core/soap_service.py:160)             
INFO  soap                        Dec 26 15:42:22  soap__genericAction: Browse [required], (10 args) 'coherence.upnp.core.service' {'ObjectID': '0', 'BrowseFlag': 'BrowseDirectChildren', 'soap_methodName': 'Browse', 'Filter': '*', 'RequestedCount': '1', 'StartingIndex': '0', 'SortCriteria': ''} (coherence/upnp/core/service.py:1045)                                                                                            
INFO  soap                        Dec 26 15:42:22  soap__generic error during call processing<twisted.python.failure.Failure <class 'coherence.upnp.core.soap_service.errorCode'>> (coherence/upnp/core/service.py:1081)                                                                   
INFO  soap                        Dec 26 15:42:22  ###_gotError'Browse' 701 (coherence/upnp/core/soap_service.py:75)
DEBUG soap                        Dec 26 15:42:22  _sendResponse701 '<?xml version="1.0" encoding="utf-8"?><s:Envelope s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring>UPnPError</faultstring><detail><UPnPError xmlns="urn:schemas-upnp-org:control-1-0"><errorCode>701</errorCode><errorDescription>without words</errorDescription></UPnPError></detail></s:Fault></s:Body></s:Envelope>' (coherence/upnp/core/soap_service.py:39)                     

401 errors:

<?xml version="1.0" encoding="UTF-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
   <s:Body>
      <s:Fault>
         <faultcode>s:Client</faultcode>
         <faultstring>UPnPError</faultstring>
         <detail>
            <UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
               <errorCode>401</errorCode>
               <errorDescription>Invalid Action</errorDescription>
            </UPnPError>
         </detail>
      </s:Fault>
   </s:Body>
</s:Envelope>

Last line error 701:

<?xml version="1.0" encoding="UTF-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
   <s:Body>
      <s:Fault>
         <faultcode>s:Client</faultcode>
         <faultstring>UPnPError</faultstring>
         <detail>
            <UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
               <errorCode>701</errorCode>
               <errorDescription>without words</errorDescription>
            </UPnPError>
         </detail>
      </s:Fault>
   </s:Body>
</s:Envelope>