You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2023-06-20 19:43:56

godel.chen
Member
Registered: 2020-01-21
Posts: 18

[Help] I cannot connect to myserver/glpi/front/inventory.php

When i type the url in web browser --> myserver/glpi/front/inventory.php

The webrowser shows "This page isn’t workingIf the problem continues, contact the site owner. HTTP ERROR 405"

I opened up all permission on inventory.php, and if i disabled inventory,  myserver/glpi/front/inventory.php
can be accessed and shows "inventory disabled"

My Glpi is the latest stable version 10.0.7 on IIS 7.5, with debug mode on without finding any error message on log.

Any recommendation, please?

Offline

#2 2023-06-21 17:06:26

godel.chen
Member
Registered: 2020-01-21
Posts: 18

Re: [Help] I cannot connect to myserver/glpi/front/inventory.php

Hi, all, I just freshly re-install a new GLPI 10.0.7 and it's the same i cannot access inventory.php when i enabled "administration --> inventory", so it seems a system problem not my configuration? Anyway i can report it to GLPI system designer?

Offline

#3 2023-06-21 17:17:02

WebGreg
Member
Registered: 2020-02-27
Posts: 739

Re: [Help] I cannot connect to myserver/glpi/front/inventory.php

Firewall?


--
GLPI 10.0.7
GLPI-Inventory 1.2.1
Ubuntu Server 20.04 LTS

Online

#4 2023-06-22 21:14:40

godel.chen
Member
Registered: 2020-01-21
Posts: 18

Re: [Help] I cannot connect to myserver/glpi/front/inventory.php

WebGreg wrote:

Firewall?

Yes, i tried shutting down all firewalls, and open up glpi folder and sub-folders permission to everyone on full control, downgrade from 10.0.7 to 10.0.5, 10.0.3, etc. Unfortunately, all of them not working. It's a surprise i just installed a GLPI on Azure virtual machine on the same version.

Offline

#5 2023-06-27 15:48:10

Baki
Member
Registered: 2023-06-27
Posts: 2

Re: [Help] I cannot connect to myserver/glpi/front/inventory.php

Hello, I have exactly the same problem, does anyone have a solution?

Offline

#6 2023-06-27 18:20:03

WebGreg
Member
Registered: 2020-02-27
Posts: 739

Re: [Help] I cannot connect to myserver/glpi/front/inventory.php

You can not open only the "administration --> inventory" site?

Did you check the logs? Did you try in debug mode?

Last edited by WebGreg (2023-06-27 18:20:36)


--
GLPI 10.0.7
GLPI-Inventory 1.2.1
Ubuntu Server 20.04 LTS

Online

#7 2023-07-06 05:40:19

godel.chen
Member
Registered: 2020-01-21
Posts: 18

Re: [Help] I cannot connect to myserver/glpi/front/inventory.php

WebGreg wrote:

You can not open only the "administration --> inventory" site?

Did you check the logs? Did you try in debug mode?

Yes, i did try debug mode and checked on log, but found nothing.

Google related http error 405 found some can be resolved by removing IIS Webdav, but even i removed webdav still got the same error...

Offline

#8 2023-07-06 06:03:02

godel.chen
Member
Registered: 2020-01-21
Posts: 18

Re: [Help] I cannot connect to myserver/glpi/front/inventory.php

WebGreg wrote:

You can not open only the "administration --> inventory" site?

Did you check the logs? Did you try in debug mode?

I cannot open fairay.com/glpi/front/inventory.php, if i turn on administration -> "enable inventory".

I can open fairay.com/glpi/front/inventory.php, if i turn off administration -> "enable inventory",
then it can be access and shows "inventory is disabled".

you can add https:// to fairay.com/glpi/front/inventory.php and see the error yourself...

Last edited by godel.chen (2023-07-06 06:22:47)

Offline

#9 2023-07-18 13:17:45

zeros
Member
Registered: 2023-07-18
Posts: 6

Re: [Help] I cannot connect to myserver/glpi/front/inventory.php

The same problem, when "enable inventory" , HTTP ERROR 405.
What is the problem? Firewall or rule apache? I have ubuntu 22.04 and glpi 10.0.8

Offline

#10 2023-07-18 16:12:03

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,811
Website

Re: [Help] I cannot connect to myserver/glpi/front/inventory.php

Manually going to the inventory page is expected to return a 405 error. There is nothing for it to show you and nothing to get. When you try to make a GET request to it (like your browser does) it is expected to return a "Method not allowed" error.
Your inventory agents should be making a POST request to submit the inventory they collected, and that should be going through OK.


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

#11 2023-07-26 01:24:55

godel.chen
Member
Registered: 2020-01-21
Posts: 18

Re: [Help] I cannot connect to myserver/glpi/front/inventory.php

cconard96 wrote:

Manually going to the inventory page is expected to return a 405 error. There is nothing for it to show you and nothing to get. When you try to make a GET request to it (like your browser does) it is expected to return a "Method not allowed" error.
Your inventory agents should be making a POST request to submit the inventory they collected, and that should be going through OK.

Yes, you are right, for unknown reason, at first i cannot collect inventory from my GLPI agents, so i checked the URL link to make sure the server react correctly. Now i can get the inventory data from GLPI agents without myserver/glpi/front/inventory.php response.

Consider this question resolved, Thanks a lot, Merci Beaucoup. ^__^

Last edited by godel.chen (2023-07-26 01:26:25)

Offline

#12 2024-02-06 12:51:18

supportuser27
Member
Registered: 2024-02-05
Posts: 3

Re: [Help] I cannot connect to myserver/glpi/front/inventory.php

Hi,
We've managed to set Basic Auth in /front/inventory.php, but all agent still sending information without user and password.
Can anyone give us some more information?
We don't want to publish our server and get inventory from anyone without authentication.
Thanks in advance!!

Offline

Board footer

Powered by FluxBB