I was trying to contact my server and the following error appeared:
Starting OCS Inventory NG Agent on Monday, August 06, 2018 10:22:32.
AGENT => Running OCS Inventory NG Agent Version 18.104.22.168
AGENT => Using OCS Inventory NG FrameWork Version 22.214.171.124
AGENT => Loading plug-in(s)
AGENT => Using network connection with Communication Server
AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <126.96.36.199>
AGENT => Sending Prolog
ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #500>
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:00.