hjuutilainen / munkiadmin

macOS app for managing Munki repositories
MIT License
371 stars 34 forks source link

cannot connect to server #207

Open jrpmedia opened 2 years ago

jrpmedia commented 2 years ago

Mac OSX Monterey 12.3.1 for Client and Server:

Client using Managed Software Centre Version 5.5.1.4395 (4395) Server using MuniAdmin v1.8.1 and AutoPkgr v1.5.7 (1492)

Apr 07 2022 16:46:09 +0100 ### Starting managedsoftwareupdate run: manualcheck ### Apr 07 2022 16:46:09 +0100 Starting... Apr 07 2022 16:46:09 +0100 ### Beginning managed software check ### Apr 07 2022 16:46:09 +0100 Checking for available updates... Apr 07 2022 16:46:09 +0100 Getting manifest JRP-ALL... Apr 07 2022 16:46:10 +0100 Download error -1004: Could not connect to the server. Apr 07 2022 16:46:10 +0100 Headers: None Apr 07 2022 16:46:10 +0100 ERROR: Could not retrieve managed install primary manifest. Apr 07 2022 16:46:10 +0100 ### End managed software check ### Apr 07 2022 16:46:10 +0100 Finishing... Apr 07 2022 16:46:10 +0100 Saving application inventory... Apr 07 2022 16:46:24 +0100 ### Ending managedsoftwareupdate run ### Apr 07 2022 16:57:28 +0100 managedsoftwareupdate run triggered by /private/tmp/.com.googlecode.munki.updatecheck.launchd Apr 07 2022 16:57:28 +0100 Performing cleanup tasks... Apr 07 2022 16:57:28 +0100 ### Starting managedsoftwareupdate run: manualcheck ### Apr 07 2022 16:57:28 +0100 Starting... Apr 07 2022 16:57:29 +0100 ### Beginning managed software check ### Apr 07 2022 16:57:29 +0100 Checking for available updates... Apr 07 2022 16:57:29 +0100 Getting manifest JRP-ALL... Apr 07 2022 16:57:29 +0100 Download error -1004: Could not connect to the server. Apr 07 2022 16:57:29 +0100 Headers: None Apr 07 2022 16:57:29 +0100 ERROR: Could not retrieve managed install primary manifest. Apr 07 2022 16:57:29 +0100 ### End managed software check ### Apr 07 2022 16:57:29 +0100 Finishing... Apr 07 2022 16:57:29 +0100 Saving application inventory... Apr 07 2022 16:57:38 +0100 ### Ending managedsoftwareupdate run ###

I can run others Apps on the Server end and they connect fine, but the Client does not want to connect to Munkin Admin on the server :-( So it is not a firewall, url, dns issue.

What am I possibly missing here please?

Thanks.

arubdesu commented 2 years ago

Munkiadmin does not create a webserver that hosts a repo of the code required. Please see the help resources on the munki wiki https://github.com/munki/munki/wiki#where-to-go-for-more-info-and-help

jrpmedia commented 2 years ago

FOUND IT! :-) The issue of 'Download error -1004: Could not connect to the server.' was because my SSL was not working. If I reverted to http:// all worked fine.