FOG Client cannot communicate with the server (token.data missing)
-
Little problem we found when we installed the fog client in windows (version 1.5.7 and client 0.11.16). It says token.data missing, and the log of apache2 shows some problems with the mac address format description in the hosts description on the server. The test host we test was kept with fog quick registration and fog added the mac address. We tried with other host which we registered manually on the server but we have the same error. I red a lot here but still cannot find a solution. I tried also to send few times the package MSI but it doesn’t work. On the server says Checked in but nothing happen.
Appache2 log :
foglabunix@foglabunix:/var/log/apache2$ cat error.log [Thu Dec 12 00:09:57.289277 2019] [mpm_prefork:notice] [pid 1168] AH00163: Apache/2.4.29 (Ubuntu) OpenSSL/1.1.1 configured -- resuming normal operations [Thu Dec 12 00:09:57.289294 2019] [core:notice] [pid 1168] AH00094: Command line: '/usr/sbin/apache2' [Thu Dec 12 08:51:13.786212 2019] [proxy_fcgi:error] [pid 3195] [client 192.168.148.192:44500] AH01071: Got error 'PHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/fog/lib/fog/fogpage.class.php on line 773\n', referer: https://192.168.149.43//fog/management/index.php?node=task&sub=activesnapins [Thu Dec 12 08:51:21.116018 2019] [proxy_fcgi:error] [pid 3190] [client 192.168.148.192:44534] AH01071: Got error 'PHP message: PHP Warning: Illegal offset type in /var/www/fog/lib/fog/fogmanagercontroller.class.php on line 296\n', referer: https://192.168.149.43//fog/management/index.php?node=host&sub=edit&id=3 [Thu Dec 12 08:58:21.686781 2019] [proxy_fcgi:error] [pid 3279] [client 192.168.148.192:44632] AH01071: Got error 'PHP message: PHP Warning: Illegal offset type in /var/www/fog/lib/fog/fogmanagercontroller.class.php on line 296\n', referer: https://192.168.149.43//fog/management/index.php?node=host&sub=edit&id=3 [Thu Dec 12 09:08:46.927498 2019] [proxy_fcgi:error] [pid 3191] [client 192.168.148.192:44804] AH01071: Got error 'PHP message: PHP Warning: Illegal offset type in /var/www/fog/lib/fog/fogmanagercontroller.class.php on line 296\n', referer: https://192.168.149.43//fog/management/index.php?node=host&sub=edit&id=3
fog log (c:\fog):
2019-12-12 09:06 Main Overriding exception handling 2019-12-12 09:06 Main Bootstrapping Zazzles 2019-12-12 09:06 Controller Initialize 2019-12-12 09:06 Controller Start 2019-12-12 09:06 Service Starting service 2019-12-12 09:06 Bus Became bus server 2019-12-12 09:06 Bus Emmiting message on channel: Status 2019-12-12 09:06 Service Invoking early JIT compilation on needed binaries ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 2019-12-12 09:06 Client-Info Version: 0.11.16 2019-12-12 09:06 Client-Info OS: Windows 2019-12-12 09:06 Middleware::Authentication Waiting for authentication timeout to pass 2019-12-12 09:06 Middleware::Communication Download: http://192.168.149.43/fog/management/other/ssl/srvpublic.crt 2019-12-12 09:06 Data::RSA FOG Server CA cert found 2019-12-12 09:06 Middleware::Authentication Cert OK 2019-12-12 09:06 Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before 2019-12-12 09:06 Middleware::Authentication ERROR: Could not get security token 2019-12-12 09:06 Middleware::Authentication ERROR: Le fichier 'C:\Program Files (x86)\FOG\token.dat' est introuvable. 2019-12-12 09:06 Middleware::Communication POST URL: http://192.168.149.43/fog/management/index.php?sub=requestClientInfo&authorize&newService 2019-12-12 09:06 Middleware::Response Invalid MAC address format ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 2019-12-12 09:06 Client-Info Version: 0.11.16 2019-12-12 09:06 Client-Info OS: Windows 2019-12-12 09:06 Middleware::Authentication Waiting for authentication timeout to pass 2019-12-12 09:08 Middleware::Communication Download: http://192.168.149.43/fog/management/other/ssl/srvpublic.crt 2019-12-12 09:08 Data::RSA FOG Server CA cert found 2019-12-12 09:08 Middleware::Authentication Cert OK 2019-12-12 09:08 Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before 2019-12-12 09:08 Middleware::Authentication ERROR: Could not get security token 2019-12-12 09:08 Middleware::Authentication ERROR: Le fichier 'C:\Program Files (x86)\FOG\token.dat' est introuvable. 2019-12-12 09:08 Middleware::Communication POST URL: http://192.168.149.43/fog/management/index.php?sub=requestClientInfo&authorize&newService 2019-12-12 09:08 Middleware::Response Invalid MAC address format ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 2019-12-12 09:08 Client-Info Version: 0.11.16 2019-12-12 09:08 Client-Info OS: Windows 2019-12-12 09:08 Middleware::Authentication Waiting for authentication timeout to pass 2019-12-12 09:10 Middleware::Communication Download: http://192.168.149.43/fog/management/other/ssl/srvpublic.crt 2019-12-12 09:10 Data::RSA FOG Server CA cert found 2019-12-12 09:10 Middleware::Authentication Cert OK 2019-12-12 09:10 Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before 2019-12-12 09:10 Middleware::Authentication ERROR: Could not get security token 2019-12-12 09:10 Middleware::Authentication ERROR: Le fichier 'C:\Program Files (x86)\FOG\token.dat' est introuvable. 2019-12-12 09:10 Middleware::Communication POST URL: http://192.168.149.43/fog/management/index.php?sub=requestClientInfo&authorize&newService 2019-12-12 09:10 Middleware::Response Invalid MAC address format ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 2019-12-12 09:10 Client-Info Version: 0.11.16 2019-12-12 09:10 Client-Info OS: Windows 2019-12-12 09:10 Middleware::Authentication Waiting for authentication timeout to pass 2019-12-12 09:12 Middleware::Communication Download: http://192.168.149.43/fog/management/other/ssl/srvpublic.crt 2019-12-12 09:12 Data::RSA FOG Server CA cert found 2019-12-12 09:12 Middleware::Authentication Cert OK 2019-12-12 09:12 Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before 2019-12-12 09:12 Middleware::Authentication ERROR: Could not get security token 2019-12-12 09:12 Middleware::Authentication ERROR: Le fichier 'C:\Program Files (x86)\FOG\token.dat' est introuvable. 2019-12-12 09:12 Middleware::Communication POST URL: http://192.168.149.43/fog/management/index.php?sub=requestClientInfo&authorize&newService 2019-12-12 09:12 Middleware::Response Invalid MAC address format ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 2019-12-12 09:12 Client-Info Version: 0.11.16 2019-12-12 09:12 Client-Info OS: Windows 2019-12-12 09:12 Middleware::Authentication Waiting for authentication timeout to pass 2019-12-12 09:14 Middleware::Communication Download: http://192.168.149.43/fog/management/other/ssl/srvpublic.crt 2019-12-12 09:14 Data::RSA FOG Server CA cert found 2019-12-12 09:14 Middleware::Authentication Cert OK 2019-12-12 09:14 Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before 2019-12-12 09:14 Middleware::Authentication ERROR: Could not get security token 2019-12-12 09:14 Middleware::Authentication ERROR: Le fichier 'C:\Program Files (x86)\FOG\token.dat' est introuvable. 2019-12-12 09:14 Middleware::Communication POST URL: http://192.168.149.43/fog/management/index.php?sub=requestClientInfo&authorize&newService 2019-12-12 09:14 Middleware::Response Invalid MAC address format 2019-12-12 09:14 Middleware::Communication URL: http://192.168.149.43/fog/management/index.php?sub=requestClientInfo&configure&newService&json 2019-12-12 09:14 Middleware::Response Success 2019-12-12 09:14 Middleware::Communication URL: http://192.168.149.43/fog/management/index.php?sub=requestClientInfo&mac=C8:CB:B8:0C:DA:CE|18:CF:5E:89:39:23|1A:CF:5E:89:39:23|1A:CF:5E:89:31:23|18:CF:5E:07:83:5B||00:00:00:00:00:00:00:E0&newService&json 2019-12-12 09:14 Middleware::Authentication Waiting for authentication timeout to pass 2019-12-12 09:16 Middleware::Communication Download: http://192.168.149.43/fog/management/other/ssl/srvpublic.crt 2019-12-12 09:16 Data::RSA FOG Server CA cert found 2019-12-12 09:16 Middleware::Authentication Cert OK 2019-12-12 09:16 Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before 2019-12-12 09:16 Middleware::Authentication ERROR: Could not get security token 2019-12-12 09:16 Middleware::Authentication ERROR: Le fichier 'C:\Program Files (x86)\FOG\token.dat' est introuvable. 2019-12-12 09:16 Middleware::Communication POST URL: http://192.168.149.43/fog/management/index.php?sub=requestClientInfo&authorize&newService 2019-12-12 09:16 Middleware::Response Invalid MAC address format 2019-12-12 09:16 Middleware::Response Success 2019-12-12 09:16 Middleware::Communication URL: http://192.168.149.43/fog/service/getversion.php?clientver&newService&json 2019-12-12 09:16 Middleware::Communication URL: http://192.168.149.43/fog/service/getversion.php?newService&json 2019-12-12 09:16 Service Creating user agent cache 2019-12-12 09:16 Middleware::Response ERROR: Unable to get subsection 2019-12-12 09:16 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. 2019-12-12 09:16 Middleware::Response ERROR: Unable to get subsection 2019-12-12 09:16 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. 2019-12-12 09:16 Middleware::Response ERROR: Unable to get subsection 2019-12-12 09:16 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. 2019-12-12 09:16 Service Initializing modules ------------------------------------------------------------------------------ ---------------------------------ClientUpdater-------------------------------- ------------------------------------------------------------------------------ 2019-12-12 09:16 Client-Info Client Version: 0.11.16 2019-12-12 09:16 Client-Info Client OS: Windows 2019-12-12 09:16 Client-Info Server Version: 1.5.7 2019-12-12 09:16 Middleware::Response Success ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ----------------------------------TaskReboot---------------------------------- ------------------------------------------------------------------------------ 2019-12-12 09:16 Client-Info Client Version: 0.11.16 2019-12-12 09:16 Client-Info Client OS: Windows 2019-12-12 09:16 Client-Info Server Version: 1.5.7 2019-12-12 09:16 Middleware::Response ERROR: Unable to get subsection 2019-12-12 09:16 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. ------------------------------------------------------------------------------ --------------------------------HostnameChanger------------------------------- ------------------------------------------------------------------------------ 2019-12-12 09:16 Client-Info Client Version: 0.11.16 2019-12-12 09:16 Client-Info Client OS: Windows 2019-12-12 09:16 Client-Info Server Version: 1.5.7 2019-12-12 09:16 Middleware::Response ERROR: Unable to get subsection 2019-12-12 09:16 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. ------------------------------------------------------------------------------ ---------------------------------SnapinClient--------------------------------- ------------------------------------------------------------------------------ 2019-12-12 09:16 Client-Info Client Version: 0.11.16 2019-12-12 09:16 Client-Info Client OS: Windows 2019-12-12 09:16 Client-Info Server Version: 1.5.7 2019-12-12 09:16 Middleware::Response ERROR: Unable to get subsection 2019-12-12 09:16 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. ------------------------------------------------------------------------------ --------------------------------PrinterManager-------------------------------- ------------------------------------------------------------------------------ 2019-12-12 09:16 Client-Info Client Version: 0.11.16 2019-12-12 09:16 Client-Info Client OS: Windows 2019-12-12 09:16 Client-Info Server Version: 1.5.7 2019-12-12 09:16 Middleware::Response ERROR: Unable to get subsection 2019-12-12 09:16 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. ------------------------------------------------------------------------------ --------------------------------PowerManagement------------------------------- ------------------------------------------------------------------------------ 2019-12-12 09:16 Client-Info Client Version: 0.11.16 2019-12-12 09:16 Client-Info Client OS: Windows 2019-12-12 09:16 Client-Info Server Version: 1.5.7 2019-12-12 09:16 Middleware::Response ERROR: Unable to get subsection 2019-12-12 09:16 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. ------------------------------------------------------------------------------ ----------------------------------UserTracker--------------------------------- ------------------------------------------------------------------------------ 2019-12-12 09:16 Client-Info Client Version: 0.11.16 2019-12-12 09:16 Client-Info Client OS: Windows 2019-12-12 09:16 Client-Info Server Version: 1.5.7 2019-12-12 09:16 Middleware::Response ERROR: Unable to get subsection 2019-12-12 09:16 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. 2019-12-12 09:16 Service Sleeping for 123 seconds 2019-12-12 09:18 Middleware::Communication URL: http://192.168.149.43/fog/management/index.php?sub=requestClientInfo&configure&newService&json 2019-12-12 09:18 Middleware::Response Success 2019-12-12 09:18 Middleware::Communication URL: http://192.168.149.43/fog/management/index.php?sub=requestClientInfo&mac=C8:CB:B8:0C:DA:CE|18:CF:5E:89:39:23|1A:CF:5E:89:39:23|1A:CF:5E:89:31:23|18:CF:5E:07:83:5B||00:00:00:00:00:00:00:E0&newService&json 2019-12-12 09:18 Middleware::Authentication Waiting for authentication timeout to pass 2019-12-12 09:18 Middleware::Communication Download: http://192.168.149.43/fog/management/other/ssl/srvpublic.crt 2019-12-12 09:18 Data::RSA FOG Server CA cert found 2019-12-12 09:18 Middleware::Authentication Cert OK 2019-12-12 09:18 Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before 2019-12-12 09:18 Middleware::Authentication ERROR: Could not get security token 2019-12-12 09:18 Middleware::Authentication ERROR: Le fichier 'C:\Program Files (x86)\FOG\token.dat' est introuvable. 2019-12-12 09:18 Middleware::Communication POST URL: http://192.168.149.43/fog/management/index.php?sub=requestClientInfo&authorize&newService 2019-12-12 09:18 Middleware::Response Invalid MAC address format 2019-12-12 09:18 Middleware::Response Success 2019-12-12 09:18 Middleware::Communication URL: http://192.168.149.43/fog/service/getversion.php?clientver&newService&json 2019-12-12 09:18 Middleware::Communication URL: http://192.168.149.43/fog/service/getversion.php?newService&json 2019-12-12 09:18 Service Creating user agent cache 2019-12-12 09:18 Middleware::Response ERROR: Unable to get subsection 2019-12-12 09:18 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. 2019-12-12 09:18 Middleware::Response ERROR: Unable to get subsection 2019-12-12 09:18 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. 2019-12-12 09:18 Middleware::Response ERROR: Unable to get subsection 2019-12-12 09:18 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. ------------------------------------------------------------------------------ ---------------------------------ClientUpdater-------------------------------- ------------------------------------------------------------------------------ 2019-12-12 09:18 Client-Info Client Version: 0.11.16 2019-12-12 09:18 Client-Info Client OS: Windows 2019-12-12 09:18 Client-Info Server Version: 1.5.7 2019-12-12 09:18 Middleware::Response Success ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ----------------------------------TaskReboot---------------------------------- ------------------------------------------------------------------------------ 2019-12-12 09:18 Client-Info Client Version: 0.11.16 2019-12-12 09:18 Client-Info Client OS: Windows 2019-12-12 09:18 Client-Info Server Version: 1.5.7 2019-12-12 09:18 Middleware::Response ERROR: Unable to get subsection 2019-12-12 09:18 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. ------------------------------------------------------------------------------ --------------------------------HostnameChanger------------------------------- ------------------------------------------------------------------------------ 2019-12-12 09:18 Client-Info Client Version: 0.11.16 2019-12-12 09:18 Client-Info Client OS: Windows 2019-12-12 09:18 Client-Info Server Version: 1.5.7 2019-12-12 09:18 Middleware::Response ERROR: Unable to get subsection 2019-12-12 09:18 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. ------------------------------------------------------------------------------ ---------------------------------SnapinClient--------------------------------- ------------------------------------------------------------------------------ 2019-12-12 09:18 Client-Info Client Version: 0.11.16 2019-12-12 09:18 Client-Info Client OS: Windows 2019-12-12 09:18 Client-Info Server Version: 1.5.7 2019-12-12 09:18 Middleware::Response ERROR: Unable to get subsection 2019-12-12 09:18 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. ------------------------------------------------------------------------------ --------------------------------PrinterManager-------------------------------- ------------------------------------------------------------------------------ 2019-12-12 09:18 Client-Info Client Version: 0.11.16 2019-12-12 09:18 Client-Info Client OS: Windows 2019-12-12 09:18 Client-Info Server Version: 1.5.7 2019-12-12 09:18 Middleware::Response ERROR: Unable to get subsection 2019-12-12 09:18 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. ------------------------------------------------------------------------------ --------------------------------PowerManagement------------------------------- ------------------------------------------------------------------------------ 2019-12-12 09:18 Client-Info Client Version: 0.11.16 2019-12-12 09:18 Client-Info Client OS: Windows 2019-12-12 09:18 Client-Info Server Version: 1.5.7 2019-12-12 09:18 Middleware::Response ERROR: Unable to get subsection 2019-12-12 09:18 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. ------------------------------------------------------------------------------ ----------------------------------UserTracker--------------------------------- ------------------------------------------------------------------------------ 2019-12-12 09:18 Client-Info Client Version: 0.11.16 2019-12-12 09:18 Client-Info Client OS: Windows 2019-12-12 09:18 Client-Info Server Version: 1.5.7 2019-12-12 09:18 Middleware::Response ERROR: Unable to get subsection 2019-12-12 09:18 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. 2019-12-12 09:18 Service Sleeping for 141 seconds
-
@marted said in FOG Client cannot communicate with the server (token.data missing):
Middleware::Communication URL: http://192.168.149.43/fog/management/index.php?sub=requestClientInfo&mac=C8:CB:B8:0C:DA:CE|18:CF:5E:89:39:23|1A:CF:5E:89:39:23|1A:CF:5E:89:31:23|18:CF:5E:07:83:5B||00:00:00:00:00:00:00:E0&newService&json ... Middleware::Response Invalid MAC address format
This is the important information from the log as I see it. Maybe this helps? https://forums.fogproject.org/topic/13095/response-invalid-mac-address-format-windows-7-client
-
I did it, now the log changed but still not working.
------------------------------------------------------------------------------ ----------------------------------UserTracker--------------------------------- ------------------------------------------------------------------------------ 2019-12-12 12:34 Client-Info Client Version: 0.11.16 2019-12-12 12:34 Client-Info Client OS: Windows 2019-12-12 12:34 Client-Info Server Version: 1.5.7 2019-12-12 12:34 Middleware::Response ERROR: Unable to get subsection 2019-12-12 12:34 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. 2019-12-12 12:34 Service Sleeping for 131 seconds 2019-12-12 12:36 Middleware::Communication URL: http://192.168.149.43/fog/management/index.php?sub=requestClientInfo&configure&newService&json 2019-12-12 12:36 Middleware::Response Success 2019-12-12 12:36 Middleware::Communication URL: http://192.168.149.43/fog/management/index.php?sub=requestClientInfo&mac=C8:CB:B8:0C:DA:CE|18:CF:5E:89:39:23|1A:CF:5E:89:39:23|1A:CF:5E:89:31:23|18:CF:5E:07:83:5B||00:00:00:00:00:00:00:E0&newService&json 2019-12-12 12:36 Middleware::Authentication Waiting for authentication timeout to pass 2019-12-12 12:36 Middleware::Communication Download: http://192.168.149.43/fog/management/other/ssl/srvpublic.crt 2019-12-12 12:36 Data::RSA FOG Server CA cert found 2019-12-12 12:36 Middleware::Authentication Cert OK 2019-12-12 12:36 Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before 2019-12-12 12:36 Middleware::Authentication ERROR: Could not get security token 2019-12-12 12:36 Middleware::Authentication ERROR: Le fichier 'C:\Program Files (x86)\FOG\token.dat' est introuvable. 2019-12-12 12:36 Middleware::Communication POST URL: http://192.168.149.43/fog/management/index.php?sub=requestClientInfo&authorize&newService 2019-12-12 12:36 Middleware::Response Invalid MAC address format 2019-12-12 12:36 Middleware::Response Success 2019-12-12 12:36 Middleware::Communication URL: http://192.168.149.43/fog/service/getversion.php?clientver&newService&json 2019-12-12 12:36 Middleware::Communication URL: http://192.168.149.43/fog/service/getversion.php?newService&json 2019-12-12 12:36 Service Creating user agent cache 2019-12-12 12:36 Middleware::Response ERROR: Unable to get subsection 2019-12-12 12:36 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. 2019-12-12 12:36 Middleware::Response ERROR: Unable to get subsection 2019-12-12 12:36 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. 2019-12-12 12:36 Middleware::Response ERROR: Unable to get subsection 2019-12-12 12:36 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. ------------------------------------------------------------------------------ ---------------------------------ClientUpdater-------------------------------- ------------------------------------------------------------------------------ 2019-12-12 12:36 Client-Info Client Version: 0.11.16 2019-12-12 12:36 Client-Info Client OS: Windows 2019-12-12 12:36 Client-Info Server Version: 1.5.7 2019-12-12 12:36 Middleware::Response Success ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ----------------------------------TaskReboot---------------------------------- ------------------------------------------------------------------------------ 2019-12-12 12:36 Client-Info Client Version: 0.11.16 2019-12-12 12:36 Client-Info Client OS: Windows 2019-12-12 12:36 Client-Info Server Version: 1.5.7 2019-12-12 12:36 Middleware::Response ERROR: Unable to get subsection 2019-12-12 12:36 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. ------------------------------------------------------------------------------ --------------------------------HostnameChanger------------------------------- ------------------------------------------------------------------------------ 2019-12-12 12:36 Client-Info Client Version: 0.11.16 2019-12-12 12:36 Client-Info Client OS: Windows 2019-12-12 12:36 Client-Info Server Version: 1.5.7 2019-12-12 12:36 Middleware::Response ERROR: Unable to get subsection 2019-12-12 12:36 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. ------------------------------------------------------------------------------ ---------------------------------SnapinClient--------------------------------- ------------------------------------------------------------------------------ 2019-12-12 12:36 Client-Info Client Version: 0.11.16 2019-12-12 12:36 Client-Info Client OS: Windows 2019-12-12 12:36 Client-Info Server Version: 1.5.7 2019-12-12 12:36 Middleware::Response ERROR: Unable to get subsection 2019-12-12 12:36 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. ------------------------------------------------------------------------------ --------------------------------PrinterManager-------------------------------- ------------------------------------------------------------------------------ 2019-12-12 12:36 Client-Info Client Version: 0.11.16 2019-12-12 12:36 Client-Info Client OS: Windows 2019-12-12 12:36 Client-Info Server Version: 1.5.7 2019-12-12 12:36 Middleware::Response ERROR: Unable to get subsection 2019-12-12 12:36 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. ------------------------------------------------------------------------------ --------------------------------PowerManagement------------------------------- ------------------------------------------------------------------------------ 2019-12-12 12:36 Client-Info Client Version: 0.11.16 2019-12-12 12:36 Client-Info Client OS: Windows 2019-12-12 12:36 Client-Info Server Version: 1.5.7 2019-12-12 12:36 Middleware::Response ERROR: Unable to get subsection 2019-12-12 12:36 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. ------------------------------------------------------------------------------ ----------------------------------UserTracker--------------------------------- ------------------------------------------------------------------------------ 2019-12-12 12:36 Client-Info Client Version: 0.11.16 2019-12-12 12:36 Client-Info Client OS: Windows 2019-12-12 12:36 Client-Info Server Version: 1.5.7 2019-12-12 12:36 Middleware::Response ERROR: Unable to get subsection 2019-12-12 12:36 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. 2019-12-12 12:36 Service Sleeping for 135 seconds
-
@marted said in FOG Client cannot communicate with the server (token.data missing):
I did it, now the log changed but still not working.
What exactly did you do?? From what you posted last the log has not changed, still
Response Invalid MAC address format
… -
I changed the value 0 to 1 in settings.json and started again the fog services
-
@Sebastian-Roth said in FOG Client cannot communicate with the server (token.data missing):
What exactly did you do?? From what you posted last the log has not changed, still Response Invalid MAC address format…
Before was just that , now after the message for invalid MAC it says responds successfully…
-
@marted said in FOG Client cannot communicate with the server (token.data missing):
I changed the value 0 to 1 in settings.json and started again the fog services
Do you actually use FOG with secure HTTPS (installer run with option
--force-https
)??Before was just that , now after the message for invalid MAC it says responds successfully…
Not really. Take a look at several places in the above logs and you find:
2019-12-12 09:18 Middleware::Communication POST URL: http://192.168.149.43/fog/management/index.php?sub=requestClientInfo&authorize&newService 2019-12-12 09:18 Middleware::Response Invalid MAC address format 2019-12-12 09:18 Middleware::Response Success
Not sure if this is related in your case: https://forums.fogproject.org/topic/7032/ignore-tunnel-interface-on-client
Try adding a client MAC filter on
00:00:00:00:00:00:00:E0
. Don’t think this is needed but doesn’t hurt either.As well take a look at the apache and PHP-FPM logs to see if there are any related messages when the fog-client connects.
One other thing that just came to my mind. Is the host registered in the FOG web UI? Please go to the host’s settings and press the bit orange “Reset Encryption Data” button if it’s there.
-
@Sebastian-Roth said in FOG Client cannot communicate with the server (token.data missing):
Do you actually use FOG with secure HTTPS (installer run with option --force-https)??
Yes, we use FOG with https. It works fine for capturing image and deploying it.
There is no button to reset in the host on the Web UI. The client has never communicated with the server and I don’t see the button reset
-
Please close the Topic. We have decided to use http instead of https and I reinstalled the server and everything is working fine with the agent. All our machines are in closed environment 192.168 and we don’t really need https.
Thanks again for your help. -
@marted That was a quick move. Your choice.
I am fairly sure enabling HTTPS in the settings file on the client should have fixed the issue if you don’t use custom SSL CA/cert. Did you restart the machine after changing the settings file?