When creating Release Bundles, there are two important requests Distribution sends to Artifactory.
When creating Release Bundles, there are two important requests Distribution sends to Artifactory.
When creating a large Release Bundle (e.g. >300 package), you may run into the following error as with the default timeout setting (120 seconds), it might not be enough to gather all the data.
To overcome this issue, you can make the following change to increase the timeout value:
1. Copy the distribution.config.latest.yml file under the $JFROG_HOME/distribution/var/etc/distribution/ directory and rename it to distribution.config.import.yml file.
2. Open the file and edit the following property,
When creating Release Bundles, there are two important requests Distribution sends to Artifactory.
- Gather artifacts request. It uses the AQL provided to calculate the relevant artifacts for the Release Bundle.
- Store request. It sends a request to copy all required artifacts to a storing repository for immutability.
When creating a large Release Bundle (e.g. >300 package), you may run into the following error as with the default timeout setting (120 seconds), it might not be enough to gather all the data.
Default exception mapper caught: java.net.SocketTimeoutException: Read timed out
To overcome this issue, you can make the following change to increase the timeout value:
1. Copy the distribution.config.latest.yml file under the $JFROG_HOME/distribution/var/etc/distribution/ directory and rename it to distribution.config.import.yml file.
2. Open the file and edit the following property,
artifactory-client: client-long-socket-timeout: 120000 # default value in ms
3. Save and restart Distribution.