1

Topic: communication error: 500 Can't connect

Hi,

I installed an agent to a windows machine (64bit) . Other machines were able to connect to GLPI server but some won't. They have the same configuration. Here are the logs.

[info] sending prolog request to server server0
[error] [http client] communication error: 500 Can't connect to www.glpi.inventory.com:443
[error] No answer from the server at ../agent/FusionInventory/Agent.pm line 274.
[info] sending prolog request to server server0
[error] [http client] communication error: 500 Can't connect to www.glpi.inventory.com:443
[error] No answer from the server at ../agent/FusionInventory/Agent.pm line 274.
[info] sending prolog request to server server0
[error] [http client] communication error: 500 Can't connect to www.glpi.inventory.com:443
[error] No answer from the server at ../agent/FusionInventory/Agent.pm line 274.
[info] sending prolog request to server server0
[error] [http client] communication error: 500 Can't connect to www.glpi.inventory.com:443
[error] No answer from the server at ../agent/FusionInventory/Agent.pm line 274.

Here is the agent configuration

server = https://mysite/plugins/fusioninventory
#no-task = deploy
delaytime = 3600
lazy = 0
scan-homedirs = 0
scan-profiles = 0
html = 0
backend-collect-timeout = 30
force = 1
additional-content =
no-p2p = 0
proxy = 
user =
password =
ca-cert-dir= 
ca-cert-file = 
no-ssl-check = 1 
timeout = 180
no-httpd = 0
httpd-ip = 0
httpd-port = 62354
httpd-trust =
logger = stderr
logfile = /var/log/fusioninventory.log
#logfile-maxsize = 0
logfacility = LOG_USER
color = 0
tag =
debug = 0

This is the log for glpi-access.log

172.xx.xx.xx - - [12/May/2016:09:23:56 +0800] "-" 408 0 "-" "-"
172.xx.xx.xx - - [12/May/2016:15:31:50 +0800] "-" 408 1687 "-" "-"
172.xx.xx.xx - - [12/May/2016:15:40:05 +0800] "-" 408 1687 "-" "-"
172.xx.xx.xx - - [12/May/2016:15:51:40 +0800] "-" 408 1687 "-" "-"
172.xx.xx.xx - - [12/May/2016:16:09:38 +0800] "-" 408 1687 "-" "-"

The client can connect to the server via port 443.

Other clients were able to connect to server with the same configuration. Can you please tell me what to do?

Thank you in advance.

2

Re: communication error: 500 Can't connect

The right URL is https://mysite/plugins/fusioninventory/ (with the slash at the end)

3

Re: communication error: 500 Can't connect

Hi David,

Thanks for the reply.

I already added the slash (/) at the end but the result was still the same.

I checked the access.log and I noticed an error 408.

1xx.xx.xx.xx - - [12/May/2016:09:23:56 +0800] "-" 408 0 "-" "-"
1xx.xx.xx.xx - - [12/May/2016:15:31:50 +0800] "-" 408 1687 "-" "-"
1xx.xx.xx.xx - - [12/May/2016:15:40:05 +0800] "-" 408 1687 "-" "-"
1xx.xx.xx.xx - - [12/May/2016:15:51:40 +0800] "-" 408 1687 "-" "-"
1xx.xx.xx.xx - - [12/May/2016:16:09:38 +0800] "-" 408 1687 "-" "-"

What should I do?

Thank you!

4

Re: communication error: 500 Can't connect

I am also experiencing this problem on one of 30-some servers. All other servers connect just fine.

Here's the debug output:

 # fusioninventory-agent --debug
[debug] FusionInventory Agent (2.3.19)
...
[info] sending prolog request to server server0
[error] [http client] communication error: 500 Can't connect to my_glpi_server. my_domain :443 (SSL connect attempt failed with unknown errorerror:14090086:SSL routines: SSL3_GET_SERVER_CERTIFICATE :certificate verify failed)
[error] No answer from server at https : /  / my_glpi_server.  my_domain.  com/ glpi/ plugins/ fusioninventory/ 

Edit - added whitespace to links to counteract the anti-spam tool on the forum
Edit2 - deleting more items to please anti-spam tool

5

Re: communication error: 500 Can't connect

My efforts landed at a page that indicates an error in perl. Why would only one server be affected?

https://stackoverflow.com/questions/743 … es#5329129