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

Socket error on client <unknown> #3

Open
Wolfbad opened this issue May 16, 2021 · 7 comments
Open

Socket error on client <unknown> #3

Wolfbad opened this issue May 16, 2021 · 7 comments
Assignees

Comments

@Wolfbad
Copy link

Wolfbad commented May 16, 2021

Hi,
I have used you project to create a fingerprint access for my home assistant.
I haven't received any error on compiling the code, the esp is correctly connected to my wifi, but in the mqtt broker hassio component I see an endless errors list like "New connection from 192.168.. on port 1883. Socket error on client , disconnecting."
Obviously the esp ip is correct.

@vinz486
Copy link
Owner

vinz486 commented May 17, 2021

Seems like an issue HA side: are you sure that MQTT username and password are ok?

@vinz486 vinz486 self-assigned this May 17, 2021
@Wolfbad
Copy link
Author

Wolfbad commented May 17, 2021 via email

@vinz486
Copy link
Owner

vinz486 commented May 17, 2021

Are you able to "sniff" traffic using Wireshark or tcpdump?

@Wolfbad
Copy link
Author

Wolfbad commented May 17, 2021 via email

@vinz486
Copy link
Owner

vinz486 commented May 17, 2021

What string do you put as gate name?

@Wolfbad
Copy link
Author

Wolfbad commented May 18, 2021 via email

@vinz486
Copy link
Owner

vinz486 commented May 19, 2021

Hi,
sorry but the issue must be reproducible: try using tcpdump, mqtt is not TLS and you can see what happens in clear text.

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

2 participants