Quantcast
Channel: Ocsinventory Q&A - Recent questions without answers
Viewing all articles
Browse latest Browse all 4599

Couldn't connect to server error

$
0
0
Hello.

We have in our network about 100 computers with OCS Inventory Agents. On about 80 computers it works fine. On about 20 computers in the past it worked fine too, but from one moment (a coupe of months ago) on these computers agent can't connect to server (Couldn't connect to server error). In the OCSInventory.ini server address is correct (I also try use here IP address with no result). This ini file is identical with computers where OCS agent works correctly.

On server these computers have outdated "Last inventory" (several months ago), but in filed "Last contact" I see updated date and time (today or yesterday). I tried reinstall agent - sometimes it helps, sometimes not. I'm not understand the problem. Log file:

==============================================================================

Starting OCS Inventory NG Agent on Friday, March 01, 2019 12:06:02.

AGENT => Running OCS Inventory NG Agent Version 2.0.5.0

AGENT => Using OCS Inventory NG FrameWork Version 2.0.5.0

AGENT => Loading plug-in(s)

DLL PLUGIN => Searching for Plug-in DLL(s) in folder <C:\Program Files (x86)\OCS Inventory Agent\plugins>

DLL PLUGIN => 0 DLL Plug-in(s) succesfully loaded on 0 DLL(s) found

AGENT => Using network connection with Communication Server

COM PROVIDER => Loading Communication Provider <C:\Program Files (x86)\OCS Inventory Agent\ComHTTP.dll>

AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.0.5.0>

AGENT => Sending getLabel request

COM SERVER => Initializing cURL library for getFile

COM SERVER => Using cURL without server authentication

COM SERVER => Disabling cURL proxy support

COM SERVER => Enabling cURL SSL server validation support using CA Bundle <C:\ProgramData\OCS Inventory NG\Agent\cacert.pem>

COM SERVER => Sending fileGet request to URL <http://peach.spb.unicum.ru/ocsinventory/deploy/label>

WARNING *** COM SERVER => Failed to send HTTP Get request <Couldn't connect to server>

COM SERVER => Cleaning cURL library

AGENT => Failed to retrieve Label <Couldn't connect to server>

AGENT => Sending Prolog

DID_CHECK => Read DeviceID <SPBUNIC2015H110-2019-03-01-11-41-32> and MACs <18:31:BF:CB:D5:33> in file <ocsinventory.dat>

COM SERVER => Initializing cURL library for sendRequest

COM SERVER => Using cURL without server authentication

COM SERVER => Disabling cURL proxy support

COM SERVER => Enabling cURL SSL server validation support using CA Bundle <C:\ProgramData\OCS Inventory NG\Agent\cacert.pem>

COM SERVER => Sending HTTP Post request to URL <http://peach.spb.unicum.ru/ocsinventory>

WARNING *** COM SERVER => Failed to send HTTP Post request <Couldn't connect to server>

COM SERVER => Cleaning cURL library

================= TRACE START ===============

================= TRACE STOP ===============

ERROR *** AGENT => Failed to send Prolog <Couldn't connect to server>

AGENT => Unloading communication provider

AGENT => Unloading plug-in(s)

AGENT => Execution duration: 00:00:00.

Viewing all articles
Browse latest Browse all 4599

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>