Communication problems between fog client and server

  • Moderator

    @LittleTux Do you have this on a few hosts or all of them?


  • @sebastian-roth Hi Sebastiannd thanks for the quick answer :-).

    I do the 3 steps and i got this in the fog.log after rebooting FOGService :

    ------------------------------------------------------------------------------
    --------------------------------Authentication--------------------------------
    ------------------------------------------------------------------------------
     01/12/2020 08:31:04 Client-Info Version: 0.12.0
     01/12/2020 08:31:04 Client-Info OS:      Windows
     01/12/2020 08:31:04 Middleware::Authentication Waiting for authentication timeout to pass
     01/12/2020 08:33:04 Middleware::Communication Download: http://fogserver/fog/management/other/ssl/srvpublic.crt
     01/12/2020 08:33:04 Data::RSA FOG Server CA cert found
     01/12/2020 08:33:04 Middleware::Authentication Cert OK
     01/12/2020 08:33:04 Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before
     01/12/2020 08:33:04 Middleware::Authentication ERROR: Could not get security token
     01/12/2020 08:33:04 Middleware::Authentication ERROR: Le fichier 'C:\Program Files (x86)\FOG\token.dat' est introuvable.
     01/12/2020 08:33:04 Middleware::Communication POST URL: http://fogserver/fog/management/index.php?sub=requestClientInfo&authorize&newService
     01/12/2020 08:33:04 Middleware::Response Failed to decrypt data on server
    
    
     01/12/2020 08:33:04 Middleware::Communication URL: http://fogserver/fog/management/index.php?sub=requestClientInfo&configure&newService&json
     01/12/2020 08:33:04 Middleware::Response Success
     01/12/2020 08:33:04 Middleware::Communication URL: http://fogserver/fog/management/index.php?sub=requestClientInfo&mac=EC:B1:D7:55:FD:05&newService&json
     01/12/2020 08:33:04 Middleware::Authentication Waiting for authentication timeout to pass
     01/12/2020 08:35:04 Middleware::Communication Download: http://fogserver/fog/management/other/ssl/srvpublic.crt
     01/12/2020 08:35:04 Data::RSA FOG Server CA cert found
     01/12/2020 08:35:04 Middleware::Authentication Cert OK
     01/12/2020 08:35:04 Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before
     01/12/2020 08:35:04 Middleware::Authentication ERROR: Could not get security token
     01/12/2020 08:35:04 Middleware::Authentication ERROR: Le fichier 'C:\Program Files (x86)\FOG\token.dat' est introuvable.
     01/12/2020 08:35:04 Middleware::Communication POST URL: http://fogserver/fog/management/index.php?sub=requestClientInfo&authorize&newService
     01/12/2020 08:35:04 Middleware::Response Failed to decrypt data on server
     01/12/2020 08:35:04 Middleware::Response Success
     01/12/2020 08:35:04 Middleware::Communication URL: http://fogserver/fog/service/getversion.php?clientver&newService&json
     01/12/2020 08:35:04 Middleware::Communication URL: http://fogserver/fog/service/getversion.php?newService&json
    
     01/12/2020 08:35:04 Service Creating user agent cache
     01/12/2020 08:35:04 Middleware::Response ERROR: Unable to get subsection
     01/12/2020 08:35:04 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
     01/12/2020 08:35:04 Middleware::Response ERROR: Unable to get subsection
     01/12/2020 08:35:04 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
     01/12/2020 08:35:04 Middleware::Response ERROR: Unable to get subsection
     01/12/2020 08:35:04 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
     01/12/2020 08:35:04 Service Initializing modules
    
    

    Have a nice day or night (not sure where you live :-)), regards.

  • Moderator

    @LittleTux Please try the following on this particular host:

    • stop FOGService
    • remove file C:\Program Files (x86)\FOG\token.dat (see if you have the file in a sub directory and delete as well)
    • start FOGService
  • Moderator

    @littletux said in Communication problems between fog client and server:

    Middleware::Response Failed to decrypt data on server

    This is the main error we need to look into. It’s interesting that “Reset Encryption Data” did not help in this case. I’ll look through the code later on to see why this might come up.

336
Online

9.1k
Users

15.7k
Topics

145.9k
Posts