Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.11.1 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

Failed to send HTTP Post request <Unsupported protocol>

Hello everyone, I installed the latest inventory ocs server with more problem I am to list the workstations. 
 
Agent log in: 
COM SERVER => Using cURL without server authentication
COM SERVER => Disabling cURL proxy support
COM SERVER => Disabling cURL SSL server validation support
COM SERVER => Sending HTTP Post request to URL <<http://192.168.0.14/ocsinventory>
WARNING *** COM SERVER => Failed to send HTTP Post request <Unsupported protocol>
COM SERVER => Cleaning cURL library
 
 
Configuration File: 
[OCS Inventory Agent] 
ComProvider = ComHTTP.dll 
Debug = 2 
Local = 
HKCU = 0 
NOTAG = 0 
IpDisc = 
[HTTP] 
Server = <http://192.168.0.14/ocsreports 
SSL = 0 
CABUNDLE = cacert.pem 
AuthRequired = 0 
user = 
pwd = 
ProxyType = 0 
proxy = 
ProxyPort = 0 
ProxyAuthRequired = 1 
proxyuser = 
ProxyPwd = 
[OCS Inventory Service] 
TTO_WAIT = 60
 
Log do Apache:
PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /var/www/html/ocsreports/backend/require/connexion.php on line 10, referer: http://192.168.0.14/ocsreports
in OCS Inventory NG agent for Windows by (120 points)

1 Answer

0 votes

With OS do you use as server ? With version of OCS (server and agent) do you use ?

I don't see the problem in the log you past (past the full log is better). As the only error is :

WARNING *** COM SERVER => Failed to send HTTP Post request <Unsupported protocol>
 
Can you try with this value :
ProxyAuthRequired = 0

 

by (22k points)
Server OS: Ubuntu 14.04.1 LTS (GNU / Linux 3.13.0-32-generic x86_64) 
OCS Server Version: 2.1.2 
Agent Version: I have used the 2.1.2 and now I'm using 2.0.0.24 for testing 
Tested with ProxyAuthRequired = 0 value 
I changed the Server = <http://192.168.0.14/ocsinventory to test 
 
Log follows Full Agent:
==============================================================================
Starting OCS Inventory NG Agent on Thursday, October 02, 2014 10:56:01.
AGENT => Running OCS Inventory NG Agent Version 2.0.0.24
AGENT => Using OCS Inventory NG FrameWork Version 2.0.0.24
AGENT => Loading plug-in(s)
PLUGIN => Searching for Plug-in DLL(s) in folder <C:\Program Files\OCS Inventory Agent\plugins>
PLUGIN => 0 Plug-in(s) succesfully loaded
AGENT => Using network connection with Communication Server
COM PROVIDER => Loading Communication Provider <C:\Program Files\OCS Inventory Agent\ComHTTP.dll>
AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.0.0.24>
AGENT => Sending Prolog
DID_CHECK => Read DeviceID <DSLTI-2014-09-23-15-38-45> and MACs <00:0C:29:3B:2D:28> 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 => Disabling cURL SSL server validation support
COM SERVER => Sending HTTP Post request to URL <<http://192.168.0.14/ocsinventory>
WARNING *** COM SERVER => Failed to send HTTP Post request <Unsupported protocol>
COM SERVER => Cleaning cURL library
================= TRACE START ===============
 
================= TRACE STOP ===============
ERROR *** AGENT => Failed to send Prolog <Unsupported protocol>
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:00.
 

 

 
Powered by Question2Answer
...