Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Roku discovery failure

Featured Replies

Posted

I installed the Roku trail in PG3 and I am having discovery issues.

I am getting the following errors.  Based on other posts I have already enabled the remote app control.

 

 
2024-07-03 08:12:51.135 MainThread udi_interface ERROR roku:discover: Discovery failed for http://192.168.0.13:8060/: 'user-device-location'
2024-07-03 08:12:51.425 MainThread udi_interface ERROR roku:discover: Discovery failed for http://192.168.0.14:8060/: encoding without a string argument
  • Author

It states user-device-location.  I can see where it states 'LOCATION': 'http://192.168.0.13:8060/' but I'm not sure if that is what it is referring to.  

Here is the discovery portion with debug:

---------------------------------------------

2024-07-05 08:09:07.897 MainThread udi_interface DEBUG roku:discover: Processing http://192.168.0.13:8060/

2024-07-05 08:09:07.897 MainThread udi_interface DEBUG roku:discover: roku_dev = {'WAKEUP': 'MAC=b8:3e:59:03:c1:f5;Timeout=10', 'device-group.roku.com': '86726741FD3B4DF4D742', 'LOCATION': 'http://192.168.0.13:8060/', 'Server': 'Roku UPnP/1.0 Roku/9.1.0', 'Ext': '', 'USN': 'uuid:roku:ecp:13G2DV061196', 'ST': 'roku:ecp', 'Cache-Control': 'max-age=3600'}

2024-07-05 08:09:07.996 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message shortPoll

2024-07-05 08:09:07.996 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING shortPoll

2024-07-05 08:09:07.996 Command udi_interface.interface DEBUG interface:_handleInput: PROCESS shortPoll message {} from Polyglot

2024-07-05 08:09:08.330 MainThread udi_interface ERROR roku:discover: Discovery failed for http://192.168.0.13:8060/: 'user-device-location'

2024-07-05 08:09:08.330 MainThread udi_interface INFO roku:discover: Discovery finished

  • Author

I should mention, I was using the same Roku device on the PG2 version and did not have any issue.

 

The device data for your Roku doesn't have the field 'user-device-location' in it, which it should.  

I pushed a new version, 2.0.6, that adds a debug message which displays the device data so we can look at what your device is returning.

 

  • Author

Thanks!!

I'm travelling this week but will load the new version and post the debug logs this weekend.

  • Author

Well, I loaded up the new version and was going to capture the log file but I inadvertently held the button down on the Roku for to long while plugging it back in and it factory reset the device.  The good news is after going through the Roku setup the auto discover worked perfectly and it is working now.

If anyone encounters this issue I would suggest a factory reset.  It really only takes a few minutes to select your language and re-enter the Wifi info.  Way faster than the hour or two I spent trying to troubleshoot.  Also, it was clearly a Roku problem and not the PG3 app.

Thanks for all your help!  

Guest
This topic is now closed to further replies.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.