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.

Error HTTP/1.1 400 Bad Request

when I import a .OCS file, I have this message:
Error HTTP/1.1 400 Bad Request

I am going to see my file error_log and I have this line that appears:
[Wed Sep 27 15:40:01 2017] [error] [client] request failed: error reading the headers

I am under Centos and ocs 2.3.1

thank you
in OCS Inventory NG server for Unix by (240 points)

3 Answers

0 votes
Do you have install the server with tar.gz or with the RPM ?
by (22k points)
0 votes
hello Kapouik

Server has install with the RPM
by (240 points)
0 votes
I found this solution but it is temporary pending a possible resolution of my problem.
command line on my centos server, I use the script ocsinventory-injector.pl and I copy my file to the tmp folder. pc goes up in ocs.

command : [root@SERVER /]# perl */ocsinventory-injector.pl  -f /tmp/file.ocs
by (240 points)
local import 400 error
Powered by Question2Answer