"Node with name '[XYZ]' already exists." But there are no nodes listed under inventory

Description:

I launched PMM EC2 from AWS Marketplace. In Configuration > Add Service > Amazon RDS I click on “Start monitoring” on one of the listed services. Then under “Configuring MySQL service” I enter my username and password and click “Add Service”. The first time it indicated that the service was added successfully followed by an error:

"Internal server error."

Now whenever I am trying to add the node again it prompts this error:

Node with name "[XYZ]" already exists.

However when I go to Configuration > Inventory > Nodes there are no nodes listed. I have tried this on two different servers, and reproduced the error.

In the PMM RDS logs I see the following error:

time="2024-08-02T10:53:42.668+00:00" level=error msg="ts=2024-08-02T10:53:42.667Z caller=transport.go:54 level=error component=transport msg=\"POST https://logs.us-east-1.amazonaws.com/ -> net/http: request canceled (15.003045155s)\"" agentID=pmm-server/rds component=agent-process type=rds_exporter

The connection from the PMM server to the RDS is established according to telnet:

Trying 172.xx.xxxxx...
Connected to 172.xx.xx.xx.

I tried disabling TLS during the configuration as well.

I found another error:

time="2024-08-02T17:11:44.147+00:00" level=error msg="Get \"http://127.0.0.1:9090/prometheus/-/reload\": dial tcp 127.0.0.1:9090: connect: connection refused" component=victoriametrics

Steps to Reproduce:

See above

Version:

Current version: 2.42.0