www.homeseer.com    
 

Go Back   HomeSeer Message Board > Media Plug-ins > Media Discussion > Media Controller Plug-in (3P)

Media Controller Plug-in (3P) Discussion of Media Controller DLNA-Manager Plug-in

Reply
 
Thread Tools Display Modes
  #1  
Old September 6th, 2017, 08:38 AM
HTGeek's Avatar
HTGeek HTGeek is offline
Seer
 
Join Date: May 2017
Location: Richmond, VA
Posts: 15
UPNP Listener error

Seeing this error frequently in the log:
"Error in UPNPListener.MSearchEvent with Error = Conversion from string "" to type 'Integer' is not valid."

Any ideas on what this means?
Reply With Quote
  #2  
Old September 6th, 2017, 10:57 AM
dcorsus dcorsus is offline
OverSeer
 
Join Date: Mar 2010
Location: California
Posts: 3,733
Quote:
Originally Posted by HTGeek View Post
Seeing this error frequently in the log:
"Error in UPNPListener.MSearchEvent with Error = Conversion from string "" to type 'Integer' is not valid."

Any ideas on what this means?
The error is 100% benign, it is triggered by some code I wrote to interact with an amazon echo. How frequent do you get the error, I suspect it is very periodic and triggered by a UPNP controller on your network that might be sending incomplete info/requests.

Short of redelivering the PI to just take out the error, you can set the UPNP error level to off and it will be gone as well. If we want to find out what causes the error, you would have to set the UPNP debug level to verbose which will dump a ton of info in your logfile but the log entry just before this error should show which M-SEARCH UPNP command caused it.

Dirk
Reply With Quote
  #3  
Old September 8th, 2017, 03:15 PM
HTGeek's Avatar
HTGeek HTGeek is offline
Seer
 
Join Date: May 2017
Location: Richmond, VA
Posts: 15
Thanks for the info. It occurs every 5 minutes. I turned on verbose debug and it appears to be a specific field missing from one of the devices.

MC Error Error in GetSeconds for device = Kitchen and Error = Conversion from string "Invalid Args" to type 'Integer' is not valid.

MC Error Error in AVTGetPositionInfo for device = Kitchen and InstanceID = 0 with UPNP Error = 791: Unknown error type. OrgError=91. Error = Object reference not set to an instance of an object.

Reply With Quote
  #4  
Old September 8th, 2017, 04:52 PM
dcorsus dcorsus is offline
OverSeer
 
Join Date: Mar 2010
Location: California
Posts: 3,733
Quote:
Originally Posted by HTGeek View Post
Thanks for the info. It occurs every 5 minutes. I turned on verbose debug and it appears to be a specific field missing from one of the devices.

MC Error Error in GetSeconds for device = Kitchen and Error = Conversion from string "Invalid Args" to type 'Integer' is not valid.

MC Error Error in AVTGetPositionInfo for device = Kitchen and InstanceID = 0 with UPNP Error = 791: Unknown error type. OrgError=91. Error = Object reference not set to an instance of an object.

Not sure you lifted the right error messages. What you have here are errors related to the PI (so under superdebug which is what is do not need) versus the UPNP subsystem which are under the UPNP debug level = verbose and I need the log entry right before the error from the UPNP subsystem. I already changed the code to neutralize this part as it was an attempt of mine to have this PI work directly between HS and Amazon Echo.

Dirk
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error Msg, something about uPnP? JimSpy HS3 / HS3PRO Discussion 2 June 19th, 2017 03:18 PM
Error handling UPNP request baudi IFTTT (3P) 2 November 5th, 2016 01:44 PM
upnp error gearyt HS3Touch General Discusion 0 February 7th, 2014 06:39 PM
UPNP repeating error on HS2.3 psampson HS2 / HSPRO 6 March 16th, 2011 06:54 PM


All times are GMT -4. The time now is 07:43 AM.


Copyright HomeSeer Technologies, LLC