# Issue: mender-deployments SerializationError

**URL:** <https://hub.mender.io/t/issue-mender-deployments-serializationerror/3577>\
**Category:** General Discussions\
**Tags:** issue, mender-server, deployment, production, integration\
**Created:** [April 30, 2021, 5:23pm UTC](https://hub.mender.io/t/issue-mender-deployments-serializationerror/3577 "2021-04-30T17:23:33Z")\
**Posts on this page:** 10\
**Page:** 2

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [June 8, 2021, 6:42pm UTC](https://hub.mender.io/t/issue-mender-deployments-serializationerror/3577/22 "2021-06-08T18:42:37Z")

</div>

You need to ensure that all instances of [s3.docker.mender.io](http://s3.docker.mender.io) are replaced. It looks like it is using that name somewhere else.

---

<div class="post-metadata">

**Author:** ![Rohita83](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/rohita83/32/436_2.png) [@Rohita83](https://hub.mender.io/u/Rohita83)\
**Post date:** [June 9, 2021, 8:12am UTC](https://hub.mender.io/t/issue-mender-deployments-serializationerror/3577/23 "2021-06-09T08:12:39Z")

</div>

> [@drewmoseley](#):
>
> all instances of [s3.docker.mender.io](http://s3.docker.mender.io) are replaced

@drewmoseley

You mean, we should remove the lines having “**[s3.docker.mender.io](http://s3.docker.mender.io)**” from “ **prod.yml.template** ” as below screenshot?

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/mender/original/2X/4/472fba997d28ed6d4ebd9ab4ddf55a5249502e06.png)

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [June 9, 2021, 1:47pm UTC](https://hub.mender.io/t/issue-mender-deployments-serializationerror/3577/24 "2021-06-09T13:47:47Z")

</div>

Yes. That likely also means you need to regenerate your certificates since that name is likely embedded in them.

---

<div class="post-metadata">

**Author:** ![dYalib](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/dyalib/32/1241_2.png) [@dYalib](https://hub.mender.io/u/dYalib)\
**Post date:** [June 11, 2021, 3:44pm UTC](https://hub.mender.io/t/issue-mender-deployments-serializationerror/3577/25 "2021-06-11T15:44:22Z")

</div>

Has anyone solved the issue?  
Deployments have not worked for us either since V2.7.0. I can upload and download artifacts and trigger deployments via the web interface without any problems. But the devices can not load them, it appears the “SerializationError” already mentioned here.

Maybe an interesting discovery. It seams the api-gateway forward the request from the device to the gui container instead of the deployments container. According to the api-gateway log the reqest is sent to docker internal ip 10.21.255.130, but this is the gui container.

```auto
xxx.xxx.xxx.xxx - - [11/Jun/2021:15:35:39 +0000] "POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1" 503 76 "-" "-" 64 "deployments@docker" "http://10.21.255.130:8080" 2ms
xxx.xxx.xxx.xx - - [11/Jun/2021:15:35:40 +0000] "GET /api/devices/v1/deployments/device/deployments/next?artifact_name=my_artifact&device_type=my_device HTTP/1.1" 503 76 "-" "-" 65 "deployments@docker" "http://10.21.255.130:8080" 3ms

```

gui container network:

```auto
"Networks": {
                "menderproduction_mender": {
                    "IPAMConfig": null,
                    "Links": null,
                    "Aliases": [
                        "mender-gui",
                        "80257243e507"
                    ],
                    "NetworkID": "7934f1c0955f6550f3f122521673638200f09e1239eb9b0103827d2c638ee95f",
                    "EndpointID": "1e5b9f576a9338b89d4281ae0210c3a87dc571d0e0186ae6ad85db8c91973508",
                    "Gateway": "10.21.255.129",
                    "IPAddress": "10.21.255.130",
                    "IPPrefixLen": 26,
                    "IPv6Gateway": "",
                    "GlobalIPv6Address": "",
                    "GlobalIPv6PrefixLen": 0,
                    "MacAddress": "02:42:0a:15:ff:82",
                    "DriverOpts": null
                }

```

deployment container network:

```auto
"Networks": {
                "menderproduction_mender": {
                    "IPAMConfig": null,
                    "Links": null,
                    "Aliases": [
                        "mender-deployments",
                        "711cf37570be"
                    ],
                    "NetworkID": "7934f1c0955f6550f3f122521673638200f09e1239eb9b0103827d2c638ee95f",
                    "EndpointID": "d8763abce27472628f08815aaf0bc0f3557dd80017663b472eea6d303ab65e6c",
                    "Gateway": "10.21.255.129",
                    "IPAddress": "10.21.255.143",
                    "IPPrefixLen": 26,
                    "IPv6Gateway": "",
                    "GlobalIPv6Address": "",
                    "GlobalIPv6PrefixLen": 0,
                    "MacAddress": "02:42:0a:15:ff:8f",
                    "DriverOpts": null
                }

```

Could this be the cause, or rather a symptom?

---

<div class="post-metadata">

**Author:** ![andrea.nencini](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@andrea.nencini](https://hub.mender.io/u/andrea.nencini)\
**Post date:** [June 14, 2021, 1:40pm UTC](https://hub.mender.io/t/issue-mender-deployments-serializationerror/3577/26 "2021-06-14T13:40:51Z")

</div>

Same thing here. At this point I’m forced to downgrade to 2.6. It’s a shame because the new features and the Web app restyling were great in 2.7.

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [June 14, 2021, 2:24pm UTC](https://hub.mender.io/t/issue-mender-deployments-serializationerror/3577/27 "2021-06-14T14:24:31Z")

</div>

Widening the net in case others have ideas. cc @Alan@kacf @kjaskiewiczz @lluiscampos @oleorhagen

Drew

---

<div class="post-metadata">

**Author:** ![andrea.nencini](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@andrea.nencini](https://hub.mender.io/u/andrea.nencini)\
**Post date:** [June 14, 2021, 3:07pm UTC](https://hub.mender.io/t/issue-mender-deployments-serializationerror/3577/28 "2021-06-14T15:07:20Z")

</div>

Guys, pulling directly from master branch and reinstalling the server worked for me.

These are the differences I have in prod.yml between 2.7 tagged version and master.

 ![diff](https://canada1.discourse-cdn.com/flex036/uploads/mender/original/2X/9/9f230f0fdc75537c79923b644bc9f4a374936319.png)

You can see changes in the certificate lines, that now involves traefik. I think this can be the trick. Someone more experienced can explain the meaning of these edited lines?

---

<div class="post-metadata">

**Author:** ![peter](https://avatars.discourse-cdn.com/v4/letter/p/278dde/32.png) [@peter](https://hub.mender.io/u/peter)\
**Post date:** [June 15, 2021, 4:59pm UTC](https://hub.mender.io/t/issue-mender-deployments-serializationerror/3577/29 "2021-06-15T16:59:47Z")

</div>

@Dave and all, could you please check this by Drew: [Fix broken STORAGE\_PROXY\_DOMAIN\_NAME by drewmoseley · Pull Request #1468 · mendersoftware/mender-docs · GitHub](https://github.com/mendersoftware/mender-docs/pull/1468) with the above screen by @andrea.nencini (thanks) you should be able to figure it out, before we fix it.

peter

---

<div class="post-metadata">

**Author:** ![dYalib](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/dyalib/32/1241_2.png) [@dYalib](https://hub.mender.io/u/dYalib)\
**Post date:** [June 17, 2021, 2:41pm UTC](https://hub.mender.io/t/issue-mender-deployments-serializationerror/3577/30 "2021-06-17T14:41:04Z")

</div>

The latest version from master branch works also for me (no new installation, just upgrade).

Thank you @andrea.nencini !

---

<div class="post-metadata">

**Author:** ![peter](https://avatars.discourse-cdn.com/v4/letter/p/278dde/32.png) [@peter](https://hub.mender.io/u/peter)\
**Post date:** [July 23, 2021, 11:01am UTC](https://hub.mender.io/t/issue-mender-deployments-serializationerror/3577/31 "2021-07-23T11:01:05Z")

</div>

hello,

this was fixed and should now be working everywhere.

peter

[Previous page](https://hub.mender.io/t/issue-mender-deployments-serializationerror/3577.md?page=1)
