GLPI agent unable to contact server when proxy set in environement variables #799
Unanswered
gothiksnake
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Hi @gothiksnake stupid question, are you sure the proxy was really working at that time ? You provide nothing showing the proxy is alive. My first reflex is to tell you the error is only telling the proxy is unavailable and you just have to fix this problem. Did you try also to use Anyway, try to set your GLPI server hostname in
Don't forget to restart service after that. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Documentation & bug reporting acknowledgment
Yes, I read it
Describe your problem
Hi, I read that GLPI agent automatically uses HTTP_PROXY and HTTPS_PROXY environment variables if set, however this behavior prevents the agent from talking to my server. Everything works as expected if I remove the environment variables, but I have other software that depend on those variables to function properly, so that is not a fix.
How can I tell the agent to avoid the ENV completely?
I've tried modifying the agent.cfg file and not installing the agent as a service to no avail.
My log file after a fresh reinstall :
To reproduce
Set environment variables for proxy server
Expected behavior
The agent should successfully reach the glpi server and upload it's inventory
Operating system
Windows 10
GLPI Agent version
1.11
GLPI version
10.0.16
GLPI server OS
Ubuntu 22 LTS
Beta Was this translation helpful? Give feedback.
All reactions