apache/rocketmq · error · AuthenticationException
The request of {} is not support.
Error message
The request of {} is not support. What it means
Error "The request of {} is not support." thrown in apache/rocketmq.
Source
Thrown at auth/src/main/java/org/apache/rocketmq/auth/authentication/strategy/StatefulAuthenticationStrategy.java:70
return Pair.of(true, null);
} catch (AuthenticationException ex) {
return Pair.of(false, ex);
}
});
if (result != null && result.getObject1() == Boolean.FALSE) {
throw result.getObject2();
}
}
private String buildKey(AuthenticationContext context) {
if (context instanceof DefaultAuthenticationContext) {
DefaultAuthenticationContext ctx = (DefaultAuthenticationContext) context;
if (StringUtils.isBlank(ctx.getUsername())) {
return ctx.getChannelId();
}
return ctx.getChannelId() + CommonConstants.POUND + ctx.getUsername();
}
throw new AuthenticationException("The request of {} is not support.", context.getClass().getSimpleName());
}
}
View on GitHub (pinned to 293f588571)
Solutions
- Confirm the request code sent to the broker is supported by the StatefulAuthenticationStrategy; only supported request types can be authenticated through this path.
- Upgrade the client/broker to matching versions so the request type is recognized.
- If this is a custom or new request type, implement or register an appropriate AuthenticationStrategy for it.
When it happens
Trigger: Occurs when the stateful authentication strategy receives a request type it does not support.
Common situations: Client sends a request code not handled by the stateful authentication strategy, e.g. an admin or unsupported operation routed to authentication.
AI-assisted analysis of apache/rocketmq@293f588571 (2026-08-14).
Data as JSON: /api/errors/9d5879b5d8eb86fa.
Report an issue: GitHub.