HTTP Distribution Point failing

erice
New Contributor

Hi,

we are trying to use a OSX 10.11 HTTP distribution point. We have installed 10.11 with all fixes and installed the server package and created a HTTP server point to the CasperDP directory.

With a normal browser I can login to the server and download a package without any problems. However if I try to deploy a package via policy I get the following error:

The network connection was interrupted while downloading the package from http://corpserver.domain/Packages/My-Templates.pkg. Attempting to reconnect... Downloading My-Templates.pkg... Downloading http://Corpserver.domain/Packages/My-Templates.pkg... Error: My-Templates.pkg is not available on the HTTP server.

First I thought it was a HTTPS problem with a invalid certificate but even if I try it via HTTP port 80 I get the same error.

Downloading this packed from this path works fine in a browser.

Any ideals?

Thanks

Eric

1 ACCEPTED SOLUTION

were_wulff
Valued Contributor II

Hi @erice ,

Is this only happening with .pkg files, or do we see this behavior with .dmg files as well?

If it's only with .pkg files, we sometimes see that happen when the permissions on the package aren't quite what the JSS is looking for; in those cases, running sudo chmod -R 755 /path/to/pkg usually does the trick.

Please let us know if that seems to take care of the problem.

Thanks!
Amanda Wulff
JAMF Software Support

View solution in original post

6 REPLIES 6

davidacland
Honored Contributor II
Honored Contributor II

Is the path available over WebDAV? If it's a http file share DP it will use WebDAV for the download.

If your using a Mac you could use the JDS installer if that's of interest.

were_wulff
Valued Contributor II

Hi @erice ,

Is this only happening with .pkg files, or do we see this behavior with .dmg files as well?

If it's only with .pkg files, we sometimes see that happen when the permissions on the package aren't quite what the JSS is looking for; in those cases, running sudo chmod -R 755 /path/to/pkg usually does the trick.

Please let us know if that seems to take care of the problem.

Thanks!
Amanda Wulff
JAMF Software Support

erice
New Contributor

Thanks for your help. This worked fine. I will have a scheduled job running on this now. But never the less I will try to get Egnyte to be our other DP. Let's see how that goes.

/Eric

Caist
New Contributor

I am having this same http share issue, but from a Windows Server. (Running 2012 R2)

slashnext
New Contributor II

@were.wulff hi i am having the same issue .you mentioned to run chmod command on the path of pkg,could you be more specific about this path? is it the local path of machine on which the package exist ? if so i tried with this command and deploy package from jamf ,still it shows that package is not available on HTTP server.

were_wulff
Valued Contributor II

@slashnext if you check the date, you'll see that answer is roughly five years old and, given that, may not even apply anymore, especially if you're not using the version of the JSS that was available in late 2015.

I'd recommend contacting jamf support.