Dear @matthewb tried with https as well and below is the log:
[root@stg01 ~]# pmm-admin config --force --server-insecure-tls --server-url=https://admin:admin@pmm-server-IP --debug
DEBUG 2023-08-04 06:33:21.341321391Z: Running: pmm-agent --server-address=pmm-server-IP:443 --server-username=admin --server-password=PMM@2023 --listen-port=7777 --server-insecure-tls --log-level=warn --debug --log-lines-count=1024 setup --force --metrics-mode=auto 10.40.132.90 generic stg01
DEBUG 2023-08-04 06:33:21.419013821Z: Result: &commands.configResult{Warning:“”, Output:“Checking local pmm-agent status…\npmm-agent is running.\nRegistering pmm-agent on PMM Server…\nFailed to register pmm-agent on PMM Server: Internal server error…”}
DEBUG 2023-08-04 06:33:21.419533227Z: Error: &exec.ExitError{ProcessState:(*os.ProcessState)(0xc000160000), Stderr:uint8{0x1b, 0x5b, 0x33, 0x36, 0x6d, 0x49, 0x4e, 0x46, 0x4f, 0x1b, 0x5b, 0x30, 0x6d, 0x5b, 0x32, 0x30, 0x32, 0x33, 0x2d, 0x30, 0x38, 0x2d, 0x30, 0x34, 0x54, 0x31, 0x30, 0x3a, 0x33, 0x33, 0x3a, 0x32, 0x31, 0x2e, 0x33, 0x36, 0x39, 0x2b, 0x30, 0x34, 0x3a, 0x30, 0x30, 0x5d, 0x20, 0x55, 0x73, 0x69, 0x6e, 0x67, 0x20, 0x2f, 0x75, 0x73, 0x72, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x2f, 0x70, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x61, 0x2f, 0x70, 0x6d, 0x6d, 0x32, 0x2f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x73, 0x2f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x20, 0x20, 0x1b, 0x5b, 0x33, 0x36, 0x6d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x1b, 0x5b, 0x30, 0x6d, 0x3d, 0x73, 0x65, 0x74, 0x75, 0x70, 0xa, 0x1b, 0x5b, 0x33, 0x36, 0x6d, 0x49, 0x4e, 0x46, 0x4f, 0x1b, 0x5b, 0x30, 0x6d, 0x5b, 0x32, 0x30, 0x32, 0x33, 0x2d, 0x30, 0x38, 0x2d, 0x30, 0x34, 0x54, 0x31, 0x30, 0x3a, 0x33, 0x33, 0x3a, 0x32, 0x31, 0x2e, 0x33, 0x36, 0x39, 0x2b, 0x30, 0x34, 0x3a, 0x30, 0x30, 0x5d, 0x20, 0x55, 0x73, 0x69, 0x6e, 0x67, 0x20, 0x2f, 0x75, 0x73, 0x72, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x2f, 0x70, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x61, 0x2f, 0x70, 0x6d, 0x6d, 0x32, 0x2f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x73, 0x2f, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x64, 0x5f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x20, 0x20, 0x1b, 0x5b, 0x33, 0x36, 0x6d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x1b, 0x5b, 0x30, 0x6d, 0x3d, 0x73, 0x65, 0x74, 0x75, 0x70, 0xa, 0x1b, 0x5b, 0x33, 0x36, 0x6d, 0x49, 0x4e, 0x46, 0x4f, 0x1b, 0x5b, 0x30, 0x6d, 0x5b, 0x32, 0x30, 0x32, 0x33, 0x2d, 0x30, 0x38, 0x2d, 0x30, 0x34, 0x54, 0x31, 0x30, 0x3a, 0x33, 0x33, 0x3a, 0x32, 0x31, 0x2e, 0x33, 0x36, 0x39, 0x2b, 0x30, 0x34, 0x3a, 0x30, 0x30, 0x5d, 0x20, 0x55, 0x73, 0x69, 0x6e, 0x67, 0x20, 0x2f, 0x75, 0x73, 0x72, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x2f, 0x70, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x61, 0x2f, 0x70, 0x6d, 0x6d, 0x32, 0x2f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x73, 0x2f, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x64, 0x62, 0x5f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x20, 0x20, 0x1b, 0x5b, 0x33, 0x36, 0x6d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x1b, 0x5b, 0x30, 0x6d, 0x3d, 0x73, 0x65, 0x74, 0x75, 0x70, 0xa, 0x1b, 0x5b, 0x33, 0x36, 0x6d, 0x49, 0x4e, 0x46, 0x4f, 0x1b, 0x5b, 0x30, 0x6d, 0x5b, 0x32, 0x30, 0x32, 0x33, 0x2d, 0x30, 0x38, 0x2d, 0x30, 0x34, 0x54, 0x31, 0x30, 0x3a, 0x33, 0x33, 0x3a, 0x32, 0x31, 0x2e, 0x33, 0x36, 0x39, 0x2b, 0x30, 0x34, 0x3a, 0x30, 0x30, 0x5d, 0x20, 0x55, 0x73, 0x69, 0x6e, 0x67, 0x20, 0x2f, 0x75, 0x73, 0x72, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x2f, 0x70, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x61, 0x2f, 0x70, 0x6d, 0x6d, 0x32, 0x2f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x73, 0x2f, 0x70, 0x6f, 0x73, 0x74, 0x67, 0x72, 0x65, 0x73, 0x5f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x20, 0x20, 0x1b, 0x5b, 0x33, 0x36, 0x6d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x1b, 0x5b, 0x30, 0x6d, 0x3d, 0x73, 0x65, 0x74, 0x75, 0x70, 0xa, 0x1b, 0x5b, 0x33, 0x36, 0x6d, 0x49, 0x4e, 0x46, 0x4f, 0x1b, 0x5b, 0x30, 0x6d, 0x5b, 0x32, 0x30, 0x32, 0x33, 0x2d, 0x30, 0x38, 0x2d, 0x30, 0x34, 0x54, 0x31, 0x30, 0x3a, 0x33, 0x33, 0x3a, 0x32, 0x31, 0x2e, 0x33, 0x36, 0x39, 0x2b, 0x30, 0x34, 0x3a, 0x30, 0x30, 0x5d, 0x20, 0x55, 0x73, 0x69, 0x6e, 0x67, 0x20, 0x2f, 0x75, 0x73, 0x72, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x2f, 0x70, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x61, 0x2f, 0x70, 0x6d, 0x6d, 0x32, 0x2f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x73, 0x71, 0x6c, 0x5f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x20, 0x20, 0x1b, 0x5b, 0x33, 0x36, 0x6d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x1b, 0x5b, 0x30, 0x6d, 0x3d, 0x73, 0x65, 0x74, 0x75, 0x70, 0xa, 0x1b, 0x5b, 0x33, 0x36, 0x6d, 0x49, 0x4e, 0x46, 0x4f, 0x1b, 0x5b, 0x30, 0x6d, 0x5b, 0x32, 0x30, 0x32, 0x33, 0x2d, 0x30, 0x38, 0x2d, 0x30, 0x34, 0x54, 0x31, 0x30, 0x3a, 0x33, 0x33, 0x3a, 0x32, 0x31, 0x2e, 0x33, 0x36, 0x39, 0x2b, 0x30, 0x34, 0x3a, 0x30, 0x30, 0x5d, 0x20, 0x55, 0x73, 0x69, 0x6e, 0x67, 0x20, 0x2f, 0x75, 0x73, 0x72, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x2f, 0x70, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x61, 0x2f, 0x70, 0x6d, 0x6d, 0x32, 0x2f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x73, 0x2f, 0x72, 0x64, 0x73, 0x5f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x20, 0x20, 0x1b, 0x5b, 0x33, 0x36, 0x6d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x1b, 0x5b, 0x30, 0x6d, 0x3d, 0x73, 0x65, 0x74, 0x75, 0x70, 0xa, 0x1b, 0x5b, 0x33, 0x36, 0x6d, 0x49, 0x4e, 0x46, 0x4f, 0x1b, 0x5b, 0x30, 0x6d, 0x5b, 0x32, 0x30, 0x32, 0x33, 0x2d, 0x30, 0x38, 0x2d, 0x30, 0x34, 0x54, 0x31, 0x30, 0x3a, 0x33, 0x33, 0x3a, 0x32, 0x31, 0x2e, 0x33, 0x36, 0x39, 0x2b, 0x30, 0x34, 0x3a, 0x30, 0x30, 0x5d, 0x20, 0x55, 0x73, 0x69, 0x6e, 0x67, 0x20, 0x2f, 0x75, 0x73, 0x72, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x2f, 0x70, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x61, 0x2f, 0x70, 0x6d, 0x6d, 0x32, 0x2f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x73, 0x2f, 0x61, 0x7a, 0x75, 0x72, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x20, 0x20, 0x1b, 0x5b, 0x33, 0x36, 0x6d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x1b, 0x5b, 0x30, 0x6d, 0x3d, 0x73, 0x65, 0x74, 0x75, 0x70, 0xa, 0x1b, 0x5b, 0x33, 0x36, 0x6d, 0x49, 0x4e, 0x46, 0x4f, 0x1b, 0x5b, 0x30, 0x6d, 0x5b, 0x32, 0x30, 0x32, 0x33, 0x2d, 0x30, 0x38, 0x2d, 0x30, 0x34, 0x54, 0x31, 0x30, 0x3a, 0x33, 0x33, 0x3a, 0x32, 0x31, 0x2e, 0x33, 0x36, 0x39, 0x2b, 0x30, 0x34, 0x3a, 0x30, 0x30, 0x5d, 0x20, 0x55, 0x73, 0x69, 0x6e, 0x67, 0x20, 0x2f, 0x75, 0x73, 0x72, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x2f, 0x70, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x61, 0x2f, 0x70, 0x6d, 0x6d, 0x32, 0x2f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x73, 0x2f, 0x76, 0x6d, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x20, 0x20, 0x1b, 0x5b, 0x33, 0x36, 0x6d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x1b, 0x5b, 0x30, 0x6d, 0x3d, 0x73, 0x65, 0x74, 0x75, 0x70, 0xa, 0x1b, 0x5b, 0x33, 0x37, 0x6d, 0x44, 0x45, 0x42, 0x55, 0x1b, 0x5b, 0x30, 0x6d, 0x5b, 0x32, 0x30, 0x32, 0x33, 0x2d, 0x30, 0x38, 0x2d, 0x30, 0x34, 0x54, 0x31, 0x30, 0x3a, 0x33, 0x33, 0x3a, 0x32, 0x31, 0x2e, 0x33, 0x36, 0x39, 0x2b, 0x30, 0x34, 0x3a, 0x30, 0x30, 0x5d, 0x20, 0x50, 0x4f, 0x53, 0x54, 0x20, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x2f, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x20, 0x48, 0x54, 0x54, 0x50, 0x2f, 0x31, 0x2e, 0x31, 0xd, 0xa, 0x48, 0x6f, 0x73, 0x74, 0x3a, 0x20, 0x31, 0x32, 0x37, 0x2e, 0x30, 0x2e, 0x30, 0x2e, 0x31, 0x3a, 0x37, 0x37, 0x37, 0x37, 0xd, 0xa, 0x55, 0x73, 0x65, 0x72, 0x2d, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x3a, 0x20, 0x47, 0x6f, 0x2d, 0x68, 0x74, 0x74, 0x70, 0x2d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x31, 0x2e, 0x31, 0xd, 0xa, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x3a, 0x20, 0x33, 0xd, 0xa, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x3a, 0x20, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0xd, 0xa, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x54, 0x79, 0x70, 0x65, 0x3a, 0x20, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0xd, 0xa, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x2d, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x3a, 0x20, 0x67, 0x7a, 0x69, 0x70, 0xd, 0xa, 0xd, 0xa, 0x7b, 0x7d, 0xa, 0x20, 0x20, 0x1b, 0x5b, 0x33, 0x37, 0x6d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x1b, 0x5b, 0x30, 0x6d, 0x3d, 0x73, 0x65, 0x74, 0x75, 0x70, 0xa, 0x1b, 0x5b, 0x33, 0x37, 0x6d, 0x44, 0x45, 0x42, 0x55, 0x1b, 0x5b, 0x30, 0x6d, 0x5b, 0x32, 0x30, 0x32, 0x33, 0x2d, 0x30, 0x38, 0x2d, 0x30, 0x34, 0x54, 0x31, 0x30, 0x3a, 0x33, 0x33, 0x3a, 0x32, 0x31, 0x2e, 0x33, 0x37, 0x31, 0x2b, 0x30, 0x34, 0x3a, 0x30, 0x30, 0x5d, 0x20, 0x48, 0x54, 0x54, 0x50, 0x2f, 0x31, 0x2e, 0x31, 0x20, 0x32, 0x30, 0x30, 0x20, 0x4f, 0x4b, 0xd, 0xa, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x3a, 0x20, 0x32, 0x33, 0x33, 0xd, 0xa, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x54, 0x79, 0x70, 0x65, 0x3a, 0x20, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0xd, 0xa, 0x44, 0x61, 0x74, 0x65, 0x3a, 0x20, 0x46, 0x72, 0x69, 0x2c, 0x20, 0x30, 0x34, 0x20, 0x41, 0x75, 0x67, 0x20, 0x32, 0x30, 0x32, 0x33, 0x20, 0x30, 0x36, 0x3a, 0x33, 0x33, 0x3a, 0x32, 0x31, 0x20, 0x47, 0x4d, 0x54, 0xd, 0xa, 0x47, 0x72, 0x70, 0x63, 0x2d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2d, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x54, 0x79, 0x70, 0x65, 0x3a, 0x20, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x72, 0x70, 0x63, 0xd, 0xa, 0xd, 0xa, 0x7b, 0xa, 0x20, 0x20, 0x22, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x22, 0x3a, 0x20, 0x22, 0x22, 0x2c, 0xa, 0x20, 0x20, 0x22, 0x72, 0x75, 0x6e, 0x73, 0x5f, 0x6f, 0x6e, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x22, 0x3a, 0x20, 0x22, 0x22, 0x2c, 0xa, 0x20, 0x20, 0x22, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x3a, 0x20, 0x6e, 0x75, 0x6c, 0x6c, 0x2c, 0xa, 0x20, 0x20, 0x22, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x3a, 0x20, 0x5b, 0x5d, 0x2c, 0xa, 0x20, 0x20, 0x22, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x70, 0x61, 0x74, 0x68, 0x22, 0x3a, 0x20, 0x22, 0x2f, 0x75, 0x73, 0x72, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x2f, 0x70, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x61, 0x2f, 0x70, 0x6d, 0x6d, 0x32, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x70, 0x6d, 0x6d, 0x2d, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x79, 0x61, 0x6d, 0x6c, 0x22, 0x2c, 0xa, 0x20, 0x20, 0x22, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x20, 0x22, 0x32, 0x2e, 0x33, 0x37, 0x2e, 0x30, 0x22, 0x2c, 0xa, 0x20, 0x20, 0x22, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x20, 0x22, 0x22, 0x2c, 0xa, 0x20, 0x20, 0x22, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x75, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x22, 0x3a, 0x20, 0x30, 0xa, 0x7d, 0x20, 0x20, 0x1b, 0x5b, 0x33, 0x37, 0x6d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x1b, 0x5b, 0x30, 0x6d, 0x3d, 0x73, 0x65, 0x74, 0x75, 0x70, 0xa, 0x1b, 0x5b, 0x33, 0x37, 0x6d, 0x44, 0x45, 0x42, 0x55, 0x1b, 0x5b, 0x30, 0x6d, 0x5b, 0x32, 0x30, 0x32, 0x33, 0x2d, 0x30, 0x38, 0x2d, 0x30, 0x34, 0x54, 0x31, 0x30, 0x3a, 0x33, 0x33, 0x3a, 0x32, 0x31, 0x2e, 0x33, 0x37, 0x31, 0x2b, 0x30, 0x34, 0x3a, 0x30, 0x30, 0x5d, 0x20, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x20, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x3a, 0x20, 0x3c, 0x6e, 0x69, 0x6c, 0x3e, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x1b, 0x5b, 0x33, 0x37, 0x6d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x1b, 0x5b, 0x30, 0x6d, 0x3d, 0x73, 0x65, 0x74, 0x75, 0x70, 0xa, 0x1b, 0x5b, 0x33, 0x37, 0x6d, 0x44, 0x45, 0x42, 0x55, 0x1b, 0x5b, 0x30, 0x6d, 0x5b, 0x32, 0x30, 0x32, 0x33, 0x2d, 0x30, 0x38, 0x2d, 0x30, 0x34, 0x54, 0x31, 0x30, 0x3a, 0x33, 0x33, 0x3a, 0x32, 0x31, 0x2e, 0x33, 0x37, 0x31, 0x2b, 0x30, 0x34, 0x3a, 0x30, 0x30, 0x5d, 0x20, 0x50, 0x4f, 0x53, 0x54, 0x20, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x4e, 0x6f, 0x64, 0x65, 0x2f, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x20, 0x48, 0x54, 0x54, 0x50, 0x2f, 0x31, 0x2e, 0x31, 0xd, 0xa, 0x48, 0x6f, 0x73, 0x74, 0x3a, 0x20, 0x31, 0x30, 0x2e, 0x34, 0x30, 0x2e, 0x31, 0x33, 0x31, 0x2e, 0x32, 0x31, 0x36, 0x3a, 0x34, 0x34, 0x33, 0xd, 0xa, 0x55, 0x73, 0x65, 0x72, 0x2d, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x3a, 0x20, 0x47, 0x6f, 0x2d, 0x68, 0x74, 0x74, 0x70, 0x2d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x31, 0x2e, 0x31, 0xd, 0xa, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x3a, 0x20, 0x32, 0x32, 0x32, 0xd, 0xa, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x3a, 0x20, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0xd, 0xa, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x20, 0x42, 0x61, 0x73, 0x69, 0x63, 0x20, 0x59, 0x57, 0x52, 0x74, 0x61, 0x57, 0x34, 0x36, 0x55, 0x45, 0x31, 0x4e, 0x51, 0x44, 0x49, 0x77, 0x4d, 0x6a, 0x4d, 0x3d, 0xd, 0xa, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x54, 0x79, 0x70, 0x65, 0x3a, 0x20, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0xd, 0xa, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x2d, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x3a, 0x20, 0x67, 0x7a, 0x69, 0x70, 0xd, 0xa, 0xd, 0xa, 0x7b, 0x22, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x49, 0x43, 0x5f, 0x4e, 0x4f, 0x44, 0x45, 0x22, 0x2c, 0x22, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x66, 0x74, 0x73, 0x68, 0x61, 0x74, 0x73, 0x74, 0x30, 0x31, 0x22, 0x2c, 0x22, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x3a, 0x22, 0x31, 0x30, 0x2e, 0x34, 0x30, 0x2e, 0x31, 0x33, 0x32, 0x2e, 0x39, 0x30, 0x22, 0x2c, 0x22, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x2f, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x2f, 0x38, 0x39, 0x65, 0x37, 0x66, 0x63, 0x36, 0x34, 0x31, 0x37, 0x37, 0x34, 0x34, 0x32, 0x37, 0x36, 0x62, 0x66, 0x37, 0x32, 0x65, 0x35, 0x37, 0x31, 0x39, 0x66, 0x35, 0x34, 0x39, 0x36, 0x63, 0x64, 0x22, 0x2c, 0x22, 0x64, 0x69, 0x73, 0x74, 0x72, 0x6f, 0x22, 0x3a, 0x22, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x22, 0x2c, 0x22, 0x72, 0x65, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x22, 0x3a, 0x74, 0x72, 0x75, 0x65, 0x2c, 0x22, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x22, 0x3a, 0x22, 0x41, 0x55, 0x54, 0x4f, 0x22, 0x2c, 0x22, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x22, 0x3a, 0x6e, 0x75, 0x6c, 0x6c, 0x7d, 0xa, 0x20, 0x20, 0x1b, 0x5b, 0x33, 0x37, 0x6d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x1b, 0x5b, 0x30, 0x6d, 0x3d, 0x73, 0x65, 0x74, 0x75, 0x70, 0xa, 0x1b, 0x5b, 0x33, 0x37, 0x6d, 0x44, 0x45, 0x42, 0x55, 0x1b, 0x5b, 0x30, 0x6d, 0x5b, 0x32, 0x30, 0x32, 0x33, 0x2d, 0x30, 0x38, 0x2d, 0x30, 0x34, 0x54, 0x31, 0x30, 0x3a, 0x33, 0x33, 0x3a, 0x32, 0x31, 0x2e, 0x34, 0x31, 0x34, 0x2b, 0x30, 0x34, 0x3a, 0x30, 0x30, 0x5d, 0x20, 0x48, 0x54, 0x54, 0x50, 0x2f, 0x31, 0x2e, 0x31, 0x20, 0x35, 0x30, 0x30, 0x20, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x20, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x20, 0x45, 0x72, 0x72, 0x6f, 0x72, 0xd, 0xa, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x3a, 0x20, 0x39, 0x32, 0xd, 0xa, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x20, 0x6b, 0x65, 0x65, 0x70, 0x2d, 0x61, 0x6c, 0x69, 0x76, 0x65, 0xd, 0xa, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x54, 0x79, 0x70, 0x65, 0x3a, 0x20, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0xd, 0xa, 0x44, 0x61, 0x74, 0x65, 0x3a, 0x20, 0x46, 0x72, 0x69, 0x2c, 0x20, 0x30, 0x34, 0x20, 0x41, 0x75, 0x67, 0x20, 0x32, 0x30, 0x32, 0x33, 0x20, 0x30, 0x36, 0x3a, 0x33, 0x33, 0x3a, 0x32, 0x31, 0x20, 0x47, 0x4d, 0x54, 0xd, 0xa, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x3a, 0x20, 0x6e, 0x67, 0x69, 0x6e, 0x78, 0xd, 0xa, 0x53, 0x74, 0x72, 0x69, 0x63, 0x74, 0x2d, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2d, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x3a, 0x20, 0x6d, 0x61, 0x78, 0x2d, 0x61, 0x67, 0x65, 0x3d, 0x36, 0x33, 0x30, 0x37, 0x32, 0x30, 0x30, 0x30, 0x3b, 0x20, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x53, 0x75, 0x62, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x3b, 0xd, 0xa, 0xd, 0xa, 0x7b, 0xa, 0x20, 0x20, 0x22, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x3a, 0x20, 0x22, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x20, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x20, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x2e, 0x22, 0x2c, 0xa, 0x20, 0x20, 0x22, 0x63, 0x6f, 0x64, 0x65, 0x22, 0x3a, 0x20, 0x31, 0x33, 0x2c, 0xa, 0x20, 0x20, 0x22, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x3a, 0x20, 0x22, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x20, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x20, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x2e, 0x22, 0xa, 0x7d, 0x20, 0x20, 0x1b, 0x5b, 0x33, 0x37, 0x6d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x1b, 0x5b, 0x30, 0x6d, 0x3d, 0x73, 0x65, 0x74, 0x75, 0x70, 0xa, 0x1b, 0x5b, 0x33, 0x37, 0x6d, 0x44, 0x45, 0x42, 0x55, 0x1b, 0x5b, 0x30, 0x6d, 0x5b, 0x32, 0x30, 0x32, 0x33, 0x2d, 0x30, 0x38, 0x2d, 0x30, 0x34, 0x54, 0x31, 0x30, 0x3a, 0x33, 0x33, 0x3a, 0x32, 0x31, 0x2e, 0x34, 0x31, 0x34, 0x2b, 0x30, 0x34, 0x3a, 0x30, 0x30, 0x5d, 0x20, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x20, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x3a, 0x20, 0x26, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x6f, 0x64, 0x65, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x7b, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x3a, 0x35, 0x30, 0x30, 0x2c, 0x20, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x3a, 0x28, 0x2a, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x6f, 0x64, 0x65, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x42, 0x6f, 0x64, 0x79, 0x29, 0x28, 0x30, 0x78, 0x63, 0x30, 0x30, 0x30, 0x32, 0x35, 0x64, 0x61, 0x37, 0x30, 0x29, 0x7d, 0x20, 0x20, 0x1b, 0x5b, 0x33, 0x37, 0x6d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x1b, 0x5b, 0x30, 0x6d, 0x3d, 0x73, 0x65, 0x74, 0x75, 0x70, 0xa}}
Checking local pmm-agent status…
pmm-agent is running.
Registering pmm-agent on PMM Server…
Failed to register pmm-agent on PMM Server: Internal server error…
DEBUG 2023-08-04 06:33:21.419866866Z: exit status 1, stderr:
INFO[2023-08-04T10:33:21.369+04:00] Using /usr/local/percona/pmm2/exporters/node_exporter component=setup
INFO[2023-08-04T10:33:21.369+04:00] Using /usr/local/percona/pmm2/exporters/mysqld_exporter component=setup
INFO[2023-08-04T10:33:21.369+04:00] Using /usr/local/percona/pmm2/exporters/mongodb_exporter component=setup
INFO[2023-08-04T10:33:21.369+04:00] Using /usr/local/percona/pmm2/exporters/postgres_exporter component=setup
INFO[2023-08-04T10:33:21.369+04:00] Using /usr/local/percona/pmm2/exporters/proxysql_exporter component=setup
INFO[2023-08-04T10:33:21.369+04:00] Using /usr/local/percona/pmm2/exporters/rds_exporter component=setup
INFO[2023-08-04T10:33:21.369+04:00] Using /usr/local/percona/pmm2/exporters/azure_exporter component=setup
INFO[2023-08-04T10:33:21.369+04:00] Using /usr/local/percona/pmm2/exporters/vmagent component=setup
DEBU[2023-08-04T10:33:21.369+04:00] POST /local/Status HTTP/1.1
Host: 127.0.0.1:7777
User-Agent: Go-http-client/1.1
Content-Length: 3
Accept: application/json
Content-Type: application/json
Accept-Encoding: gzip
{}
component=setup
DEBU[2023-08-04T10:33:21.371+04:00] HTTP/1.1 200 OK
Content-Length: 233
Content-Type: application/json
Date: Fri, 04 Aug 2023 06:33:21 GMT
Grpc-Metadata-Content-Type: application/grpc
{
“agent_id”: “”,
“runs_on_node_id”: “”,
“server_info”: null,
“agents_info”: ,
“config_filepath”: “/usr/local/percona/pmm2/config/pmm-agent.yaml”,
“agent_version”: “2.37.0”,
“node_name”: “”,
“connection_uptime”: 0
} component=setup
DEBU[2023-08-04T10:33:21.371+04:00] Status error: component=setup
DEBU[2023-08-04T10:33:21.371+04:00] POST /v1/management/Node/Register HTTP/1.1
Host: pmm-server-IP:443
User-Agent: Go-http-client/1.1
Content-Length: 222
Accept: application/json
Authorization: Basic YWRtaW46UE1NQDIwMjM=
Content-Type: application/json
Accept-Encoding: gzip
{“node_type”:“GENERIC_NODE”,“node_name”:“stg01”,“address”:“10.40.132.90”,“machine_id”:“/machine_id/89e7fc6417744276bf72e5719f5496cd”,“distro”:“linux”,“reregister”:true,“metrics_mode”:“AUTO”,“disable_collectors”:null}
component=setup
DEBU[2023-08-04T10:33:21.414+04:00] HTTP/1.1 500 Internal Server Error
Content-Length: 92
Connection: keep-alive
Content-Type: application/json
Date: Fri, 04 Aug 2023 06:33:21 GMT
Server: nginx
Strict-Transport-Security: max-age=63072000; includeSubdomains;
{
“error”: “Internal server error.”,
“code”: 13,
“message”: “Internal server error.”
} component=setup
DEBU[2023-08-04T10:33:21.414+04:00] Register error: &node.RegisterNodeDefault{_statusCode:500, Payload:(*node.RegisterNodeDefaultBody)(0xc00025da70)} component=setup
[root@stg01 ~]#