Fog Client fails to authenticate
-
Normally I see this kind of thing if the system dates are incorrect. Of course this doesn’t mean this is the case here, just stating what I normally see. Is it possible the FOG Server has fallen out of time and having issues because of this?
-
Not in this case I did find references to that being a possible solution I also went to the server directly and confirmed the cert is there and downloadable.
-
This is the first time we have tried to use the new client all our current installs are with the legacy client.
-
Ok I probably did something stupid I saw @Tom-Elliott response to https://forums.fogproject.org/topic/10168/linux-client-could-not-authenticate/3 and tried it on my server before I realized the steps were intended for the client not the server now my fog client log looks like this.
--------------------------------HostnameChanger------------------------------- ------------------------------------------------------------------------------ 31/05/2017 13:22 Client-Info Client Version: 0.11.12 31/05/2017 13:22 Client-Info Client OS: Windows 31/05/2017 13:22 Client-Info Server Version: 1.4.0 31/05/2017 13:22 Middleware::Response ERROR: Unable to get subsection 31/05/2017 13:22 Middleware::Response ERROR: Object reference not set to an instance of an object. ------------------------------------------------------------------------------ ---------------------------------SnapinClient--------------------------------- ------------------------------------------------------------------------------ 31/05/2017 13:22 Client-Info Client Version: 0.11.12 31/05/2017 13:22 Client-Info Client OS: Windows 31/05/2017 13:22 Client-Info Server Version: 1.4.0 31/05/2017 13:22 Middleware::Response ERROR: Unable to get subsection 31/05/2017 13:22 Middleware::Response ERROR: Object reference not set to an instance of an object. ------------------------------------------------------------------------------ --------------------------------PrinterManager-------------------------------- ------------------------------------------------------------------------------ 31/05/2017 13:22 Client-Info Client Version: 0.11.12 31/05/2017 13:22 Client-Info Client OS: Windows 31/05/2017 13:22 Client-Info Server Version: 1.4.0 31/05/2017 13:22 Middleware::Response ERROR: Unable to get subsection 31/05/2017 13:22 Middleware::Response ERROR: Object reference not set to an instance of an object. ------------------------------------------------------------------------------ --------------------------------PowerManagement------------------------------- ------------------------------------------------------------------------------ 31/05/2017 13:22 Client-Info Client Version: 0.11.12 31/05/2017 13:22 Client-Info Client OS: Windows 31/05/2017 13:22 Client-Info Server Version: 1.4.0 31/05/2017 13:22 Middleware::Response ERROR: Unable to get subsection 31/05/2017 13:22 Middleware::Response ERROR: Object reference not set to an instance of an object. ------------------------------------------------------------------------------ ----------------------------------UserTracker--------------------------------- ------------------------------------------------------------------------------ 31/05/2017 13:22 Client-Info Client Version: 0.11.12 31/05/2017 13:22 Client-Info Client OS: Windows 31/05/2017 13:22 Client-Info Server Version: 1.4.0 31/05/2017 13:22 Middleware::Response ERROR: Unable to get subsection 31/05/2017 13:22 Middleware::Response ERROR: Object reference not set to an instance of an object. 31/05/2017 13:22 Service Sleeping for 170 seconds
-
@Joseph-Hales What you did on the fogserver shouldn’t impact anything.
On the main client’s however, would you mind uninstalling and reinstalling the client to see if that helps?
-
first step I did on client was uninstalled the client then I did the mono cleanup and update then i reinstalled the client but I will try again
-
After reinstall of client I am back to the original issue of value cannot be null.
-
Also note the Reset Encryption button never appears for the host but I can add it to a group and see it there.
-
@Joseph-Hales Group’s don’t know the status, so I make that button always present.
-
Upgraded server to latest SVN today 6072 same issue as shown below.
------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 12/06/2017 17:35 Client-Info Version: 0.11.12 12/06/2017 17:35 Client-Info OS: Windows 12/06/2017 17:35 Middleware::Authentication Waiting for authentication timeout to pass 12/06/2017 17:35 Middleware::Communication Download: http://10.200.10.150/fog/management/other/ssl/srvpublic.crt 12/06/2017 17:35 Middleware::Authentication ERROR: Could not authenticate 12/06/2017 17:35 Middleware::Authentication ERROR: Value cannot be null. Parameter name: authority ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------
-
@Joseph-Hales Is this still an issue? Just wondering because we seem to have other reports on this.
-
I had this exact error message - also imaging windows 10 and also first time with new client, coming from legacy. For me this worked:
Through FOG GUI:
1.) Reset encryption data
2.) Put the FQDN in WITH the .net or whatever appendage (honeygroveisd.net) <-----works but -----> (honeygroveisd) did not.
3.) Clear out the OU container fields completely and leave it blank.I made sure these settings were mirrored both in the group settings and in the global settings. After doing all of this it no longer gave me errors.
I highly doubt all of these were necessary but I was getting desperate
-
@JLE For this particular errors I doubt that any of your actions helped in solving this. I suspect you reinstalled and that just solved the issue. See my post here: https://forums.fogproject.org/topic/10562/active-directory-join-fails
-
@sebastian-roth Hmm. I definitely do not reinstall anything after sysprep. I run .\sysprep /generalize /oobe /unattend /shutdown and then capture. I have the fog service set to manual with recovery options set to restart it. After the images are deployed the batch file does a net start fogservice and then they join the domain.
-
@sebastian-roth I have been busy with other things and finally revisited this issue. Recreating the certificate and tokens fixed my authentication problem I may have and AD join issue but will troubleshoot further before I open a new topic on it.
-
@Joseph-Hales Ok, thanks for reporting back on this. Will mark this solved then. Feel free to open a new post on the AD issue if you can’t figure it out yourself.