After deploying production version of mender-server following instructions in docs, I encountered problem with creation of deployments. First of all it was taking far too long (about 4 hours without even starting the deployment - it was stuck at pending status). After checking logs from the container mender-deployments I found out that it is struggling with an error:
level=error msg="error reaching artifact storage service: SerializationError: failed to decode REST XML response status code: 200, request id: caused by: XML syntax error on line 8: element <link> closed by </head>"
I am not sure if those two are related, but what leads me to believe so is that i was perfectly able to download the artifact and install it using command below, so i suspect that the fault isn’t at the client side of things, also client checked in with no issue, and i was able to upload artifact just fine, so that should dispel doubts about other services.
mender install 'https://my.mender.server.com/artifactlongandstrangestring' && mender commit
At first i thought there might be problem with the keys (since at first i included CA signed ones) but neither keys provided by keygen utility included with mender integration, nor keys and certificates generated by CA authority seems to have influence on that behavior (not that they should have since problem isn’t with keys nor certificates). None of other containers nor client itself report any error, only mender-deployments ant it is only this one i have described.
Have anyone encountered such behavior, or have any idea how to resolve this?
I am using Mender 2.7.0