Hello,
when I want to register my ESP8266 to mDash I get this error. Is it because mDash is only for ESP32 and not other devices?
TY.
Hello,
when I want to register my ESP8266 to mDash I get this error. Is it because mDash is only for ESP32 and not other devices?
TY.
Mongoose OS devices work with mDash regardless of the architecture.
Please share exactly the config you’re using and the returned error.
Please try
mos config-set dash.server=wss://mdash.net/api/v2/rpc
Same thing happens. Do I need to change certificate?
The stock ca-bundle library (which delivers ca.pem
file) should work fine .
Do you use an unmodified ca.pem ?
Since this device was used before, someone could have modified ca.pem, however since I am new to this stuff, I don’t know how to check it. Can you please tell me how?
mos get ca.pem > backup.ca.pem
curl -O https://raw.githubusercontent.com/mongoose-os-libs/ca-bundle/master/fs/ca.pem
mos put ca.pem
mos call Sys.Reboot
Doesn’t work. I guess ca.pem was left untouched. I still get the same error.
Does your browser show the warning when you visit https://mdash.net ?
Not at work ATM, but nope, didn’t show any warnings.
Can’t reproduce. Works fine on our side:
$ mos --port /dev/cu.wchusbserial1420 config-get dash
{
"enable": true,
"send_logs": false,
"server": "wss://dash.mongoose-os.com/api/v2/rpc",
"ssl_ca_cert": "ca.pem",
"ssl_cert": "",
"ssl_key": "",
"token": "...."
}
It connects to the mdash.net with no issues.
Please try on a vanilla new ESP8266 box to verify.