mcvsubbu commented on code in PR #13645:
URL: https://github.com/apache/pinot/pull/13645#discussion_r1682048721


##########
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:
   Seems like a wrong message in the exception. we are trying to start the 
non-ssl server here, right?



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to