{"record":{"id":"e7a89c88681bbedd","repo":"pinpoint-apm/pinpoint","slug":"failed-to-send-agentinfo-request-unsuccessful","errorCode":null,"errorMessage":"Failed to send agentInfo={}. request unsuccessful, response={}","messagePattern":"Failed to send agentInfo=(.+?)\\. request unsuccessful, response=(.+?)","errorType":"console","errorClass":null,"httpStatus":null,"severity":"warning","filePath":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/AgentInfoSender.java","lineNumber":191,"sourceCode":"        private boolean sendAgentInfo() {\n            AgentInfo agentInfo = null;\n            try {\n                agentInfo = agentInfoFactory.createAgentInfo();\n\n                logger.info(\"Sending AgentInfo={}\", agentInfo);\n                CompletableFuture<ResultResponse> future = dataSender.request(agentInfo);\n                ResultResponse result = future.get(3000, TimeUnit.MILLISECONDS);\n                if (result == null) {\n                    if (agentInfo != null && agentInfo.getAgentInformation() != null) {\n                        logger.warn(\"Failed to send agentInfo={}. result not set\", agentInfo.getAgentInformation());\n                    } else {\n                        logger.warn(\"Failed to send agentInfo. result not set\");\n                    }\n                    return false;\n                }\n                if (!result.isSuccess()) {\n                    if (agentInfo != null && agentInfo.getAgentInformation() != null) {\n                        logger.warn(\"Failed to send agentInfo={}. request unsuccessful, response={}\", agentInfo.getAgentInformation(), result.getMessage());\n                    } else {\n                        logger.warn(\"Failed to send agentInfo. request unsuccessful, response={}\", result.getMessage());\n                    }\n                }\n                return result.isSuccess();\n            } catch (ExecutionException ex) {\n                logError(agentInfo, ex.getCause());\n            } catch (InterruptedException ex) {\n                Thread.currentThread().interrupt();\n                logError(agentInfo, ex);\n            } catch (TimeoutException ex) {\n                logError(agentInfo, ex);\n            }\n            return false;\n        }\n\n        private void logError(AgentInfo agentInfo, Throwable cause) {\n            if (agentInfo != null && agentInfo.getAgentInformation() != null) {","sourceCodeStart":173,"sourceCodeEnd":209,"githubUrl":"https://github.com/pinpoint-apm/pinpoint/blob/744c3d3075e595656abb1ae331ad2c0e4c9eb996/agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/AgentInfoSender.java#L173-L209","documentation":"The collector responded with a ResultResponse whose isSuccess() is false, i.e. the collector explicitly rejected the AgentInfo. Logged with the agent details and the collector's response message; sendAgentInfo returns false and retries later.","triggerScenarios":"dataSender.request(agentInfo) future completes with a non-null ResultResponse where result.isSuccess() == false and agentInfo.getAgentInformation() != null.","commonSituations":"Collector rejecting the registration because of an invalid agentId/applicationName, collector-side storage (HBase) write failure, or version/protocol mismatch causing the collector to answer with an error result.","solutions":["Read the response message in the log ('response=...') for the collector's rejection reason","Verify agentId/applicationName uniqueness and validity for the collector (duplicates or bad format cause rejection)","Check collector/HBase health: storage write failures make the collector return unsuccessful results","Align agent and collector versions; the sender retries automatically so transient storage issues may self-heal"],"exampleFix":null,"handlingStrategy":"retry","validationCode":null,"typeGuard":null,"tryCatchPattern":"if (!result.isSuccess()) { logger.warn(\"rejected by collector: {}\", result.getMessage()); return false; } // sender retries automatically","preventionTips":["Read response=... in the log for the collector's rejection reason","Keep agentId unique per application and format-valid","Keep collector and HBase healthy; check collector logs on repeated rejects"],"tags":["agent-registration","rpc","collector","rejected"],"backgroundTag":"api-error-response","analyzedSha":"744c3d3075e595656abb1ae331ad2c0e4c9eb996","analyzedAt":"2026-09-07T18:48:45.289Z","contentChangedAt":"2026-09-07T18:48:45.289Z","schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}