How can I resolve the “Unable to reach JFrog Artifactory” error while browsing Artifacts?

If you notice that the Artifactory UI is slow to respond and times out, you may receive the following error:

“Unable to reach JFrog Artifactory”

You may use the Chrome browser to capture the error when the issue happens by using the developer tools located here: 

Chrome Browser  Tools  More Tools  Developer Tools  Network (See here for more details).


<If the Chrome Network tool shows status 504>


For example, you may see an HTTP response like:

response: 

status: 504,

statusText: “Gateway Time-out”,

httpVersion: “HTTP/1.1”,


When this issue happens, please ensure that your proxy is not timing out before Artifactory finishes querying for the contents to browse. If the result shows that the browse failed with status 504, it may mean that your proxy timed out before Artifactory finished displaying the content

  • For Nginx as Proxy for Artifactory server, please try adding these variables (in seconds) to your nginx.conf file:

proxy_connect_timeout 600;

proxy_send_timeout 600;

proxy_read_timeout 600;

send_timeout 600;

        • For Apache as Proxy for Artifactory server, please try adding these variables (in seconds) to your httpd.conf file:

        # Timeout: The number of seconds before receives and sends time out.

        Timeout 600

        <If the Chrome Network tool shows status ERR_BLOCKED_BY_CLIENT>

        For example, you may see an HTTP response like:

           “response“: {

                  “status”: 0,

                  “statusText”: “”,

                  “httpVersion”: “unknown”,

                  “headers”: [],

                  “cookies”: [],

                  “content”: {

                    “size”: 0,

                    “mimeType”: “x-unknown”

                  },

                  “redirectURL”: “”,

                  “headersSize”: -1,

                  “bodySize”: -1,

                  “_transferSize”: 0,

                  “_error”: “net::ERR_BLOCKED_BY_CLIENT”

                }

        From research, this can be caused by Adblocker or other Ad blocking extensions (see this 3rd party site for more details). Please see if disabling Adblocker or white-listing Artifactory resolves the issue. Ad blocking browser extensions will detect a key word in the URI like “ad” and block it. 


        <Further Troubleshooting>

        If the solutions above do not resolve the issue, then please collect the following items and send them to JFrog Support for investigation:

        • Detailed steps to reproduce the issue
        • Capture the error when the issue happens: Chrome Browser  Tools  More Tools  Developer Tools  Network (See here for more details then save (using this instruction) and send us the saved HAR file.

        • Version number of Artifactory
        • Version number of proxy

        • Artifactory logs
        • Proxy (e.g. NGINX or APACHE) logs
        • Proxy (e.g. NGINX or APACHE) configuration files