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: 
vsrivastav
Visitor

SSDP M-SEARCH

I am not getting response to SSDP requests on my network to find roku devices:


$ cat ssdp.txt
M-SEARCH * HTTP/1.1
HOST: 239.255.255.250:1900
MAN: "ssdp:discover"
ST: roku:ecp

$ nc 239.255.255.255 1900 < ssdp.txt

does anyone know if it works for them? I have ROKU XD|S roku device. Am I missing something?
0 Kudos
6 REPLIES 6
RokuChris
Roku Employee
Roku Employee

Re: SSDP M-SEARCH

It works fine for me. Two possible reasons you aren't seeing a response:

  • the ssdp multicast ip address is 239.255.255.250. You used 239.255.255.255

  • From the External Control Guide, "If you view the response via wireshark and filter on port 1900 you can see the Roku’s response. Ncat has trouble receiving multicast traffic so viewing the response using ncat does not work."
0 Kudos
belthur
Visitor

Re: SSDP M-SEARCH

"vsrivastav" wrote:
I am not getting response to SSDP requests on my network to find roku devices:


$ cat ssdp.txt
M-SEARCH * HTTP/1.1
HOST: 239.255.255.250:1900
MAN: "ssdp:discover"
ST: roku:ecp

$ nc 239.255.255.255 1900 < ssdp.txt

does anyone know if it works for them? I have ROKU XD|S roku device. Am I missing something?


I just tried this in c# and got it to work. Sometimes, like 2 out of 10 times this times out...but overall ok. I am still trying to do a "POST"...

fun...fun...
ROKU : 2000C
N1000 *
MODEM: Linksys CM100
ROUTER: WRT54G
CNXn: Comcast 18Mbps
TV: Toshiba 720p HDTV
Receiver : Onkyo TX-SR608
0 Kudos
pirey4
Visitor

Re: SSDP M-SEARCH

"RokuChris" wrote:
It works fine for me. Two possible reasons you aren't seeing a response:

  • the ssdp multicast ip address is 239.255.255.250. You used 239.255.255.255

  • From the External Control Guide, "If you view the response via wireshark and filter on port 1900 you can see the Roku’s response. Ncat has trouble receiving multicast traffic so viewing the response using ncat does not work."

Has the "WiFi Bug" been fixed which prevented reliable discovery for players using WiFi? If so, what release was this fixed in?
0 Kudos
belthur
Visitor

Re: SSDP M-SEARCH

"pirey4" wrote:
"RokuChris" wrote:
It works fine for me. Two possible reasons you aren't seeing a response:

  • the ssdp multicast ip address is 239.255.255.250. You used 239.255.255.255

  • From the External Control Guide, "If you view the response via wireshark and filter on port 1900 you can see the Roku’s response. Ncat has trouble receiving multicast traffic so viewing the response using ncat does not work."

Has the "WiFi Bug" been fixed which prevented reliable discovery for players using WiFi? If so, what release was this fixed in?


I guess not. I loop my search 10 times on a button click each search a second apart and it usually takes around 30 attempts before a fix.
ROKU : 2000C
N1000 *
MODEM: Linksys CM100
ROUTER: WRT54G
CNXn: Comcast 18Mbps
TV: Toshiba 720p HDTV
Receiver : Onkyo TX-SR608
0 Kudos
RokuKevin
Visitor

Re: SSDP M-SEARCH

The external control api 'WiFi Bug' is fixed in v2.8.

--Kevin
0 Kudos
vsrivastav
Visitor

Re: SSDP M-SEARCH

I am unable to get it working on my Roku, which is connected using wifi. I get several responses from my router if I do search type "ST: ssdp:all" , instead of "ST: roku:ecp", however no response from roku.

It is not working on Roku XD|S
Checked the version:

software version 2.8 build 1150
hardware 2100X


I am using wireshark with filtering on udp.port == 1900 as suggested earlier in the post.
Roku XD|S
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.