Issue is resolved, it was a very strange problem, actually when i was trying to register the node i was logged in as root user (sudo su) , I simply exited from sudo su and tried to register the pmm-agent using sudo pmm-admin config --server-insecure-tls --server-url=https://admin:admin@10.57.58.215:443 10.57.58.72 generic stg-sanjana102
It worked this time.
I still don’t know why this problem exists, i have also unregistered the agent and again logged into root and tried to register again which again failed, but when i exit sudo su it works.
2 Likes