anandheritage commented on code in PR #13645: URL: https://github.com/apache/pinot/pull/13645#discussion_r1689111716
########## pinot-query-runtime/src/main/java/org/apache/pinot/query/service/server/QueryServer.java: ########## @@ -71,7 +88,17 @@ public void start() { LOGGER.info("Starting QueryServer"); try { if (_server == null) { - _server = ServerBuilder.forPort(_port).addService(this).maxInboundMessageSize(MAX_INBOUND_MESSAGE_SIZE).build(); + if (_tlsConfig == null) { + try { + _server = + ServerBuilder.forPort(_port).addService(this).maxInboundMessageSize(MAX_INBOUND_MESSAGE_SIZE).build(); + } catch (Exception e) { + throw new RuntimeException("Failed to start secure QueryServer", e); Review Comment: Done -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org