Jump to content

Discovery Failed


GatoGrey
Go to solution Solved by GatoGrey,

Recommended Posts

Posted

I just installed the Roku node.  Looking at the log file I see this:

ERROR    roku:discover: Discovery failed for http://192.168.2.195:8060/: 'data'

Any ideas on what to do next.

Thanks!

Posted

2024-02-03 08:06:45,245 MainThread udi_interface      INFO     polylogger:set_basic_config: set_basic_config: enable=True level=30
2024-02-03 08:06:45,245 MainThread udi_interface      INFO     __init__:<module>: UDI interface initializing
2024-02-03 08:06:45,245 MainThread udi_interface      INFO     __init__:<module>: User=0021b9026930_2
2024-02-03 08:06:45,245 MainThread udi_interface      INFO     __init__:<module>: Home=/var/polyglot/pg3/ns/0021b9026930_2
2024-02-03 08:06:45,245 MainThread udi_interface      INFO     __init__:<module>: Node Server Path=/var/polyglot/pg3/ns/0021b9026930_2
2024-02-03 08:06:45,245 MainThread udi_interface      INFO     __init__:<module>: PG3INIT=eyJ1dWlkIjoiMDA6MjE6Yjk6MDI6Njk6MzAiLCJwcm9maWxlTnVtIjoyLCJsb2dMZXZlbCI6IkVSUk9SIiwidG9rZW4iOiJHcC11UlVOUms4REhMVCVNIiwibXF0dEhvc3QiOiJsb2NhbGhvc3QiLCJtcXR0UG9ydCI6ODg4Mywic2VjdXJlIjoxLCJpc1BHM3giOnRydWUsInBnM1ZlcnNpb24iOiIzLjIuMTciLCJpc3lWZXJzaW9uIjoiNS44LjAiLCJlZGl0aW9uIjoiU3RhbmRhcmQifQ==
2024-02-03 08:06:45,245 MainThread udi_interface      INFO     __init__:<module>: Loading interface module
2024-02-03 08:06:45,286 MainThread udi_interface      INFO     interface:<module>: Loading MQTT module
2024-02-03 08:06:45,794 MainThread udi_interface      INFO     interface:<module>: MQTT module loaded
2024-02-03 08:06:46,012 MainThread udi_interface      INFO     __init__:<module>: Loading udi_interface module
2024-02-03 08:06:46,013 MainThread udi_interface      INFO     __init__:<module>: Loading node module
2024-02-03 08:06:46,013 MainThread udi_interface      INFO     __init__:<module>: Loading custom module
2024-02-03 08:06:46,013 MainThread udi_interface      INFO     __init__:<module>: Loading isy module
2024-02-03 08:06:46,013 MainThread udi_interface      INFO     __init__:<module>: UDI interface initialized
2024-02-03 08:06:46,013 MainThread udi_interface      INFO     __init__:<module>: UDI Python Interface for Polyglot version 3 3.2.6 Starting...
2024-02-03 08:06:46,028 MainThread udi_interface.interface INFO     interface:__init__: Initialization received from Polyglot V3 3.2.17  [ISY: 5.8.0, Slot: 2]
2024-02-03 08:06:46,028 MainThread udi_interface.interface INFO     interface:__init__: Connect: Network Interface: {'addr': '192.168.2.67', 'netmask': '255.255.255.0', 'broadcast': '192.168.2.255'}
2024-02-03 08:06:46,029 Interface  udi_interface.interface INFO     interface:_startMqtt: Connecting to MQTT... localhost:8883
2024-02-03 08:06:46,029 Interface  udi_interface.interface INFO     interface:_startMqtt: Using SSL cert: 0021b9026930_2.cert key: 0021b9026930_2.key ca: /usr/local/etc/ssl/certs/ud.ca.cert
2024-02-03 08:06:46,037 MainThread udi_interface      INFO     roku:start: Starting node server
2024-02-03 08:06:46,038 MainThread udi_interface      INFO     roku:discover: In Discovery...
2024-02-03 08:06:46,086 MQTT       udi_interface.interface INFO     interface:_connect: MQTT Connected with result code 0 (Success)
2024-02-03 08:06:46,086 MQTT       udi_interface.interface INFO     interface:_connect: MQTT Subscribing to topic: udi/pg3/ns/clients/00:21:b9:02:69:30_2 -  MID: 2 Result: 0
2024-02-03 08:06:46,129 MQTT       udi_interface.interface INFO     interface:_subscribe: MQTT Subscribed Succesfully for Message ID: 2 - QoS: (0,)
2024-02-03 08:06:46,169 MQTT       udi_interface.interface INFO     interface:_message: custom data response {'customparamsdoc': '<h2>Configuration</h2>\n\n<p>The only configuration options are the shortPoll and longPoll\nintervals.</p>\n\n<p>The default values attempt to balance response with network load. These can\nbe addusted to your personal preferences.</p>\n\n<p>For example, if you have a stable/unchanging setup, maybe you only want to scan for changaes once a day.</p>\n'}
2024-02-03 08:06:46,169 MQTT       udi_interface.interface INFO     interface:_message: Successfully set key = customparamsdoc
2024-02-03 08:06:50,267 MainThread udi_interface      ERROR    roku:discover: Discovery failed for http://192.168.2.195:8060/: 'data'
2024-02-03 08:08:50,288 MQTT       udi_interface.interface DEBUG    interface:_message: QUEUING incoming message shortPoll
2024-02-03 08:08:50,288 Command    udi_interface.interface DEBUG    interface:_parseInput: DEQUEING shortPoll
2024-02-03 08:08:55,289 MQTT       udi_interface.interface DEBUG    interface:_message: QUEUING incoming message shortPoll
2024-02-03 08:08:55,289 Command    udi_interface.interface DEBUG    interface:_parseInput: DEQUEING shortPoll
2024-02-03 08:09:00,292 MQTT       udi_interface.interface DEBUG    interface:_message: QUEUING incoming message shortPoll
2024-02-03 08:09:00,292 Command    udi_interface.interface DEBUG    interface:_parseInput: DEQUEING shortPoll

Posted

The plug-in sends out broadcast that triggers the Roku devices to respond.  When it gets a response, it attempts to query the device for it's specific configuration data (mainly what apps are installed).  In this case, that query returned nothing.  

So if the device at IP address 192.168.2.195 is in fact a Roku device, it is not responding properly.

Posted

Thank you for the quick response!  The Roku is in fact at the .195 address.  It is a Roku Ultra.  Is the plug-in model specific or is Roku's interface standard across models?  Is there anything I need to enable on the Roku for remote access?

 

  • Solution
Posted

Success!  I went into the Roku's advanced settings and found a setting and found Control By Mobile Apps.  There is a setting for Network Access which was disabled.  I set it to Enabled.  Control by mobile apps applies to local network as well is seems.

Guest
This topic is now closed to further replies.

×
×
  • Create New...