Details
Description
This was reported by a user on Mender Hub, read the discussion for full details.
Here are some extracts,
User has a trailing "/" in mender.conf
{ .... "ServerURL": "https://mender.uat.thinkrelay.com/", "ServerCertificate": "/etc/mender/server.crt" }
Which lead to this
Apr 11 15:05:57 oa.uat.sjc.boomtown.cloud run[5737]: mender-api-gateway_1 | 172.24.10.2 - - [11/Apr/2019:22:05:57 +0000] "PUT //api/devices/v1/deployments/device/deployments/4340f1ee-d1ea-4dfe-8e08-8cc510d55e0f/status HTTP/1.1" 404 59 "-" "Go-http-client/1.1" "74.123.252.3" request ID "533d8e73-4c62-4081-8c3c-bf05582c1d5e" 0.003
Above produces 404 error. User reported that removing the trailing "/" fixes the problems they where experiencing.
Also
FWIW your documentation has conflicting information in it (see https://docs.mender.io/1.7/client-configuration/configuration-file/configuration-options#servers 1). The ServerURL parameter is documented as to include a trailing slash. Yet the Servers parameter (array form) does not show/include one.
Attachments
Issue Links
- relates to
-
MEN-1620 Handle trailing slash in Mender client's server URL configuration
-
- Done
-