Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSDP connection can't get triggered. #3

Open
tisrico opened this issue Nov 22, 2021 · 3 comments
Open

SSDP connection can't get triggered. #3

tisrico opened this issue Nov 22, 2021 · 3 comments

Comments

@tisrico
Copy link

tisrico commented Nov 22, 2021

The select function in provider::ResourceHandledata::stream::IOStream SimpleUdpStreamProvider::get() always get fd ready, but when it's being processed, peek call always return 0 meaning nothing is there for reading.

Through netstat -na command I can confirm that it's listening to the 1900 ports, but when I use Wireshark to confirm the incoming SSDP discovery, it actually never get fired in the program.

Can you please help?

@bamkrs
Copy link
Member

bamkrs commented Nov 22, 2021

Hey There!

We need a couple more info for this problem. Which Version are you using? Which OS?

Best regards
Benedikt

@tisrico
Copy link
Author

tisrico commented Nov 22, 2021

Hi @bamkrs,

Sorry, I should have included the information.

I used master/latest source code including the three dependencies. I tried both on Windows 10/VS2015, and Ubuntu 21/gcc9. On windows, I have disabled all the firewall rules to allow incoming traffic. On Unbutu, tcpdum clearly showed the incoming SSDP UDP messages - I reckon there is no firewall rule would stop the packets. In a debug today on Windows, I found that select call returned correctly but never get triggered.

I am planning to build a small project and would like it eventually run on a raspberry pi that pretends to be a light, so it takes commands from Google Nest hub, but in fact, controlling a garage door opener.

@ddRenrek
Copy link

ddRenrek commented Feb 9, 2022

Hi together,

are there any news to this topic?
I have got the same issue as @tisrico on Windows 10/VS2019 with oatpp 1.3.0.
I use oatpp ssdp modul in an own application.
When updating from 1.2.0 to 1.3.0 this error occurs.

I have already implemented the changes mentioned in issue oatpp/oatpp-ssdp#4.

Kind regards!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants