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: 
joonlim
Reel Rookie

Is the RAF Tester Tool broken?

Jump to solution

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 <IP>:

➜  curl "http://<IP>:8060/query/media-player" -v
*   Trying <IP>:8060...
* Connected to <IP> (<IP>) port 8060 (#0)
> GET /query/media-player HTTP/1.1
> Host: <IP>: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" ?>
<player error="false" state="none"/>
* Connection #0 to host <IP> left intact

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

 
Copied request made from RAF Tester Tool (replaced stream URL with <stream-url>:

➜  curl "http://<IP>:8060/launch/63218?live=true&autoCookie=false&debugVideoHud=false&url=<stream-url>&fmt=DA..." -v -X POST
*   Trying <IP>:8060...
* Connected to <ip> (<IP>) port 8060 (#0)
> POST /launch/63218?live=true&autoCookie=false&debugVideoHud=false&url=<stream-url>&fmt=DASH&drmParams=%7B%7D&headers=%7B%7D&metadata=%7B%22isFullHD%22%3Afalse%7D&cookies=%5B%5D HTTP/1.1
> Host: <IP>: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 <IP> left intact

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

➜  curl "http://<IP>:8060/launch/dev" -v -X POST
*   Trying <IP>:8060...
* Connected to <IP> (<IP>) port 8060 (#0)
> POST /launch/dev HTTP/1.1
> Host: <IP>: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 <IP> 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!
0 Kudos
1 Solution

Accepted Solutions
renojim
Community Streaming Expert

Re: Is the RAF Tester Tool broken?

Jump to solution

Have you added the "Stream Tester" channel?

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

Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.

View solution in original post

4 REPLIES 4
renojim
Community Streaming Expert

Re: Is the RAF Tester Tool broken?

Jump to solution

"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.

Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
0 Kudos
joonlim
Reel Rookie

Re: Is the RAF Tester Tool broken?

Jump to solution

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?

0 Kudos
renojim
Community Streaming Expert

Re: Is the RAF Tester Tool broken?

Jump to solution

Have you added the "Stream Tester" channel?

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

Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
joonlim
Reel Rookie

Re: Is the RAF Tester Tool broken?

Jump to solution

Thanks, that fixed the problem!

0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.