I’m having some trouble getting the FOG Client to work, and I’d be very appreciative of any help anyone here might be able to provide.
Server
FOG 1.5.0-RC-11
OS: Ubuntu 16.04
Client
FOG Client 0.11.12
OS: Windows 8.1
I’ve been using FOG (server only) without issue for several years now, but I recently migrated my ancient FOG 1.2.0 images and database over to a new server with a fresh install of the latest FOG trunk code. I updated because I wanted to start using the FOG client for the first time, and so much has changed with that since 1.2.0, that I figured it wasn’t even worth starting on the legacy client version.
Everything is working perfectly with the new FOG server including the new web UI, PXE booting, and image deploy & capture.
I tried installing the FOG client on a clean Win 8.1 VM to test it out and play with it, and while the installer completes without error, and after a reboot the FOG tray icon shows up as expected, I can’t seem to get the client to actually talk to the server. Here is the fog.log
from the client:
2/1/2018 8:10 PM Main Overriding exception handling
2/1/2018 8:10 PM Main Bootstrapping Zazzles
2/1/2018 8:10 PM Controller Initialize
2/1/2018 8:10 PM Controller Start
2/1/2018 8:10 PM Service Starting service
2/1/2018 8:10 PM Bus Became bus server
2/1/2018 8:10 PM Bus Emmiting message on channel: Status
2/1/2018 8:10 PM Service Invoking early JIT compilation on needed binaries
------------------------------------------------------------------------------
--------------------------------Authentication--------------------------------
------------------------------------------------------------------------------
2/1/2018 8:10 PM Client-Info Version: 0.11.12
2/1/2018 8:10 PM Client-Info OS: Windows
2/1/2018 8:10 PM Middleware::Authentication Waiting for authentication timeout to pass
2/1/2018 8:10 PM Middleware::Communication Download: https://fog.redacteddomain.com/fog/management/other/ssl/srvpublic.crt
2/1/2018 8:10 PM Middleware::Communication ERROR: Could not download file
2/1/2018 8:10 PM Middleware::Communication ERROR: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
2/1/2018 8:10 PM Middleware::Authentication ERROR: Could not authenticate
2/1/2018 8:10 PM Middleware::Authentication ERROR: The system cannot find the file specified.
If I let things run for a while, the “Authentication” section starts repeating itself verbatim every minute or so as it keeps adding to the end of the log.
Taking the error message at face value, I tried manually accessing https://fog.redacteddomain.com/fog/management/other/ssl/srvpublic.crt
from a web browser on the client, and I was able to download the cert file without issue, so I’m at a bit of a loss as to why the client “Could not download file”.
Other things I’ve tried:
- Installing with both the Smart Installer and the MSI
- Installing the client in both HTTP and HTTPS mode
- Running a packet capture on the client. There’s definitely a conversation happening between the client and server, but it’s hard to tell exactly what’s happening due to the encryption. It looks like the client is closing the TCP socket right after the server responds to the handshake. I can supply the pcap if that would be helpful.
Does anyone have any bright ideas for how I can get the FOG client working? If you need more information, please let me know, and I’ll be happy to provide it. Thanks.