RayVentory Scan Engine
When the RayVentory Inventory Agent is running the getconfig or upload command, the command fails with an error when the agent is configured to use HTTPS over SSL.
The error is:
curl: (56) Failure when receiving data from the peer
The download/upload however is processed successfully, but the exit code from curl doesn't reflect this, which leads to the getconfig and upload commands not finishing correctly.
This causes the getconfig command to not update the agent's scheduled tasks and it's registry values. And it causes the upload command to not delete files which have been uploaded to the RayVentory Scan Engine.
The RayVentory Scan Engine HTTP Upload Server service is closing the SSL connection abruptly after the request from the agent has been handled.
To mitigate these issues, scheduled tasks can be created on the agent devices. A scheduled task can be used to regularly run the rvia schedule and rvia settings commands to update the agent's scheduled tasks and registry values. Another scheduled task can be used to regularly delete the old agent result files from C:\ProgramData\Raynet\RayVentoryInventoryAgent\results