pmm icon indicating copy to clipboard operation
pmm copied to clipboard

Can't add service with "/" in address

Open rockbesst opened this issue 2 years ago • 2 comments

Description

I'm trying to add HAproxy service to PMM. We have a DNS-addresses like https://domain_name/project_name for some HAproxy instances. When I tried to add this address, I received error "Connection check failed: parse "my_address": invalid URL escape "%2F"." HAproxy's default config set URL /stats for statistics, so it could be able to add this URL for service

Expected Results

Service added to inventory

Actual Results

Error "Connection check failed: parse "": invalid URL escape "%2F"."

Version

2.36.0 and 2.41.0

Steps to reproduce

Menu Configuration -> Add service -> HAproxy (or External service, this issue also reproducing there), fill all fields, field Hostname must be with "/" in address

Relevant logs

No response

Code of Conduct

  • [X] I agree to follow Percona Community Code of Conduct

rockbesst avatar Dec 20 '23 13:12 rockbesst

Hi @rockbesst could you share cli command you used to add?

BupycHuk avatar Jan 19 '24 10:01 BupycHuk

Hi @rockbesst, could you please check latest PMM? We have fixed similar problem in 2.41.1 which was released in january.

BupycHuk avatar Apr 08 '24 08:04 BupycHuk