You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Gremlin Server with a non-default channelizer keeps leaking engine error text after arcadedb.server.mode is switched to production at runtime #9749
Follow-up of #9639. The fix for #9639 refuses to START the Gremlin Server in production mode with a channelizer that cannot conceal engine error text (anything other than the default WebSocketChannelizer, which is swapped for ConcealingWebSocketChannelizer). The check runs once, in GremlinServerPlugin.startService().
arcadedb.server.mode is however a runtime-changeable setting: ServerControlPlane.setServerSetting() (HTTP set server setting, gRPC, the MCP set_server_setting tool) stores production into the live configuration, and every other surface reads ArcadeDBServer.isProductionMode() per request, so it starts concealing immediately. ConcealingWebSocketChannelizer does the same per message.
A Gremlin Server started in development mode with WsAndHttpChannelizer, HttpChannelizer or UnifiedChannelizer keeps answering with Throwable.getMessage() (stored duplicated-key values included) after the mode is switched to production at runtime. Nothing warns.
Fixed by #9759. A server started in development mode with a Gremlin channelizer that cannot conceal engine error text (WsAndHttpChannelizer, HttpChannelizer, UnifiedChannelizer or a custom class) could be switched to arcadedb.server.mode=production at runtime, and it then reported production mode while its Gremlin port kept returning raw error messages. That switch is now refused while such a channelizer is running, on every runtime path (HTTP set server setting answers 400, gRPC SetServerSetting answers INVALID_ARGUMENT, and the MCP set_server_setting tool returns an error), and the message names the channelizer and the default one to use instead. A refused change is not stored, and the development-mode startup warning now says the switch will be refused.
Still open: nothing, the fix is complete. Option 2 from this issue (concealing errors on the HTTP channelizers so they could run in production) was not taken, since the refusal is still needed for custom channelizers.
❤️ Thanks for helping make ArcadeDB better! ArcadeDB is free and open source, sustained by its community. If it's useful to you or your company, please consider becoming a sponsor to keep development going.
Activity
fix(#9749): refuse a runtime switch to production mode while the Grem…
fix(#9749): refuse a runtime switch to production mode while the Grem…
robfrank commentedon Oct 22, 2026
Fixed by #9759. A server started in development mode with a Gremlin channelizer that cannot conceal engine error text (
WsAndHttpChannelizer,HttpChannelizer,UnifiedChannelizeror a custom class) could be switched toarcadedb.server.mode=productionat runtime, and it then reported production mode while its Gremlin port kept returning raw error messages. That switch is now refused while such a channelizer is running, on every runtime path (HTTPset server settinganswers 400, gRPCSetServerSettinganswersINVALID_ARGUMENT, and the MCPset_server_settingtool returns an error), and the message names the channelizer and the default one to use instead. A refused change is not stored, and the development-mode startup warning now says the switch will be refused.Still open: nothing, the fix is complete. Option 2 from this issue (concealing errors on the HTTP channelizers so they could run in production) was not taken, since the refusal is still needed for custom channelizers.
❤️ Thanks for helping make ArcadeDB better! ArcadeDB is free and open source, sustained by its community. If it's useful to you or your company, please consider becoming a sponsor to keep development going.