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.12.3 available

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

Error HTTP/1.1 400 Bad Request

Hello,
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 127.0.0.1] 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
...