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: 

ECP requests failing

My dog apparently likes to eat roku remotes, and we have been unable to get the roku remote app to work on iphone or android.

Anyway, I decided to try out the ECP apis, but I am only getting a 403 back from our roku for all requests. Am I missing something?

~ ❯ curl http://192.168.1.153:8060/keypress/Home -X GET -d '' --verbose    
*   Trying 192.168.1.153...
* Connected to 192.168.1.153 (192.168.1.153) port 8060 (#0)
> GET /keypress/Home HTTP/1.1
> Host: 192.168.1.153:8060
> User-Agent: curl/7.47.0
> Accept: */*
> Content-Length: 0
> Content-Type: application/x-www-form-urlencoded

< HTTP/1.1 403 Forbidden
< Server: Roku UPnP/1.0 MiniUPnPd/1.4
< Content-Length: 0
* HTTP error before end of send, stop sending

* Closing connection 0


We have a TCL 55S405 with the roku built in. We have verizon fios using their verizon wifi router. I am making the requests from my laptop on the same wifi connection as the tv. aaaa halp :[ Is it possible to disable ECP from the gui? (this is something I may have done lol)
0 Kudos
1 REPLY 1
NB_
Roku Guru

Re: ECP requests failing

Lose the "-X GET", commands should be POST-ed
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.