Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GLPI Proxy server Unsupported Content-type #461

Closed
tulhaum opened this issue Aug 14, 2023 · 1 comment
Closed

GLPI Proxy server Unsupported Content-type #461

tulhaum opened this issue Aug 14, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@tulhaum
Copy link

tulhaum commented Aug 14, 2023

Bug reporting acknowledgment

Yes, I read it

Professional support

None

Describe the bug

Hi folks!
Using GLPI-Agent 1.5 with proxy server plugin works fine inventoring computer machines.
But when I try to inventory a smartphone, Glpi Agent response:

"Unsupported 'application/xml;charset=utf-8' Content-type header provided in glpi request from 127.0.0.1"

I can send the smarthphone inventory directly to GLPI server, but fails using the proxy plugin.

To reproduce

  1. Install GLPI Agent for Android on a smartphone
  2. Set the destination server (using http://url:62354 ou http://url - apache reverse proxy). In this case, it is a glpi inventory agent 1.5 with proxy server plugin enabled.
  3. Run the inventory from the smartphone.

Expected behavior

GLPI Agent dont receive the xml from the smartphone with the inventory data:

[info] [proxy server plugin] Unsupported 'application/xml;charset=utf-8' Content-type header provided in glpi request from

Operating system

Linux

GLPI Agent version

Other (See additional context below)

GLPI version

10.0.x (See additional context below)

GLPIInventory plugin or FusionInventory for GLPI plugin version

GLPI Inventory v1.1.0

Additional context

No response

@tulhaum tulhaum added the bug Something isn't working label Aug 14, 2023
@g-bougard
Copy link
Member

Hello @tulhaum

thank you for your report.

Next nightly build should work as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants