Skip to content

Nagstamon ne se connecte pas à Centreon #1128

@Fanch-Aldaron

Description

@Fanch-Aldaron

Bonjour,

J'ai paramétré Nagstamon par rapport à mon centreon et j'obtient l'erreur suivante :

Image

Le paramétrage que j'ai mis :

Image

Dans les logs

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "Nagstamon\Servers\Generic.py", line 1498, in fetch_url
File "requests\sessions.py", line 602, in get
File "requests\sessions.py", line 589, in request
File "requests\sessions.py", line 703, in send
File "requests\adapters.py", line 694, in send
requests.exceptions.ProxyError: HTTPSConnectionPool(host='centreon.xxxxxx.xxxxx', port=443): Max retries exceeded with url: /centreon/index.php (Caused by ProxyError('Unable to connect to proxy', OSError('Tunnel connection failed: 407 Proxy Authentication Required')))

ERROR: 2025-07-25 16:27:48.761113 Centreon-monitor Traceback (most recent call last):
File "urllib3\connectionpool.py", line 775, in urlopen
File "urllib3\connectionpool.py", line 1044, in _prepare_proxy
File "urllib3\connection.py", line 710, in connect
File "http\client.py", line 979, in _tunnel
OSError: Tunnel connection failed: 407 Proxy Authentication Required

The above exception was the direct cause of the following exception:

urllib3.exceptions.ProxyError: ('Unable to connect to proxy', OSError('Tunnel connection failed: 407 Proxy Authentication Required'))

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "requests\adapters.py", line 667, in send
File "urllib3\connectionpool.py", line 843, in urlopen
File "urllib3\util\retry.py", line 519, in increment
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='centreon.proapro.info', port=443): Max retries exceeded with url: /centreon/index.php (Caused by ProxyError('Unable to connect to proxy', OSError('Tunnel connection failed: 407 Proxy Authentication Required')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "Nagstamon\Servers\Generic.py", line 1498, in fetch_url
File "requests\sessions.py", line 602, in get
File "requests\sessions.py", line 589, in request
File "requests\sessions.py", line 703, in send
File "requests\adapters.py", line 694, in send
requests.exceptions.ProxyError: HTTPSConnectionPool(host='centreon.xxxx.xxxx', port=443): Max retries exceeded with url: /centreon/index.php (Caused by ProxyError('Unable to connect to proxy', OSError('Tunnel connection failed: 407 Proxy Authentication Required')))

DEBUG: 2025-07-25 16:27:48.762111 Centreon-monitor Error getting the home page : requests.exceptions.ProxyError: HTTPSConnectionPool(host='centreon.xxxxx.xxxxx', port=443): Max retries exceeded with url: /centreon/index.php (Caused by ProxyError('Unable to connect to proxy', OSError('Tunnel connection failed: 407 Proxy Authentication Required')))

Il semble que nagstamon rajoute automatiquement /index.php pas nécessaire ici et même bloquant
Est-ce qu'il y a un moyen de désactiver cette ajout ? ou un autre moyen de corriger ce problème ?

Cordialement
François

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions