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

Inappropriate MQTT Connection Attempt even when WiFi:STA Fails, V0.19 #85

Open
ForrestErickson opened this issue Nov 19, 2024 · 0 comments
Assignees

Comments

@ForrestErickson
Copy link
Collaborator

ForrestErickson commented Nov 19, 2024

Describe the bug
A clear and concise description of what the bug is.
Short Summary of the expected behavior: When WiFi not available, do not try MQTT.
Short Summary of the buggy behavior: Serial report shows When WiFi not available, was trying to connect MQTT.

See report in the V0.19 regression testing near bottom of this issue
See; #82

From issue #82
The serial port shows that even thought the WiFI:STA (station connection) failed, the firmware is attempting an MQTT connection. This is another kind of error. Will make new bug report.

08:20:00.271 -> Connecting to WiFi: VRX
08:20:00.271 -> E (669915) wifi:sta is connecting, return error
08:20:00.271 -> Failed to connect WiFi.
08:20:00.271 -> Attempting MQTT connection...failed, rc=-2Attempting MQTT connection...failed, rc=-2Attempting MQTT connection...failed, rc=-2failed to reconnect!
08:20:09.584 -> Publish RSSI: 0.00
08:20:09.584 -> Device connected at IPadderss: 0.0.0.0

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