You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Applications page: avoid remote repository call long waits #8161
The Applications page reuses list-modules, the Software Center action that queries every enabled repository over HTTP(S). When a repository is unreachable or disabled, the page stalls in a loading state for ~20s (each repository call burns its own timeout, sequentially, uncached), and the same reuse causes #8139: an app's locally-shipped logo is discarded in favor of the generic placeholder whenever the repository is unreachable. Applications page only needs to know what is already installed in the cluster, a local concern, while Software Center's job is discovering what can be installed from remote repositories; reusing one action for both ties local-only UI to remote-repository latency and failure modes.
Proposed solution
[Edit]
Keep a single list-modules action and no offline mode. Make the existing repository loop resilient (e.g. cache negative results, run repositories in parallel, shorten timeouts). This just reduces the wait (see also #8088), but is simple to implement.
Alternative solutions
Implement a separate, dedicated action for the Applications page (discarded for complexity and code duplication).
Activity
DavidePrincipi commentedon Sep 10, 2026
The solution implemented by NethServer/ns8-core#1302 is the second alternative.
DavidePrincipi commentedon Sep 10, 2026
Simulate unresponsive repository server by dropping outgoing packets:
Simulate DNS resolver failure: drop packets for DNS resolver (replace <DNS_IP> with values from /etc/resolv.conf):
List current drop rules:
Delete a specific rule by handle number:
Clear the test_blackhole table completely:
[-]Applications page: avoid remote repository calls[/-][+]Applications page: avoid remote repository call long waits[/+]DavidePrincipi commentedon Sep 17, 2026
In Testing core:3.22.0-dev.10
Test case
DavidePrincipi commentedon Sep 18, 2026
VERIFIED
DavidePrincipi commentedon Sep 18, 2026
Released https://github.com/NethServer/ns8-core/releases/tag/3.22.0