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.4 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

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
asked Sep 27 in OCS Inventory NG server for Unix by andromed (240 points)

3 Answers

0 votes
Do you have install the server with tar.gz or with the RPM ?
answered Sep 28 by kapouik (15,950 points)
0 votes
hello Kapouik

Server has install with the RPM
answered Sep 28 by andromed (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
answered Sep 28 by andromed (240 points)
 
Powered by Question2Answer
...