Pages Error 502

Hello community,

we have a problem with Gitlab Pages.
When retrieving a page, we get the error message 502.
The log file (/var/log/gitlab/gitlab-pages/current)gives the following error message:

{"correlation_id":"01FFF3V9PQKTBHA50HF0XA3C6D","error":"Get \"OUR PAGES DOMAIN\": dial tcp XXX.XXX.XXX.XXX:443: connect: no route to host","host":"OUR DOMAIN","level":"error","msg":"could not fetch domain information from a source","path":"/favicon.ico","time":"2021-09-13T10:19:47+02:00"}

Here it is interesting that the IP XXX.XXX.XXX.XXX is not the IP of the server, it is an IP that is not assigned in out network.
We use version 14.2.3. The problems may have arisen when switching to version 14.

I have the same problem with version number 14.0.10 on docker. It gives me the same error message. Is that a bug?

Could it be useful to test the following?