we encountered a situation in our jenkins environment where an agent is trying to connect to the controller using the swarm plugin.
in order to do so, the node is using username with password or a specific token, but they are wrong.
our problem - we cannot disable the user since other nodes are also using it to connect.
we see hundreds of failures to authenticate inthe jenkins controller log, but we don't know what is their source.
we rather not use a sniffer (like wireshark) to try and find the source for this problem (the source node which made the request), so we ask if it is possible to add the source ip or source host name to the log right next to the bad credentials exception.
the attachment contains the log messge on the controller where we want the extra information about the failed login.
Originally reported by
amidar, imported from: add source ip or host name to log on authentication failure.
- assignee:
fbelzunc
- status: Open
- priority: Minor
- component(s): active-directory-plugin
- resolution: Unresolved
- votes: 0
- watchers: 2
- imported: 2025-12-07
Raw content of original issue
we encountered a situation in our jenkins environment where an agent is trying to connect to the controller using the swarm plugin.
in order to do so, the node is using username with password or a specific token, but they are wrong.
our problem - we cannot disable the user since other nodes are also using it to connect.
we see hundreds of failures to authenticate inthe jenkins controller log, but we don't know what is their source.
we rather not use a sniffer (like wireshark) to try and find the source for this problem (the source node which made the request), so we ask if it is possible to add the source ip or source host name to the log right next to the bad credentials exception.
the attachment contains the log messge on the controller where we want the extra information about the failed login.
environment
any jenkins version.<br/>
any os version.<br/>
any active directory plugin version.
1 attachment
we encountered a situation in our jenkins environment where an agent is trying to connect to the controller using the swarm plugin.
in order to do so, the node is using username with password or a specific token, but they are wrong.
our problem - we cannot disable the user since other nodes are also using it to connect.
we see hundreds of failures to authenticate inthe jenkins controller log, but we don't know what is their source.
we rather not use a sniffer (like wireshark) to try and find the source for this problem (the source node which made the request), so we ask if it is possible to add the source ip or source host name to the log right next to the bad credentials exception.
the attachment contains the log messge on the controller where we want the extra information about the failed login.
Originally reported by
amidar, imported from: add source ip or host name to log on authentication failure.
Raw content of original issue
environment
1 attachment