- This topic has 13 replies, 6 voices, and was last updated 13 years, 1 month ago by
Laura.
-
AuthorPosts
-
January 19, 2012 at 3:32 am #381561
Confusion
ParticipantHi guys there i have built an instaDMG image and have everything working fine except for one last annoying bug that i cant work out.
There is a proxy authentication box that pops up and can not be cancelled. It also comes in front of all other windows.
The strange thing is that it has our uni proxy details on the box even though no proxy details are set in the network area.I cant include a picture for some reason. But the box has a big red stop sign with a ! in it. the title is ” Proxy Authentication Required”
I have disabled the “Automatically update safe downloads list” option but this has not worked.
I thought it might be trying to get apple updates so i have set our server as a software update server and am pointing the machins to that using MCX.
I dont know if that is working correctly though. I might use defaults to manually write it to the plist.Short of that i am stumped. I need to know what is causing it so our students dont smash their quota with it. is it possible for it to be tied to iCloud somehow?
Has anybody heard of anything?Thanks in advance
Nick
January 20, 2012 at 4:01 am #381562larkost
ParticipantInstaUp2Date is trying to get updates but not the same one as Software Update.app uses. Those are always machine-specific and for imaging you should (almost) never use them. Rather it is looking to go out and use the updates that you can get to throuh http://support.apple.com.
Proxys are a really tough thing to program for, since most of us don’t have them (including the programmers), and every one of them has its own quirks. If you can get the python urllib2 working with your proxy, then you can probably get InstaUp2Date to work there too. Otherwise, not so much.
January 21, 2012 at 10:41 am #38156388gb525dxQK4gt6u
ParticipantYou can always download the Apple updates and put them in the InstaUp2DateCache folder with the checksum on the file name.
If the resource is cached the application won’t go outside to download it.
Most of the necessary checksums are on the vanilla catalog
January 23, 2012 at 1:08 am #381564Confusion
ParticipantThis is happening on a machine that has already been deployed. Not on the machine i am trying to build the image on.
The building process is fine and i have an image that is built with create user working.
When i deploy this image on to a workstation and log in is when i get this proxy pop upAre there remanence of instaDMG in the image that gets deployed?
If so where?January 25, 2012 at 4:02 am #381567Confusion
Participantfixed it with this
[code]sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.UserNotificationCenter.plist[/code]
no more pop up YAY 😛 😛 😛 😛 😛 😛 😛
January 25, 2012 at 4:12 pm #381570larkost
ParticipantThat is not fixing the problem, that is (near litteraly) killing the messenger. The User Notification Center is used by a number of backgroun processes to… well… notify the user of things that they probably need to know. You have just killed that communication channel.
There is a reason you are getting this message, and you should figure it out, not ignore it.
January 31, 2012 at 11:00 pm #381584Confusion
ParticipantI understand it is not fixing it and my logs are filling up to prove it. But i have a deadline and need to have an image ready for when students come back in a couple of weeks.It appears to be common with schools and proxies. It is the AuthBrokerAgent that is doing it but i have no idea why.
It happens and an absolutely fresh and clean install as soon as you log into the machineThere is a thread here about it and it is something that has started with 10.7
https://jamfnation.jamfsoftware.com/discussion.html?id=3448I have seen elsewhere that people have had success with
[code]sudo launchctl unload “/System/Library/LaunchAgents/com.apple.cfnetwork.AuthBrokerAgent.plist”[/code]the only problem is it gets an error and can’t unload it from launchctl
If i do a [code]launchctl list[/code] i can see that it is in there i just can’t unload itFebruary 1, 2012 at 12:49 am #381590Allister Banks
ParticipantHey Confusion,
Really, especially since your on a deadline, downloading the files manually and placing them in the Caches/InstaUp2DateCache will make it so the network never gets hit when InstaUp2Date runs.
There is one other thing you could try as well:
[url]https://gist.github.com/1677638[/url]
Let us know,Allister
February 1, 2012 at 1:34 am #381592Confusion
ParticipantSorry i am pretty new to instaDMG.
If the image has been created and deployed, how is instaup2date causing this.I have had a look on an image that has been deployed and i can’t see /Caches anywhere.
Is there something i am overlooking?
i am not having a problem with instaup2date not being able to get updates when building the image. The problem is with an image that has been created with instaDMG and then deployed to a student lab.February 1, 2012 at 2:58 am #381594Allister Banks
ParticipantWow Confusion, we totally didn’t read your description of the original issue closely enough! Sorry about that. In a thread that it seems you might have contributed to,
[url]https://discussions.apple.com/thread/3458072?start=0&tstart=0[/url]
people seem to be discussing various issues without confirming they’re experiencing the same symptoms(specific logged errors). If you had asked your network admins and they say there are no proxy authentication settings necessary to deploy(which you should be able to set with a script leveraging this: [code]networksetup -setwebproxy networkservice domain portnumber authenticated username password[/code]
Depending on what ALL of your logs say at the time alerts are shown, other factors may be in play, I’d recommend posting to wider read lists like macenterprise [url]http://groups.google.com/group/macenterprise/[/url]
Sorry that I don’t have direct knowledge from having run in to this issue. Good luck! AllisterFebruary 1, 2012 at 4:22 am #381597Confusion
ParticipantThanks for the help allister i really appreciate it.
I have tried joining the macenterprise group numerous time and have emailed the group owner to get membership but it never gets granted so all i can do is read them.
I have just sent off another requestFebruary 1, 2012 at 5:44 pm #381598Greg Neagle
Participant[QUOTE][u]Quote by: Confusion[/u][p]Thanks for the help allister i really appreciate it.
I have tried joining the macenterprise group numerous time and have emailed the group owner to get membership but it never gets granted so all i can do is read them.
I have just sent off another request[/p][/QUOTE]You cannot join the MacEnterprise [b]Google Group[/b]; it is a read-only archive of MacEnterprise mail list messages.
You [b]CAN[/b] join the MacEnterprise [b]mailing list[/b], and the link to do so is at the bottom of every single message to the list.
February 1, 2012 at 11:39 pm #381599Confusion
ParticipantI have deleted the /System/Library/LaunchAgents/com.apple.cfnetwork.AuthBrokerAgent.plist
According to post on Macrumors this is harmless.I can confirm that my logs are no longer getting filled up with AuthBrokerAgent requiring access to our proxy
Oh and thanks greg i have subscribed to the mailing list now and NOT the google group.
Sorry for being a noob :SAlso just on a side note The University Of Adelaide is now using Munki for software deployment to its student fleet (only 120 machines)
Our pilot ends this week and now with this proxy issue resolved we have sign off from everyone and can start rolling out.
Management is really impressed by what munki has been able to do and asked “why isn’t it that easy with windows” LOL
The best part is that i did it all for free for them they didn’t have to buy any expensive suites.
So with instaDMG, DeployStudio and Munki we have a new fully managed Mac fleet that runs perfectly *fingers crossed*February 24, 2012 at 6:47 am #381658Laura
ParticipantDEAR LORD THANKYOU
This has been an issue for me also with an authenticating proxy, Apple couldn’t even tell me what was going on
thankyouthankyouthankyou for working through this and posting your findings you are a saviour.
-
AuthorPosts
- You must be logged in to reply to this topic.
Comments are closed