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.

Import local error

Hi mi problem is in import local HTTP / 1.1 Error 400 Bad Request and i do not know how to solve it 

OCS Inventory server installed in Windows Server 2008

and report generet .ocs in windows 10

OCS Inventory  windows server 2.1.2

OCS Agent windows 2.1.1.1

i use To server: http://localhost:80/ocsinventory

        To server: http://localhost:8083/ocsinventory

Thank you!

in OCS Inventory NG server for Windows by (320 points)
edited by

2 Answers

0 votes

i had similar issues please try this from

gillesdubois

https://github.com/OCSInventory-NG/OCSInventory-Server/issues/57

root@srv-ocs-glpi-dev-trunk:~/OCSInventory-Server/binutils# perl ocsinventory-injector.pl --url http://172.18.26.10/ocsinventory -d ocs_files/  --verbose
Loading ocs_files//USER-PC-2017-09-05-11-43-20.ocs...OK


by (24.5k points)
0 votes
whats you also can do

/usr/shares/ocsinventory-reports/ocsreports/require/function_files.php

Lignes 184 au lien de  :
"Host: $host\n" . "User-Agent: OCS_local_" . GUI_VER . "\r\n" .
mettre :

"Host: $host\r\n" . "User-Agent: OCS_local_" . GUI_VER . "\r\n" .

source
https://ask.ocsinventory-ng.org/8857/imports-locaux-impossible
by (24.5k points)
 
Powered by Question2Answer
...