Package was not successfully downloaded -1202

atomczynski
Contributor III

Upgraded on prem Jamf to the current version (10.22.1).
Prior to the upgrade we were experiencing DP problems not only with large downloads but small as well. I repackaged Office and the new file name did not have spaces and that helped for a while.

For some time now all downloads from the DP fail.

With Jamf 10.22.1 I see the following error message:

Error: Package was not successfully downloaded. -1202
Error: insertthenameofyourpackage.pkg is not available on the HTTP server.

The DP is on a Mac running the Server.app with htttp/websites service.

6 REPLIES 6

Phantom5
Contributor

Exact same configuration we are seeing the same behaviour. Not on all computers thou, but some computers are unable to download a package.

Funny thing the package is able to download successfully if we copy the full url into a browser. Also the same exact package is downloading without problems on other computers.

Error: Package was not successfully downloaded. -1202

k84
New Contributor III

I am also getting the same exact issue.

Test Jamf DP has been set up with HTTPS/SSL The DP is on 10.13.
Tested running a custom event, HTTP & HTTPS & using the FQDN/Jamshare/packages/dockutil-2.0.5.pkg all on a test machines
The CA that was generated on the Mac Mini has been uploaded to Jamf > Config Profile > Installed as root.

So now testing with DEP
Tried HTTP all fine as expected
With HTTPS

Downloading https://FQDN/JamfShare/Packages/dockutil-2.0.5.pkg...
Error: Package was not successfully downloaded. -1202
Could not connect to the HTTP server to download dockutil-2.0.5.pkg.

Did you manage to resolve your issue @atomczynski & @f.deis

donmontalvo
Esteemed Contributor II

Seems to happen on DPs configured to use HTTPS here as well.

Error: Package was not successfully downloaded. -1202
The network connection was interrupted while downloading the package from https://server.domain.com/folder/folder/packagename.pkg Attempting to reconnect...

Instead of resuming the download, it moves on to the next package.

Opening a ticket with Jamf support.

--
https://donmontalvo.com

atomczynski
Contributor III

Upgraded to 10.24.2 recently.

Extracted the certificate from the DP server and pushed out via profile to a Jamf client.
No change.

donmontalvo
Esteemed Contributor II

@atomczynski if the DP has a private PKI (internal) SSL cert, the root/intermediate certs would need to be in place for the cert chain to be complete, and for the DP(s) to be trusted.

If the SSL cert is self-signed, or If certs are being PKG'd, that's a whole other conversation. #racecondition

--
https://donmontalvo.com

vobizzy
New Contributor III

Had the same issue and after seeing @donmontalvo post, i reactivated the PKI config profiles and tried it again. I can confirm it works.