Hi. I’m experiencing problems with the installation of the mender clinet. I installed mender server following this guide https://docs.mender.io/3.1/server-installation
then I prepared the raspberrypi 4 following this instructions https://docs.mender.io/3.1/get-started/preparation/prepare-a-raspberry-pi-device
After that I paste in the client the command generated by my mender server:
wget -q -O- https://get.mender.io | sudo bash -s -- --demo -- --quiet --device-type "raspberrypi4" --demo --server-ip "my.server.ip.address"
Checking the logs in the client
-- Logs begin at Thu 2019-02-14 11:11:59 CET. --
Dez 11 17:16:12 MenderJC mender[4782]: time="2021-12-11T17:16:12+01:00" level=error msg="Authorize failed: transient error: authorization request failed: transient error: authorization request failed: Unknown url.Error type: Host validation error"
Dez 11 17:16:12 MenderJC mender[4782]: time="2021-12-11T17:16:12+01:00" level=error msg="Authorize failed: transient error: authorization request failed: transient error: authorization request failed: Unknown url.Error type: Host validation error"
Dez 11 17:16:12 MenderJC mender[4782]: time="2021-12-11T17:16:12+01:00" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]"
Dez 11 17:16:42 MenderJC mender[4782]: time="2021-12-11T17:16:42+01:00" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]"
Dez 11 17:16:42 MenderJC mender[4782]: using interface /sys/class/net/eth0
Dez 11 17:16:42 MenderJC mender[4782]: time="2021-12-11T17:16:42+01:00" level=error msg="Failure occurred while executing authorization request: Method: Post, URL: https://docker.mender.io/api/devices/v1/authentication/auth_requests"
Dez 11 17:16:42 MenderJC mender[4782]: time="2021-12-11T17:16:42+01:00" level=error msg="Failure occurred while executing authorization request: Method: Post, URL: https://docker.mender.io/api/devices/v1/authentication/auth_requests"
Dez 11 17:16:42 MenderJC mender[4782]: time="2021-12-11T17:16:42+01:00" level=error msg="Authorize failed: transient error: authorization request failed: transient error: authorization request failed: Unknown url.Error type: Host validation error"
the mender.config looks like this:
{
"HttpsClient": {},
"Security": {},
"RootfsPartA": "/dev/mmcblk0p2",
"RootfsPartB": "/dev/mmcblk0p3",
"DeviceTypeFile": "/var/lib/mender/device_type",
"DBus": {
"Enabled": true
},
"UpdateControlMapExpirationTimeSeconds": 90,
"UpdateControlMapBootExpirationTimeSeconds": 45,
"UpdatePollIntervalSeconds": 5,
"InventoryPollIntervalSeconds": 5,
"RetryPollIntervalSeconds": 30,
"ServerCertificate": "/usr/share/doc/mender-client/examples/demo.crt",
"Servers": [
{
"ServerURL": "https://docker.mender.io"
}
]
}
after that I have also tried replacing "ServerCertificate": "/usr/share/doc/mender-client/examples/demo.crt"
with the certificate generated by the server having a final config "ServerCertificate": "/usr/share/doc/mender-client/examples/cert.crt"
Any help would be really appreciate it
by the way, at the time I’m posting this the mender docu site is not available: “502 bad gateway”