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 220.127.116.11
AGENT => Using OCS Inventory NG FrameWork Version 18.104.22.168
AGENT => Loading plug-in(s)
AGENT => Using network connection with Communication Server
AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <22.214.171.124>
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.