ECP (port 8060) not working within dev app in OS 12.0
Hi everyone,
Since update to OS 12.0, the ECP commands are not working within the dev app, whereas in OS 11.5 and before it worked just fine. Are you having the same issue on your Roku devices ?
It seems that Roku is now blocking port 8060 even for in-app testing (within the dev channel app) because I got now 403 as response code when previously it was always 200.
'cmd = [ECP command]
'RokuIP = [local IP of Roku device, RFC1918 address]
request = CreateObject("roUrlTransfer")
m.port = CreateObject("roMessagePort")
request.setMessagePort(m.port)
urlString = "http://" + RokuIP + ":8060/" + cmd
request.SetUrl(urlString)
if request.AsyncGetToString() then
' or if request.AsyncPostFromString("") then
msg = m.port.waitMessage(0)
print msg.GetResponseCode()
end if
So far, this new restraint for the dev app was never notified by Roku as being part of the OS 12.0 update. Such control is understandable and already existing since a while for published channel apps but it's a major setback for development as the main goal of the dev app is testing !
If instead an ECP command is sent from a local pc, the same Roku device on OS 12.0 executes it and the response code is 200. So definitely this new observed restraint is affecting the dev app.
>~ curl -s -o /dev/null -w "%{http_code}" "http://"$RokuIP":8060/"$cmd
200