ARTIFACTORY: Why am I getting intermittent 500 errors when uploading large files?

ARTIFACTORY: Why am I getting intermittent 500 errors when uploading large files?

AuthorFullName__c
Luzeen Halaby
articleNumber
000005653
ft:sourceType
Salesforce
FirstPublishedDate
2023-03-30T06:23:03Z
lastModifiedDate
2023-03-29
VersionNumber
1

Sometimes you may observe the following behavior, where you are uploading a large file using REST or UI when running Artifactory behind Nginx, but it fails with a 500 Internal Server error:

User-added image

Taking a look at the request within the artifactory-request.log files, the request seems to be received by the node. The status code might be 200, 201, or 202:

*****|user|PATCH|/api/docker/docker-local/v2/Path/To/Artifact/111111111111111111|202|xxxxxxx|0|xxx|xxxxx

First we need to confirm if the issue is actually from the Nginx,by bypassing Nginx and uploading the same file directly through Artifactory’s node IP.
If this works, we can conclude that the issue is happening at Nginx’s end.

As a next step, we need to look into the logs and configuration of Nginx.