Is the RAF Tester Tool broken?

Hi,

I’m receiving 404 errors when attempting to make a POST call to /launch on my device, both through the RAF Tester Tools (with cors restriction disabled in Safari, Chrome, and standalone app) and manually with curl.

Device is found (replaced my device’s actual IP address with :

➜ curl “http://:8060/query/media-player” -v

  • Trying :8060…
  • Connected to () port 8060 (#0)

GET /query/media-player HTTP/1.1
Host: :8060
User-Agent: curl/7.88.1
Accept: /

< HTTP/1.1 200 OK
< Server: Roku/12.0.0 UPnP/1.0 Roku/12.0.0
< Content-Length: 77
< Cache-Control: no-cache
< Content-Type: text/xml; charset=“utf-8”
<

<?xml version="1.0" encoding="UTF-8" ?> * Connection #0 to host left intact

/launch doesn’t work. Tried a few different variations.

Copied request made from RAF Tester Tool (replaced stream URL with :

➜ curl “http://:8060/launch/63218?live=true&autoCookie=false&debugVideoHud=false&url=&fmt=DASH&drmParams=%7B%7D&headers=%7B%7D&metadata=%7B%22isFullHD%22%3Afalse%7D&cookies=%5B%5D” -v -X POST

  • Trying :8060…
  • Connected to () port 8060 (#0)

POST /launch/63218?live=true&autoCookie=false&debugVideoHud=false&url=&fmt=DASH&drmParams=%7B%7D&headers=%7B%7D&metadata=%7B%22isFullHD%22%3Afalse%7D&cookies=%5B%5D HTTP/1.1
Host: :8060
User-Agent: curl/7.88.1
Accept: /

< HTTP/1.1 404 Not Found
< Server: Roku/12.0.0 UPnP/1.0 Roku/12.0.0
< Content-Length: 0
<

  • Connection #0 to host left intact

Tried /dev as referenced by https://developer.roku.com/docs/developer-program/dev-tools/external-control-api.md#deep-linking-to-a-channel

➜ curl “http://:8060/launch/dev” -v -X POST

  • Trying :8060…
  • Connected to () port 8060 (#0)

POST /launch/dev HTTP/1.1
Host: :8060
User-Agent: curl/7.88.1
Accept: /

< HTTP/1.1 404 Not Found
< Server: Roku/12.0.0 UPnP/1.0 Roku/12.0.0
< Content-Length: 0
<

  • Connection #0 to host left intact

Also tried on Safari with origin forwarding enabled and received" 404 Not Found"

Could you please help me understand why this isn’t working? Has the API changed?

Thank you!

“launch/dev” works for me, so the first question is, do you have anything sideloaded? If not, you’ll get a 404.

P.S. - there’s no need to remove your Roku’s private IP address. No one can do anything with it (unless they’re connected to your private network) and there’s probably hundreds of thousands of Roku devices with the same address.

Thanks for the quick response. I sideloaded a demo app and was able to successfully call “launch/dev” using curl. However, it doesn’t behave the way I was hoping and doesn’t playback streams (it shows “Roku Developers” for a brief moment and goes back to the sideloaded app).

The RAF Tester tool targets “launch/63218”, which still doesn’t work. Do you know how to get the RAF Tester tool to work?

Have you added the “Stream Tester” channel?

https://my.roku.com/account/add?channel=ZJMQ6D5

Thanks, that fixed the problem!