-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
failed to obtain VIN #34
Comments
Sorry for the late reply. |
Hey, the new version supports TLS/SSL connections to MQTT/WS. Maybe that solves your problem. |
Hi @adlerre i had a chance to update my lilygo w/ the new firmware that has support for ssl. Alas, I'm still having issues connecting. I see this repeatedly:
I also tried disabling SSL (and changing port to 80), that seems to give a different error:
Any advice what these failure codes mean? What can be tried? or if you have a debugging build you want me to give a go? Are there certain characters in my username and/or password (i have a dash in the username and also have a plus and exclaimation mark in the password) |
Hi @aleks-mariusz, Error -2 means "MQTT_CONNECT_FAILED - the network connection failed" and -4 means "MQTT_CONNECTION_TIMEOUT - the server did not respond within the keepalive time". You have several options to check the connection: Use nmap to check the ports:
Use openssl to check Certificate
Check the Mosquitto Broker logs, they should give you a clue what is wrong. Try connecting with MQTT Explorer. If that works, we need to dig deeper. |
This issue is stale because it has been open for 30 days with no activity. |
I got your obd2-mqtt code loaded onto the a7670x, got my sim card activated and popped it in, i got the lte and gps antennas both connected, plugged in the bluetooth into obd2 port and...
failed to obtain VIN
(repeatedly... )
attached is the full log.. esp-web-tools-logs (10).txt
anyway, i can't tell if this is something that is causing it to not continue/hang indefinitely, or if it is continuing anyway and there's something weird about the serial console (since when i request to reset the device, i see a few more messages that didn't appear until the split-second i clicked reset, so maybe some serial-output-buffering or something?)..
however even with the above error, the bluetooth device (obd2 scanner) blinks continuously tho, so i presume data is being sent collected at least? however i don't see anything in my mqtt server tho (unless i'm not looking in the right place).. there seems to be little information about successfully transmitting mqtt packets (i am using the websocket option btw...
update - i just realized the port was still set to 1883, i think i will need to change it to https or one of the other ports cloudflared supports, i will try that and report back).
The text was updated successfully, but these errors were encountered: