Downloading remote agent jar hangs

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Symptoms

When attempting to download the remote agent JAR using a web browser (on the same machine as the server) from http://my-server/admin/agent/addRemoteAgent.action the download hangs at 99% done and never completes.

When using wget to download from an Ubuntu machine the download hangs at the same point, then a couple of seconds later reports "Connection closed at byte 97052164. Retrying."

1. When trying to download the file using the server's public hostname (going over a public-facing router), the download hangs.

2. When trying to download using the server's internal IP, the download works.

Cause/Resolution

All the symptoms are indicators that something is blocking the file downloads. Check if there is any URL redirection, any firewall or antivirus rule that might block the download.

For example, the problem can be an ESET AntiVirus's HTTP Scanner feature causing large downloads (100MB or greater) to hang randomly. Disabling the HTTP Scanner feature fixes the problem.

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.