To address this issue and reduce similar timeouts, follow the steps outlined below:
Step 1: Locate and Edit the Configuration File
Step 2: Adjust the Timeout Property
Step 3: Restart Artifactory
Step 1: Locate and Edit the Configuration File
- Open the file “$JFROG_HOME/artifactory/var/etc/artifactory/artifactory.system.properties”. This file contains Artifactory's system properties.
Step 2: Adjust the Timeout Property
- Locate the property named “artifactory.ha.propagation.http.socketTimeoutMs”. If it is missing, you can add it at the bottom of the file:
- You can raise its value, such as setting it to `60000`, effectively configuring the socket timeout to 60,000 milliseconds (equivalent to 60 seconds), whereas the default setting is 15,000 milliseconds:
artifactory.ha.propagation.http.socketTimeoutMs=60000
Step 3: Restart Artifactory
- To apply the configuration change, you must restart Artifactory