404 error downloading mod-pagespeed

I don’t know if this is apiscp specific but since yesterday night I’m always getting a not found error when updating package list. I’m only getting this on servers where apiscp is installed because apiscp has installed this specific mod-pagespeed package.

Errors during downloading metadata for repository 'mod-pagespeed':\n - Status code: 404 for http://dl.google.com/linux/mod-pagespeed/rpm/stable/x86_64/repodata/repomd.xml (IP: ipv6)\nError: Failed to download metadata for repo 'mod-pagespeed': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

Looks fine to me. May be a regional mirror outage.

# curl -v -6 http://dl.google.com/linux/mod-pagespeed/rpm/stable/x86_64/repodata/repomd.xml
* About to connect() to dl.google.com port 80 (#0)
*   Trying 2607:f8b0:4000:80b::200e...
* Connected to dl.google.com (2607:f8b0:4000:80b::200e) port 80 (#0)
> GET /linux/mod-pagespeed/rpm/stable/x86_64/repodata/repomd.xml HTTP/1.1
> User-Agent: curl/7.29.0
> Host: dl.google.com
> Accept: */*
>
< HTTP/1.1 200 OK
< Accept-Ranges: bytes
< Content-Disposition: attachment
< Content-Length: 951
< Content-Security-Policy: default-src 'none'
< Server: downloads
< X-Content-Type-Options: nosniff
< X-Frame-Options: SAMEORIGIN
< X-Xss-Protection: 0
< Date: Wed, 01 Nov 2023 16:20:58 GMT
< Cache-Control: public,max-age=86400
< Last-Modified: Fri, 02 Feb 2018 14:36:31 GMT
< ETag: "1b266c"
< Content-Type: application/xml
< Age: 0

You may try forcing IPv4 resolution by adding to /etc/dnf/dnf.conf:

ip_resolve=4

Yes, forcing ipv4 solved the problem. Thanks.