Introduction
During Artifactory startup, the platform may fail to initialize even though the Router service starts successfully. The Topology service does not start and no Topology startup logs are generated. As a result, Router readiness remains unavailable, causing dependent services such as Access and Artifactory to fail during initialization.
One possible cause is an empty or corrupted Topology Logback configuration file located at:
$JFROG_HOME/artifactory/var/etc/topology/logback.xml
Without a valid Logback configuration, the Topology service exits before completing initialization, preventing the platform from reaching a healthy state.
Issue Description
During startup, the following symptoms may be observed:
-
The Topology service fails to start.
-
No Topology startup logs are generated.
-
Router readiness remains unavailable (503).
-
Artifactory fails during initialization.
-
Access reports HTTP 502 errors while updating platform configuration.
Example Artifactory log:
2026-07-21T05:14:27.611Z [jfrt ] [ERROR] [2f4c988569a0b155] [o.j.c.ExecutionUtils:305 ]
[jf-common-pool-0 ] - Last retry failed: Could not update configuration for key
`adoption.config`. Not trying again (exceeded number of attempts (5))
Example Access log:
2026-07-21T05:14:28.104Z [jfac ] [INFO ] [6b3a5640cfd8e89f] [o.j.c.ExecutionUtils:289 ]
[jf-common-pool-0 ] - Retry 3 Elapsed 3.32 secs failed: Router readiness on URL
http://localhost:8046/router/api/v1/system/readiness failed with error: Router readiness failed
with status 503. Trying again
2026-07-21T05:14:29.509Z [jfac ] [INFO ] [6b3a5640cfd8e89f] [o.j.c.ExecutionUtils:289 ]
[jf-common-pool-1 ] - Retry 4 Elapsed 4.72 secs failed: Router readiness on URL
http://localhost:8046/router/api/v1/system/readiness failed with error: Router readiness failed
with status 503. Trying again
Example Router log:
2026-07-21T05:14:23.779Z [jfrou] [WARN ] [1e807d59cb0f9108] [external_topology.go:321 ] [main
] [] - Failed fetching external topology from Service Registry 1 times: do secure:
Get "http://localhost:8020/topology/api/v1/topology": dial tcp [::1]:8020: connect: connection
refused
Root Cause
The Topology service depends on the following Logback configuration file:
$JFROG_HOME/artifactory/var/etc/topology/logback.xml
If this file is empty or contains invalid configuration, the logging framework cannot be initialized. Consequently, the Topology service exits before it starts listening on port 8020.
Since Router requires the Topology service to become healthy before reporting overall platform readiness, Router remains in the 503 state. Access cannot complete its initialization, and Artifactory subsequently fails while attempting to communicate with Access, resulting in HTTP 502 errors.
Resolution
-
Verify the Topology Logback configuration
Check whether the configuration file exists and is not empty.
ls -lh $JFROG_HOME/artifactory/var/etc/topology/logback.xml
Verify its contents:
cat $JFROG_HOME/artifactory/var/etc/topology/logback.xml
If the file size is 0 bytes or the file is empty, restore a valid copy.
-
Restore the configuration
Restore logback.xml from one of the following sources:
-
A backup from the same Artifactory version.
-
Another healthy Artifactory node running the same version.
-
A clean installation of the same Artifactory release.
After restoring the file, verify that it contains valid XML content and has the correct ownership and permissions.
-
Restart Artifactory
Restart the Artifactory service.
For systemd-based installations:
systemctl restart artifactory
-
Verify the service status
Confirm that the Topology service is listening on port 8020:
ss -lntp | grep 8020
Verify Router readiness:
curl http://localhost:8046/router/api/v1/system/readiness
The endpoint should return HTTP 200 OK.