It looks like an issue in munki. Here are more updates. As I mentioned in an earlier email, running through root user with terminal command managed software update is working. But through managessoftware UI it's not.
Here is the log for both scenarios.
Non_working Through Managed Software Center
Nov 10 2021 21:20:59 -0800 managedsoftwareupdate run triggered by /private/tmp/.com.googlecode.munki.updatecheck.launchd
Nov 10 2021 21:20:59 -0800 ### Starting managedsoftwareupdate run: manualcheck ###
Nov 10 2021 21:20:59 -0800 Starting...
Nov 10 2021 21:21:01 -0800 Completed creation of client keychain at /Library/Managed Installs/Keychains/munki.keychain
Nov 10 2021 21:21:01 -0800 ### Beginning managed software check ###
Nov 10 2021 21:21:01 -0800 Checking for available updates...
Nov 10 2021 21:21:01 -0800 No client id specified. Requesting Subrats-Mac.local...
Nov 10 2021 21:21:01 -0800 Getting manifest Subrats-Mac.local...
Nov 10 2021 21:21:05 -0800 Download error -1005: The network connection was lost.
Nov 10 2021 21:21:05 -0800 Headers: None
Nov 10 2021 21:21:05 -0800 ERROR: Could not retrieve managed install primary manifest.
Nov 10 2021 21:21:05 -0800 ### End managed software check ###
Nov 10 2021 21:21:05 -0800 Finishing...
Nov 10 2021 21:21:05 -0800 Saving application inventory...
Nov 10 2021 21:21:09 -0800 ### Ending managedsoftwareupdate run ###
Nov 10 2021 21:28:32 -0800 managedsoftwareupdate run triggered by /private/tmp/.com.googlecode.munki.updatecheck.launchd
Nov 10 2021 21:28:32 -0800 ### Starting managedsoftwareupdate run: manualcheck ###
Nov 10 2021 21:28:32 -0800 Starting...
Nov 10 2021 21:28:33 -0800 DEBUG2: No CA cert info provided, so nothing to add to System keychain.
Nov 10 2021 21:28:33 -0800 DEBUG1: Client cert path: /Library/Managed Installs/certs/munki_client.pem
Nov 10 2021 21:28:33 -0800 DEBUG1: Client key path: None
Nov 10 2021 21:28:33 -0800 DEBUG1: Creating client keychain...
Nov 10 2021 21:28:33 -0800 DEBUG2: Adding client keychain to search path...
Nov 10 2021 21:28:33 -0800 DEBUG2: Importing client cert and key...
Nov 10 2021 21:28:33 -0800 DEBUG2: 1 key imported.
1 certificate imported.
Nov 10 2021 21:28:33 -0800 DEBUG1: Creating identity preferences...
Nov 10 2021 21:28:33 -0800 DEBUG2: Default keychain is "/Library/Keychains/System.keychain"
Nov 10 2021 21:28:33 -0800 DEBUG2: Adding identity preference for https://myrepourl/munki/...
Nov 10 2021 21:28:33 -0800 DEBUG2: Adding identity preference for https://myrepourl/munki/manifests/...
Nov 10 2021 21:28:33 -0800 DEBUG1: Removing /Library/Managed Installs/Keychains/munki.keychain from search path...
Nov 10 2021 21:28:33 -0800 Completed creation of client keychain at /Library/Managed Installs/Keychains/munki.keychain
Nov 10 2021 21:28:33 -0800 DEBUG2: Adding client keychain to search path...
Nov 10 2021 21:28:34 -0800 ### Beginning managed software check ###
Nov 10 2021 21:28:34 -0800 Checking for available updates...
Nov 10 2021 21:28:34 -0800 No client id specified. Requesting Subrats-Mac.local...
Nov 10 2021 21:28:34 -0800 DEBUG2: Manifest base URL is: https://myrepourl/munki/manifests/
Nov 10 2021 21:28:34 -0800 Getting manifest Subrats-Mac.local...
Nov 10 2021 21:28:34 -0800 DEBUG2: Options: {'url': 'https://myrepourl/munki/manifests/Subrats-Mac.local', 'file': '/Library/Managed Installs/manifests/Subrats-Mac.local.download', 'follow_redirects': 'all', 'ignore_system_proxy': False, 'can_resume': False, 'additional_headers': {'User-Agent': 'managedsoftwareupdate/5.5.0.4360 Darwin/20.6.0'}, 'download_only_if_changed': True, 'cache_data': {
}, 'logging_function': <function display_debug2 at 0x10717c040>, 'pkginfo': None}
Nov 10 2021 21:28:34 -0800 DEBUG2: URLSession_task_didReceiveChallenge_completionHandler_
Nov 10 2021 21:28:34 -0800 DEBUG2: Authentication challenge for Host:myrepourl Realm: None AuthMethod: NSURLAuthenticationMethodServerTrust
Nov 10 2021 21:28:34 -0800 DEBUG2: Allowing OS to handle authentication request
Nov 10 2021 21:28:35 -0800 DEBUG2: URLSession_task_didReceiveChallenge_completionHandler_
Nov 10 2021 21:28:35 -0800 DEBUG2: Authentication challenge for Host: myrepourl Realm: None AuthMethod: NSURLAuthenticationMethodClientCertificate
Nov 10 2021 21:28:35 -0800 DEBUG2: Client certificate required
Nov 10 2021 21:28:35 -0800 DEBUG2: Accepted certificate-issuing authority: Common Name: xxx
Nov 10 2021 21:28:35 -0800 DEBUG2: Accepted certificate-issuing authority: Common Name: xxx Cloud Services
Nov 10 2021 21:28:35 -0800 DEBUG2: Found matching identity
Nov 10 2021 21:28:35 -0800 DEBUG2: Will attempt to authenticate
Nov 10 2021 21:28:36 -0800 DEBUG2: URLSession_task_didReceiveChallenge_completionHandler_
Nov 10 2021 21:28:36 -0800 DEBUG2: Authentication challenge for Host: myrepourl Realm: None AuthMethod: NSURLAuthenticationMethodServerTrust
Nov 10 2021 21:28:36 -0800 DEBUG2: Allowing OS to handle authentication request
Nov 10 2021 21:28:37 -0800 DEBUG2: URLSession_task_didReceiveChallenge_completionHandler_
Nov 10 2021 21:28:37 -0800 DEBUG2: Authentication challenge for Host: myrepourl Realm: None AuthMethod: NSURLAuthenticationMethodClientCertificate
Nov 10 2021 21:28:37 -0800 DEBUG2: Client certificate required
Nov 10 2021 21:28:37 -0800 DEBUG2: Accepted certificate-issuing authority: Common Name: xxx
Nov 10 2021 21:28:37 -0800 DEBUG2: Accepted certificate-issuing authority: Common Name: xxx Cloud Services
Nov 10 2021 21:28:37 -0800 DEBUG2: Found matching identity
Nov 10 2021 21:28:37 -0800 DEBUG2: Will attempt to authenticate
Nov 10 2021 21:28:38 -0800 DEBUG2: URLSession_task_didReceiveChallenge_completionHandler_
Nov 10 2021 21:28:38 -0800 DEBUG2: Authentication challenge for Host: myrepourl Realm: None AuthMethod: NSURLAuthenticationMethodClientCertificate
Nov 10 2021 21:28:38 -0800 DEBUG2: Client certificate required
Nov 10 2021 21:28:38 -0800 DEBUG2: Accepted certificate-issuing authority: Common Name: xxx
Nov 10 2021 21:28:38 -0800 DEBUG2: Accepted certificate-issuing authority: Common Name:xxx Cloud Services
Nov 10 2021 21:28:38 -0800 DEBUG2: Found matching identity
Nov 10 2021 21:28:38 -0800 DEBUG2: Will attempt to authenticate
Nov 10 2021 21:28:38 -0800 Download error -1005: The network connection was lost.
Nov 10 2021 21:28:38 -0800 Headers: None
Nov 10 2021 21:28:38 -0800 ERROR: Could not retrieve managed install primary manifest.
Nov 10 2021 21:28:38 -0800 ### End managed software check ###
Nov 10 2021 21:28:38 -0800 DEBUG1: Nothing found to precache.
Nov 10 2021 21:28:38 -0800 DEBUG1: Removing /Library/Managed Installs/Keychains/munki.keychain from search path...
Nov 10 2021 21:28:38 -0800 Finishing...
Nov 10 2021 21:28:38 -0800 Saving application inventory...
Nov 10 2021 21:28:38 -0800 DEBUG1: Getting info on currently installed applications...
Nov 10 2021 21:28:42 -0800 ### Ending managedsoftwareupdate run ###
Nov 10 2021 21:38:46 -0800 ### Starting managedsoftwareupdate run: auto ###
Nov 10 2021 21:38:46 -0800 Starting...
Nov 10 2021 21:38:47 -0800 DEBUG2: No CA cert info provided, so nothing to add to System keychain.
Nov 10 2021 21:38:47 -0800 DEBUG1: Client cert path: /Library/Managed Installs/certs/munki_client.pem
Nov 10 2021 21:38:47 -0800 DEBUG1: Client key path: None
Nov 10 2021 21:38:47 -0800 DEBUG1: Creating client keychain...
Nov 10 2021 21:38:47 -0800 DEBUG2: Adding client keychain to search path...
Nov 10 2021 21:38:47 -0800 DEBUG2: Importing client cert and key...
Nov 10 2021 21:38:47 -0800 DEBUG2: 1 key imported.
1 certificate imported.
Nov 10 2021 21:38:47 -0800 DEBUG1: Creating identity preferences...
Nov 10 2021 21:38:47 -0800 DEBUG2: Default keychain is "/Library/Keychains/System.keychain"
Nov 10 2021 21:38:47 -0800 DEBUG2: Adding identity preference for https://myrepourl/munki/...
Nov 10 2021 21:38:47 -0800 DEBUG2: Adding identity preference for https://myrepourl/munki/manifests/...
Nov 10 2021 21:38:47 -0800 DEBUG1: Removing /Library/Managed Installs/Keychains/munki.keychain from search path...
Nov 10 2021 21:38:47 -0800 Completed creation of client keychain at /Library/Managed Installs/Keychains/munki.keychain
Nov 10 2021 21:38:47 -0800 DEBUG2: Adding client keychain to search path...
Nov 10 2021 21:38:48 -0800 ### Beginning managed software check ###
Nov 10 2021 21:38:48 -0800 Checking for available updates...
Nov 10 2021 21:38:48 -0800 No client id specified. Requesting Subrats-Mac.local...
Nov 10 2021 21:38:48 -0800 DEBUG2: Manifest base URL is: https:/myrepourl/munki/manifests/
Nov 10 2021 21:38:48 -0800 Getting manifest Subrats-Mac.local...
Nov 10 2021 21:38:48 -0800 DEBUG2: Options: {'url': 'https://myrepourl/munki/manifests/Subrats-Mac.local', 'file': '/Library/Managed Installs/manifests/Subrats-Mac.local.download', 'follow_redirects': 'all', 'ignore_system_proxy': False, 'can_resume': False, 'additional_headers': {'User-Agent': 'managedsoftwareupdate/5.5.0.4360 Darwin/20.6.0'}, 'download_only_if_changed': True, 'cache_data': {
}, 'logging_function': <function display_debug2 at 0x10990c040>, 'pkginfo': None}
Nov 10 2021 21:38:48 -0800 DEBUG2: URLSession_task_didReceiveChallenge_completionHandler_
Nov 10 2021 21:38:48 -0800 DEBUG2: Authentication challenge for Host: myrepourl Realm: None AuthMethod: NSURLAuthenticationMethodServerTrust
Nov 10 2021 21:38:48 -0800 DEBUG2: Allowing OS to handle authentication request
Nov 10 2021 21:38:49 -0800 DEBUG2: URLSession_task_didReceiveChallenge_completionHandler_
Nov 10 2021 21:38:49 -0800 DEBUG2: Authentication challenge for Host: myrepourl Realm: None AuthMethod: NSURLAuthenticationMethodClientCertificate
Nov 10 2021 21:38:49 -0800 DEBUG2: Client certificate required
Nov 10 2021 21:38:49 -0800 DEBUG2: Accepted certificate-issuing authority: Common Name: xxxx
Nov 10 2021 21:38:49 -0800 DEBUG2: Accepted certificate-issuing authority: Common Name: xxx Cloud Services
Nov 10 2021 21:38:49 -0800 DEBUG2: Found matching identity
Nov 10 2021 21:38:49 -0800 DEBUG2: Will attempt to authenticate
Nov 10 2021 21:38:50 -0800 DEBUG2: URLSession_task_didReceiveChallenge_completionHandler_
Nov 10 2021 21:38:50 -0800 DEBUG2: Authentication challenge for Host: myrepourl Realm: None AuthMethod: NSURLAuthenticationMethodClientCertificate
Nov 10 2021 21:38:50 -0800 DEBUG2: Client certificate required
Nov 10 2021 21:38:50 -0800 DEBUG2: Accepted certificate-issuing authority: Common Name: xxx
Nov 10 2021 21:38:50 -0800 DEBUG2: Accepted certificate-issuing authority: Common Name: xxx Cloud Services
Nov 10 2021 21:38:50 -0800 DEBUG2: Found matching identity
Nov 10 2021 21:38:50 -0800 DEBUG2: Will attempt to authenticate
Nov 10 2021 21:38:51 -0800 DEBUG2: URLSession_task_didReceiveChallenge_completionHandler_
Nov 10 2021 21:38:51 -0800 DEBUG2: Authentication challenge for Host: myrepourl Realm: None AuthMethod: NSURLAuthenticationMethodServerTrust
Nov 10 2021 21:38:51 -0800 DEBUG2: Allowing OS to handle authentication request
Nov 10 2021 21:38:51 -0800 DEBUG2: URLSession_task_didReceiveChallenge_completionHandler_
Nov 10 2021 21:38:51 -0800 DEBUG2: Authentication challenge for Host: myrepourl Realm: None AuthMethod: NSURLAuthenticationMethodClientCertificate
Nov 10 2021 21:38:51 -0800 DEBUG2: Client certificate required
Nov 10 2021 21:38:51 -0800 DEBUG2: Accepted certificate-issuing authority: Common Name: xxxx
Nov 10 2021 21:38:51 -0800 DEBUG2: Accepted certificate-issuing authority: Common Name: xxx Cloud Services
Nov 10 2021 21:38:51 -0800 DEBUG2: Found matching identity
Nov 10 2021 21:38:51 -0800 DEBUG2: Will attempt to authenticate
Nov 10 2021 21:38:51 -0800 Download error -1005: The network connection was lost.
Nov 10 2021 21:38:51 -0800 Headers: None
Nov 10 2021 21:38:51 -0800 ERROR: Could not retrieve managed install primary manifest.
Nov 10 2021 21:38:51 -0800 ### End managed software check ###
Nov 10 2021 21:38:51 -0800 DEBUG1: Nothing found to precache.
Nov 10 2021 21:38:51 -0800 DEBUG1: Removing /Library/Managed Installs/Keychains/munki.keychain from search path...
Nov 10 2021 21:38:51 -0800 Finishing...
Nov 10 2021 21:38:51 -0800 Saving application inventory...
Nov 10 2021 21:38:51 -0800 DEBUG1: Getting info on currently installed applications...
Nov 10 2021 21:38:55 -0800 ### Ending managedsoftwareupdate run ###
Working (/usr/local/munki/managedsofteareupdate -vvv)
Last login: Wed Nov 10 21:11:51 on console
subratkheti@Subrats-Mac ~ % sudo /usr/local/munki/managedsoftwareupdate -vvv
Password:
Managed Software Update Tool
Copyright 2010-2021 The Munki Project
https://github.com/munki/munki
Starting...
No CA cert info provided, so nothing to add to System keychain.
Client cert path: /Library/Managed Installs/certs/munki_client.pem
Client key path: None
Creating client keychain...
Adding client keychain to search path...
Importing client cert and key...
1 key imported.
1 certificate imported.
Creating identity preferences...
Adding identity preference for https://myrepourl/munki/...
Adding identity preference for https://myrepourl/munki/manifests/...
Removing /Library/Managed Installs/Keychains/munki.keychain from search path...
Completed creation of client keychain at /Library/Managed Installs/Keychains/munki.keychain
Checking for available updates...
No client id specified. Requesting Subrats-Mac.local...
Manifest base URL is: https://myrepourl/munki/manifests/
Getting manifest Subrats-Mac.local...
Options: {'url': 'https://myrepourl/munki/manifests/Subrats-Mac.local', 'file': '/Library/Managed Installs/manifests/Subrats-Mac.local.download', 'follow_redirects': 'all', 'ignore_system_proxy': False, 'can_resume': False, 'additional_headers': {'User-Agent': 'managedsoftwareupdate/5.5.0.4360 Darwin/20.6.0'}, 'download_only_if_changed': False, 'cache_data': None, 'logging_function': <function display_debug2 at 0x10f4d30d0>, 'pkginfo': None}
URLSession_task_didReceiveChallenge_completionHandler_
Authentication challenge for Host: myrepourl Realm: None AuthMethod: NSURLAuthenticationMethodServerTrust
Allowing OS to handle authentication request
URLSession_task_didReceiveChallenge_completionHandler_
Authentication challenge for Host: myrepourl Realm: None AuthMethod: NSURLAuthenticationMethodClientCertificate
Client certificate required
Accepted certificate-issuing authority: Common Name: xxxx
Accepted certificate-issuing authority: Common Name: xxxx Cloud Services
Found matching identity
Will attempt to authenticate
Retrieving list of software for this machine...
0..20..40..60..80..100
Status: 200
Thanks & Regrads,
Subrat Kumar Kheti
Mob:09160111547
--
You received this message because you are subscribed to the Google Groups "munki-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-discuss/c61185e3-cbce-4260-8229-1edc76f6a0fan%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "munki-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-discuss/c61185e3-cbce-4260-8229-1edc76f6a0fan%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-discuss/CA%2B5EF88gbOfbQp-XMOj_EtLFXgAvwjLZLArX%3DnjhpA4z4MHRpQ%40mail.gmail.com.
You received this message because you are subscribed to a topic in the Google Groups "munki-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/munki-discuss/6sM9kOkFZOw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to munki-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-discuss/B335C6F4-9470-4811-8323-721CB2E5A681%40mac.com.