Flatpak Update Gets Stuck Updating Appstream Data for Fedora Repository

After upgrading to Fedora 45 yesterday, I started having issues with flatpak today. When I run `flatpak update` it updated applications but then gets stuck at “updating appstream data for Fedora repository” section. Discover also gets stuck looking for updates for what I assume the same issue. Verbose flag returns the following:

Nothing to update.
F: fedora:x86_64 appstream age 180034 is greater than ttl 86400
Updating appstream data for remote fedora
F: Calling system helper: GenerateOciSummary

And it stalls there forever. I have already tried `fedora repair` which did not help resolve the issue. Could this be related to Fedora servers? System information is as follows:

Operating System: Fedora Linux 45
KDE Plasma Version: 6.8.2
KDE Frameworks Version: 6.31.0
Qt Version: 6.11.2
Kernel Version: 7.2.15-300.fc45.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600 6-Core Processor
Memory: 32 GiB of RAM (31.3 GiB usable)
Graphics Processor: AMD Radeon RX 7600
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7C56
System Version: 4.0

I followed Fedora 45 upgrade instructions on the website provided here. Applied all the steps like removing outdated packages, removing unused symlinks etc. If there is anything I can do, please let me know.

Thanks a lot in advance and have a great day!x

Edit: After letting it stay for about half an hour, now it says:

Nothing to update.
F: fedora:x86_64 appstream age 180034 is greater than ttl 86400
Updating appstream data for remote fedora
F: Calling system helper: GenerateOciSummary
F: Failed to download optional summary: Remote peer disconnected
F: Calling system helper: DeployAppstream

Another edit: After nearly an hour, it now shows this and process seems to be completed:

Nothing to update.
F: fedora:x86_64 appstream age 180034 is greater than ttl 86400
Updating appstream data for remote fedora
F: Calling system helper: GenerateOciSummary
F: Failed to download optional summary: Remote peer disconnected
F: Calling system helper: DeployAppstream
F: fedora-testing:x86_64 appstream age 18446744073709551615 is greater than ttl 86400
F: flathub:x86_64 appstream age 3073 is less than ttl 86400

Problem seems to be solved for now.

Had to write a reply to mark this as solved. After an hour of waiting, the process completed with the information given above. Hopefully it was a one time thing. If anyone else experiences the same problem, the answer seems to be patience :slight_smile: