Hello,
My Backdrop CMS web sites doesn't display update information anymore event on a simple site with no external modules.
Versions
- Debian 12
- Apache 2.4.62
- PHP 8.3.17 (including openssl)
- Backdrop CMS 1.30.1
Description
As user 1, Reports > Available update > List available update displays : "backdrop 1.30.1 … Failed to get available update data".
The message generated in the logs shows :
https://updates.backdropcms.org/release-history/backdrop/1.x?…………… failed with error: Connection timed out.
This same url (logged in the message) works when used with wget and curl, on the server, ran by the user running the web site. It downloads the same xml content I can get with a web browser on my workstation.
Tips and directions to investigate would be welcome. Thanks in advance.
Kali.
The reason was too simple : misconfiguration of the updates server
My server uses IPv6 first and :
# dig updates.backdropcms.org AAAA
;; ANSWER SECTION:
updates.backdropcms.org. 856 IN AAAA 2600:3c03::f03c:91ff:fec2:d257
# ping 2600:3c03::f03c:91ff:fec2:d257
PING 2600:3c03::f03c:91ff:fec2:d257(2600:3c03::f03c:91ff:fec2:d257) 56 data bytes
^C
--- 2600:3c03::f03c:91ff:fec2:d257 ping statistics ---
6 packets transmitted, 0 received, 100% packet loss, time 5110ms
Workaround (temporary)
appended to /etc/hosts
66.175.208.83 updates.backdropcms.org
Then updates instantly worked like a charm on all websites powered by Backdrop CMS on this server.
Of course, this workaround by-passes DNS resolution :(
Solution
The solution is on Backdrop CMS's side : consistent configuration of DNS and web servers of
updates.backdropcms.org
Please let us know so that I can roll-back /etc/hosts.