Snapins deployment problem... SVN 7452
-
Once again :
------------------------------------------------------------------------------ ---------------------------------SnapinClient--------------------------------- ------------------------------------------------------------------------------ 11/05/2016 12:17 Client-Info Client Version: 0.10.6 11/05/2016 12:17 Client-Info Client OS: Windows 11/05/2016 12:17 Client-Info Server Version: 7575 11/05/2016 12:17 Middleware::Response Success 11/05/2016 12:17 SnapinClient Snapin Found: 11/05/2016 12:17 SnapinClient ID: 591 11/05/2016 12:17 SnapinClient RunWith: 11/05/2016 12:17 SnapinClient RunWithArgs: 11/05/2016 12:17 SnapinClient Name: Avast 11/05/2016 12:17 SnapinClient File: avast_business_online.exe 11/05/2016 12:17 SnapinClient Created: 2016-05-11 12:02:28 11/05/2016 12:17 SnapinClient Args: 11/05/2016 12:17 SnapinClient Action: 11/05/2016 12:17 Middleware::Communication Download: http://192.168.10.60/fog/service/snapins.file.php?mac=9C:B7:0D:CA:3F:8C|9C:B7:0D:CA:3F:8C|E8:40:F2:6A:51:CE|9C:B7:0D:CA:7B:B4&taskid=591 11/05/2016 12:17 SnapinClient C:\Program Files (x86)\FOG\tmp\avast_business_online.exe 11/05/2016 12:17 SnapinClient ERROR: Hash does not match 11/05/2016 12:17 SnapinClient ERROR: --> Ideal: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <HTML><HEAD> <TITLE>403 FORBIDDEN</TITLE> </HEAD><BODY> <H1>FORBIDDEN</H1> <P>YOU DON'T HAVE PERMISSION TO ACCESS /FOG/STATUS/GETSNAPINHASH.PHP ON THIS SERVER.<BR /> </P> <HR> <ADDRESS>APACHE/2.4.10 (DEBIAN) SERVER AT 192.168.10.60 PORT 80</ADDRESS> </BODY></HTML> 11/05/2016 12:17 SnapinClient ERROR: --> Actual: C3F2466D83DA8F5F766280FF739894F344EE657985C40FB8ACFB0B41772CCFBF76C0E6CFFDB5C52D0EF7FF0781A82A8E19EA82BBCD886513F9462D51ACA28C2C 11/05/2016 12:17 Middleware::Communication URL: http://192.168.10.60/fog/service/snapins.checkin.php?taskid=591&exitcode=-1&mac=9C:B7:0D:CA:3F:8C|9C:B7:0D:CA:3F:8C|E8:40:F2:6A:51:CE|9C:B7:0D:CA:7B:B4&newService&json ------------------------------------------------------------------------------
root@FOG:/opt/fog/snapins$ sha512sum avast_business_online.exe c3f2466d83da8f5f766280ff739894f344ee657985c40fb8acfb0b41772ccfbf76c0e6cffdb5c52d0ef7ff0781a82a8e19ea82bbcd886513f9462d51aca28c2c avast_business_online.exe
-
@Matthieu-Jacquart And if you manually go to that page in the browser adding http://192.168.10.60/fog/status/getsnapinhash.php?filepath=/opt/fog/snapins/<yoursnapinfilehere>
-
@Tom-Elliott If I go to http://192.168.10.60/fog/status/getsnapinhash.php?filepath=/opt/fog/snapins/avast_business_online.exe
I’ve got c3f2466d83da8f5f766280ff739894f344ee657985c40fb8acfb0b41772ccfbf76c0e6cffdb5c52d0ef7ff0781a82a8e19ea82bbcd886513f9462d51aca28c2c|5113288 -
@Matthieu-Jacquart And if you try to redeploy the snapin to the client?
Do you run firewalls that might be blocking a client from accessing the FOG webpages?
-
@Tom-Elliott ok it works if I deploy single snapin
Windows firewall is disabled -
Can you update to the latest? I think the issue is it wasn’t returning any data with the new client as it makes the calls to checkin and download the files.
-
@Tom-Elliott ok I’ll update.
I have 2 more pc to deploy tomorrow, I’ll give you the result -
@Tom-Elliott Test on another computer (Win 7)
------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 11/05/2016 17:57 Client-Info Version: 0.10.6 11/05/2016 17:57 Client-Info OS: Windows 11/05/2016 17:57 Middleware::Authentication Waiting for authentication timeout to pass 11/05/2016 17:57 Middleware::Communication Download: http://192.168.10.60/fog/management/other/ssl/srvpublic.crt 11/05/2016 17:58 Data::RSA FOG Server CA cert found 11/05/2016 17:58 Middleware::Authentication Cert OK 11/05/2016 17:58 Middleware::Communication POST URL: http://192.168.10.60/fog/management/index.php?sub=requestClientInfo&authorize&newService 11/05/2016 17:58 Middleware::Response Success 11/05/2016 17:58 Middleware::Authentication Authenticated 11/05/2016 17:58 Bus Registering ParseBus in channel Power 11/05/2016 17:58 Middleware::Communication URL: http://192.168.10.60/fog/management/index.php?sub=requestClientInfo&mac=E8:40:F2:0B:E9:0E&newService&json 11/05/2016 17:58 Middleware::Response ERROR: Could not parse data 11/05/2016 17:58 Middleware::Response ERROR: Unexpected character encountered while parsing value: #. Path '', line 0, position 0. 11/05/2016 17:58 Middleware::Communication URL: http://192.168.10.60/fog/service/getversion.php?clientver&newService&json 11/05/2016 17:58 Middleware::Communication URL: http://192.168.10.60/fog/service/getversion.php?newService&json 11/05/2016 17:58 Service ERROR: Unable to get cycle data 11/05/2016 17:58 Service ERROR: La référence d'objet n'est pas définie à une instance d'un objet. 11/05/2016 17:58 Middleware::Response Success ------------------------------------------------------------------------------ ---------------------------------ClientUpdater-------------------------------- ------------------------------------------------------------------------------ 11/05/2016 17:58 Client-Info Client Version: 0.10.6 11/05/2016 17:58 Client-Info Client OS: Windows 11/05/2016 17:58 Client-Info Server Version: 11/05/2016 17:58 Middleware::Response ERROR: Unable to get subsection 11/05/2016 17:58 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. 11/05/2016 17:58 Service ERROR: Unable to run module 11/05/2016 17:58 Service ERROR: La référence d'objet n'est pas définie à une instance d'un objet. ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ----------------------------------TaskReboot---------------------------------- ------------------------------------------------------------------------------ 11/05/2016 17:58 Client-Info Client Version: 0.10.6 11/05/2016 17:58 Client-Info Client OS: Windows 11/05/2016 17:58 Client-Info Server Version: 11/05/2016 17:58 Middleware::Response ERROR: Unable to get subsection 11/05/2016 17:58 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. 11/05/2016 17:58 Service ERROR: Unable to run module 11/05/2016 17:58 Service ERROR: La référence d'objet n'est pas définie à une instance d'un objet. ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------HostnameChanger------------------------------- ------------------------------------------------------------------------------ 11/05/2016 17:58 Client-Info Client Version: 0.10.6 11/05/2016 17:58 Client-Info Client OS: Windows 11/05/2016 17:58 Client-Info Server Version: 11/05/2016 17:58 Middleware::Response ERROR: Unable to get subsection 11/05/2016 17:58 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. 11/05/2016 17:58 Service ERROR: Unable to run module 11/05/2016 17:58 Service ERROR: La référence d'objet n'est pas définie à une instance d'un objet. ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ---------------------------------SnapinClient--------------------------------- ------------------------------------------------------------------------------ 11/05/2016 17:58 Client-Info Client Version: 0.10.6 11/05/2016 17:58 Client-Info Client OS: Windows 11/05/2016 17:58 Client-Info Server Version: 11/05/2016 17:58 Middleware::Response ERROR: Unable to get subsection 11/05/2016 17:58 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. 11/05/2016 17:58 Service ERROR: Unable to run module 11/05/2016 17:58 Service ERROR: La référence d'objet n'est pas définie à une instance d'un objet. ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------PrinterManager-------------------------------- ------------------------------------------------------------------------------ 11/05/2016 17:58 Client-Info Client Version: 0.10.6 11/05/2016 17:58 Client-Info Client OS: Windows 11/05/2016 17:58 Client-Info Server Version: 11/05/2016 17:58 Middleware::Response ERROR: Unable to get subsection 11/05/2016 17:58 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet. 11/05/2016 17:58 Service ERROR: Unable to run module 11/05/2016 17:58 Service ERROR: La référence d'objet n'est pas définie à une instance d'un objet. ------------------------------------------------------------------------------
-
Server is leaking old traffic format into 0.10.0+ traffic. @Tom-Elliott. As for your hashes not equaling, I have seen this before. When downloading a snapin if the FTP credentials are bad the server will print an error message to the file instead of throwing a 500 error. I’d consider checking your credentials. @Tom-Elliott you may want to consider throwing a 500 error instead for this scenario (even if it isn’t what he is having) as it makes the logs more useful in debugging.
-
@Jbob Throwing 500 is done as a protocol system (hence the 403 error’s too.). I don’t get any control over what’s sent as the error message unfortunately.
-
Found the issue with the object reference and corrected now in trunk again.
-
@Tom-Elliott Everything seems fine, thanks