[mythtv-commits] Ticket #2467: upnp server sends unreachable IPs rendering the server invisible
MythTV
mythtv at cvs.mythtv.org
Fri Dec 21 16:10:18 UTC 2007
#2467: upnp server sends unreachable IPs rendering the server invisible
-------------------------------------------+--------------------------------
Reporter: lpgcritter at nasquan dot com | Owner: dblain
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: 0.20
Severity: medium | Resolution:
Mlocked: 0 |
-------------------------------------------+--------------------------------
Comment(by anonymous):
Here's the backend log with -v upnp,network. I added some extra logging to
HTTPRequest (last couple of lines in the log):[[BR]]
{{{
---
2007-12-21 17:55:47.821 Using runtime prefix = /usr/local
2007-12-21 17:55:47.840 DBHostName is not set in mysql.txt
2007-12-21 17:55:47.842 Assuming localhost
2007-12-21 17:55:47.843 Empty LocalHostName.
2007-12-21 17:55:47.844 Using localhost value of tux
2007-12-21 17:55:47.846 MCP::DefaultUPnP() - No default UPnP backend
2007-12-21 17:55:47.860 New DB connection, total: 1
2007-12-21 17:55:47.868 Connected to database 'mythconverg' at host:
localhost
2007-12-21 17:55:47.871 Closing DB connection named 'DBManager0'
2007-12-21 17:55:47.874 Connected to database 'mythconverg' at host:
localhost
2007-12-21 17:55:47.877 Current Schema Version: 1202
Starting up as the master server.
2007-12-21 17:55:47.890 New DB connection, total: 2
2007-12-21 17:55:47.893 Connected to database 'mythconverg' at host:
localhost
2007-12-21 17:55:47.902 New DB connection, total: 3
2007-12-21 17:55:47.904 Connected to database 'mythconverg' at host:
localhost
2007-12-21 17:55:48.523 New DB scheduler connection
2007-12-21 17:55:48.526 Connected to database 'mythconverg' at host:
localhost
2007-12-21 17:55:48.530 UPnp - Constructor
2007-12-21 17:55:48.532 MediaServer::Begin
2007-12-21 17:55:48.558 ThreadPool:AddWorkerThread - HTTP_WorkerThread
2007-12-21 17:55:48.562 UPnp::Initialize - Begin
2007-12-21 17:55:48.564 UPnp::Initialize - Starting TaskQueue
2007-12-21 17:55:48.567 UPnp::Initialize - Creating SSDP Thread at port
6544
2007-12-21 17:55:48.571 UPnp::Initialize - End
2007-12-21 17:55:48.574 MediaServer::Loading UPnp Description
2007-12-21 17:55:48.581 MediaServer::Registering MythXML Service.
2007-12-21 17:55:48.585 MediaServer::Registering MSRR Service.
2007-12-21 17:55:48.587 MediaServer::Registering CMGR Service.
2007-12-21 17:55:48.589 MediaServer::Registering CDS Service.
2007-12-21 17:55:48.591 MediaServer::Registering UPnpCDSTv Extension
2007-12-21 17:55:48.592 MediaServer::Registering UPnpCDSMusic Extension
2007-12-21 17:55:48.594 MediaServer::Registering UPnpCDSVideo Extension
2007-12-21 17:55:48.596 UPnp::Start - Starting SSDP Thread (Multicast)
2007-12-21 17:55:48.598 UPnp::Start - Enabling Notifications
2007-12-21 17:55:48.599 SSDP::EnableNotifications() - creating new task
2007-12-21 17:55:48.602 SSDP::EnableNotifications() - sending NTS_byebye
2007-12-21 17:55:48.604 LookupUDN(urn:schemas-upnp-
org:device:MediaServer:1) sName=UPnP/UDN/MediaServer, sUDN=b2187616-f0de-
491e-bdf6-aadccd41189e
2007-12-21 17:55:49.742 LookupUDN(urn:schemas-mythtv-
org:device:MasterMediaServer:1) sName=UPnP/UDN/MasterMediaServer,
sUDN=79c2d071-ab44-49f3-981d-28d19acc4d77
2007-12-21 17:55:49.913 SSDP::EnableNotifications() - sending NTS_alive
2007-12-21 17:55:49.915 SSDP::EnableNotifications() - Task added to UPnP
queue
2007-12-21 17:55:49.917 UPnp::Start - Returning
2007-12-21 17:55:49.918 MediaServer::End
2007-12-21 17:55:49.919 Main::Registering HttpStatus Extension
2007-12-21 17:55:49.921 mythbackend version: 0.21.20071211-1
www.mythtv.org
2007-12-21 17:55:49.922 Enabled verbose msgs: important general upnp
network
2007-12-21 17:55:49.925 AutoExpire: CalcParams(): Max required Free Space:
1.0 GB w/freq: 15 min
2007-12-21 17:55:51.069 HTTPRequest::FormatFileReponse - file does not
exist.
2007-12-21 17:55:51.553 Reschedule requested for id -1.
2007-12-21 17:55:51.673 Scheduled 6 items in 0.1 = 0.08 match + 0.04 place
2007-12-21 17:55:51.685 Seem to be woken up by USER
2007-12-21 17:55:51.688 MythEvent: SCHEDULE_CHANGE
2007-12-21 17:55:55.923 UPnpCMGR::ProcessRequest - Method (GetServDesc)
2007-12-21 17:55:55.928 HTTPRequest::FormatFileReponse - file does not
exist.
2007-12-21 17:55:55.935 HTTPRequest::FormatFileReponse - file does not
exist.
2007-12-21 17:57:08.532 AutoExpire: CalcParams(): Max required Free Space:
1.0 GB w/freq: 15 min
---
}}}
Mythfrontend log, which is a bit low on detail as it doesn't seem to have
upnp stuff even though upnp logs were requested:[[BR]]
{{{
---
2007-12-21 17:57:59.190 Current Schema Version: 1202
2007-12-21 17:57:59.191 mythfrontend version: 0.21.20071211-1
www.mythtv.org
2007-12-21 17:57:59.191 Enabled verbose msgs: important general upnp
network
2007-12-21 17:57:59.274 The theme (blootube-wide) is missing a
themeinfo.xml file
2007-12-21 17:57:59.304 The theme (Gray-OSD) is missing a themeinfo.xml
file
2007-12-21 17:57:59.305 Theme Gray-OSD missing preview image.
2007-12-21 17:57:59.307 The theme (isthmus) is missing a themeinfo.xml
file
2007-12-21 17:57:59.308 Theme isthmus missing preview image.
2007-12-21 17:57:59.310 The theme (Iulius) is missing a themeinfo.xml file
2007-12-21 17:57:59.311 The theme (Iulius-OSD) is missing a themeinfo.xml
file
2007-12-21 17:57:59.311 Theme Iulius-OSD missing preview image.
2007-12-21 17:57:59.314 The theme (MePo-wide) is missing a themeinfo.xml
file
2007-12-21 17:57:59.393 The theme (Minimalist-wide) is missing a
themeinfo.xml file
2007-12-21 17:57:59.394 The theme (MythCenter) is missing a themeinfo.xml
file
2007-12-21 17:57:59.394 The theme (MythCenter-wide) is missing a
themeinfo.xml file
2007-12-21 17:57:59.395 The theme (oldosd) is missing a themeinfo.xml file
2007-12-21 17:57:59.395 The theme (Retro) is missing a themeinfo.xml file
2007-12-21 17:57:59.396 The theme (Retro-OSD) is missing a themeinfo.xml
file
2007-12-21 17:57:59.396 Theme Retro-OSD missing preview image.
2007-12-21 17:57:59.400 The theme (Titivillus) is missing a themeinfo.xml
file
2007-12-21 17:57:59.401 The theme (Titivillus-OSD) is missing a
themeinfo.xml file
2007-12-21 17:57:59.401 Theme Titivillus-OSD missing preview image.
2007-12-21 17:57:59.578 The theme (blootube-wide) is missing a
themeinfo.xml file
2007-12-21 17:57:59.646 The theme (Gray-OSD) is missing a themeinfo.xml
file
2007-12-21 17:57:59.647 The theme (isthmus) is missing a themeinfo.xml
file
2007-12-21 17:57:59.647 The theme (Iulius) is missing a themeinfo.xml file
2007-12-21 17:57:59.649 The theme (Iulius-OSD) is missing a themeinfo.xml
file
2007-12-21 17:57:59.650 The theme (MePo-wide) is missing a themeinfo.xml
file
2007-12-21 17:57:59.742 The theme (Minimalist-wide) is missing a
themeinfo.xml file
2007-12-21 17:57:59.760 The theme (MythCenter) is missing a themeinfo.xml
file
2007-12-21 17:57:59.769 The theme (MythCenter-wide) is missing a
themeinfo.xml file
2007-12-21 17:57:59.780 The theme (oldosd) is missing a themeinfo.xml file
2007-12-21 17:57:59.780 The theme (Retro) is missing a themeinfo.xml file
2007-12-21 17:57:59.790 The theme (Retro-OSD) is missing a themeinfo.xml
file
2007-12-21 17:57:59.791 The theme (Titivillus) is missing a themeinfo.xml
file
2007-12-21 17:57:59.799 The theme (Titivillus-OSD) is missing a
themeinfo.xml file
2007-12-21 17:58:00.057 Total desktop dim: 640x480, with 1 screen[s].
2007-12-21 17:58:00.059 Using screen 0, 640x480 at 0,0
2007-12-21 17:58:00.063 Switching to square mode (G.A.N.T.)
2007-12-21 17:58:00.079 Using the Qt painter
mythtv: could not connect to socket
mythtv: Connection refused
2007-12-21 17:58:00.080 lirc_init failed for mythtv, see preceding
messages
2007-12-21 17:58:00.080 Joystick disabled.
2007-12-21 17:58:01.093 Loading from:
/usr/local/share/mythtv/themes/G.A.N.T./base.xml
2007-12-21 17:58:01.109 Loading from:
/usr/local/share/mythtv/themes/default/base.xml
2007-12-21 17:58:01.178 Registering Internal as a media playback plugin.
2007-12-21 17:58:01.205 Unable to initialize plugin 'mythbookmarkmanager'.
2007-12-21 17:58:01.208 Unable to initialize plugin 'mythdvd'.
2007-12-21 17:58:01.291 MonitorRegisterExtensions(0x100, gif,jpg,png)
2007-12-21 17:58:01.443 MythMusic adding CD-Writer: 0,0,0 -- Maxtor
6Y120M0
2007-12-21 17:58:01.444 MythMusic adding CD-Writer: 2,0,0 -- CardReader CF
RW
2007-12-21 17:58:03.016 Failed to run 'cdrecord --scanbus -dev=ATAPI'
2007-12-21 17:58:03.066 MonitorRegisterExtensions(0x40, ogg,mp3,aac,flac)
2007-12-21 17:58:03.202 Starting media monitor.
---
}}}
If I run Intel's UPnp device sniffer I get:
{{{
---
HTTP/1.1 200 OK
SERVER: Linux 2.6.22-14-generic, UPnP/1.0, MythTv 0.21.20071211-1
ST: urn:schemas-upnp-org:device:MediaRenderer:1
CACHE-CONTROL: max-age=3600
EXT:
USN: uuid:0880d362-2950-49cd-99f6-ef4c04ee571b::urn:schemas-upnp-
org:device:MediaRenderer:1
LOCATION: http://10.5.5.1:6547/getDeviceDesc
DATE: 21 Dec 2007 18:02:10
Content-Length: 0
----
HTTP/1.1 200 OK
SERVER: Linux 2.6.22-14-generic, UPnP/1.0, MythTv 0.21.20071211-1
ST: urn:schemas-upnp-org:device:MediaRenderer:1
CACHE-CONTROL: max-age=3600
EXT:
USN: uuid:0880d362-2950-49cd-99f6-ef4c04ee571b::urn:schemas-upnp-
org:device:MediaRenderer:1
LOCATION: http://192.168.1.106:6547/getDeviceDesc
DATE: 21 Dec 2007 18:02:10
Content-Length: 0
---
}}}
So upnp seems to be active though no upnp activity is logged?[[BR]]
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/2467#comment:6>
MythTV <http://svn.mythtv.org/trac>
MythTV
More information about the mythtv-commits
mailing list