Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
MichaelNino
Channel Surfer

Basic Auth succeeds but web page times out

I have successful completed the step-by-step guide at: https://blog.roku.com/developer/developer-setup-guide

After the I have opened http://192.168.1.72 in my web browser I am prompted with Basic Authentication dialog box. I enter my username and password which I configured in previous steps. Once dialog box has been submitted my Hisense Roku TV times out. During one such time out I decided to open Chromium (Linux) developer tools and the web page reacted by displaying the message:

"Failed To Check For Software Update"

One another attempt using Firefox (Linux) the developer tools displayed the following error log:

The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol. 192.168.1.72
Loading failed for the <script> with source “http://192.168.1.72/css/global.js”. plugin_install:21:1

Aside from the apparent malformed HTML, it is suprising that the global.js failed to load. What could be the issue? My WiFi signal is excellent and both TV and laptop are only several feet apart and both devices are in same room as router.

Software version: 9.2.0
Build: 4502


0 Kudos
4 REPLIES 4
MichaelNino
Channel Surfer

Re: Basic Auth succeeds but web page times out

On further investigation, I am receiving same error message regarding global.js in Chromium.

GET http://192.168.1.72/css/global.js net::ERR_TIMED_OUT 200 (OK)
plugin_install:25 Uncaught ReferenceError: Shell is not defined
at plugin_install:25
(anonymous) @ plugin_install:25
favicon.ico:1 GET http://192.168.1.72/favicon.ico 404 (Not Found)

Moreover, the HTML is as follows-- why the need for frameset?

<html>
<head> <title>Roku Plugin Installation</title> </head>
<html>
<frameset> <frame name="main" src="plugin_install"> <noframes> </noframes> </frameset>
</html>


0 Kudos
MichaelNino
Channel Surfer

Re: Basic Auth succeeds but web page times out

I attempted to load the global.js independently using Development Tools to open the JavaScript in a new tab. The JavaScript successfully loaded. Is this software build capable of serving content?

0 Kudos
MichaelNino
Channel Surfer

Re: Basic Auth succeeds but web page times out

After several attempts the final loads. It is disappointing to see that Hisense TV Roku cannot server a small HTML document with a handful of JavaScript and CSS. I am building a custom home automation system that will need to communicate to Roku what channels should be displayed 

Question #1: What could this issue be?
Question #2: What Roku device is the best device for REST applications?

I need a reliable device that allows device power, channels to be changed and custom streaming applications.

0 Kudos
MichaelNino
Channel Surfer

Re: Basic Auth succeeds but web page times out

Polite bump...first time in Roku Community. Ideas? Is this behavior expected by the Roku HTTP server?

Thanks in advance 🙂

0 Kudos