Failed to register pmm-agent on PMM Server: response from nginx

While connecting to configure we are facing this error. But able to access the percona via broswer

Warning: PMM Server requires TLS communications with client.
Checking local pmm-agent status…
pmm-agent is running.
Registering pmm-agent on PMM Server…
Failed to register pmm-agent on PMM Server: response from nginx:

Command: sudo pmm-admin config --server-insecure-tls --server-url=http://admin:********@15X.X9.1XX.X06:8081

ProjectName: pmm-admin
Version: 2.17.0
PMMVersion: 2.17.0

Hello @helloworld - welcome to the Percona Forums!
It sounds like your PMM Server is running but you are unable to register clients. It would assist us greatly if you could download the diagnostic data from PMM Server and then attach to this issue so we can review and provide recommendations. Instructions on where to gather the logs are located at this link:

1 Like

The http port is only for browser interaction (so just accessing the UI). All client to server communication must be over an encrypted channel…doesn’t necessarily need to be port 443 but does need to be HTTPS. so try the command:

sudo pmm-admin config --server-insecure-tls --server-url=https://admin:********@15X.X9.1XX.X06:8443
(note the https and change to the secure port…whatever you exposed when you did your docker run or setup from AMI/OVF.


Thanks it worked :innocent: :slight_smile: :slight_smile:

1 Like