apigeontx opened a new issue, #403:
URL: https://github.com/apache/pulsar-helm-chart/issues/403

   **Describe the bug**
   I've modified the Chart.yaml to use `appVersion: 3.1.1` and I'm installing 
the Chart on Kubernetes v1.25.9. All services are starting fine (pulsar-bookie, 
pulsar-broker, pulsar-recovery, pulsar-toolset and pulsar-zookeeper), but the 
pulsar-proxy is failing to start. The pulsar-proxy log reveals:
   ```
   2023-11-02T17:01:52,196+0000 [pulsar-external-web-5-3] WARN  
org.apache.pulsar.broker.web.AuthenticationFilter - [100.77.223.28] Failed to 
authenticate HTTP request: Authentication required
   2023-11-02T17:01:52,197+0000 [pulsar-external-web-5-4] INFO  
org.eclipse.jetty.server.RequestLog - 100.77.223.28 - - [02/Nov/2023:17:01:52 
+0000] "GET /status.html HTTP/1.1" 401 550 "-" "kube-probe/1.25" 1
   2023-11-02T17:01:52,198+0000 [pulsar-external-web-5-3] INFO  
org.eclipse.jetty.server.RequestLog - 100.77.223.28 - - [02/Nov/2023:17:01:52 
+0000] "GET /status.html HTTP/1.1" 401 550 "-" "kube-probe/1.25" 1
   ```
   If I exec into the pulsar-proxy and try `curl http://localhost/status.html`, 
it shows:
   ```
   <html>
   <head>
   <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
   <title>Error 401 Authentication required</title>
   </head>
   <body><h2>HTTP ERROR 401 Authentication required</h2>
   <table>
   <tr><th>URI:</th><td>/status.html</td></tr>
   <tr><th>STATUS:</th><td>401</td></tr>
   <tr><th>MESSAGE:</th><td>Authentication required</td></tr>
   
<tr><th>SERVLET:</th><td>org.glassfish.jersey.servlet.ServletContainer-2ec3633f</td></tr>
   </table>
   <hr/><a href="https://eclipse.org/jetty";>Powered by Jetty:// 
9.4.51.v20230217</a><hr/>
   
   </body>
   </html>
   ```
   In the configMap, I'm specifying `authenticateMetricsEndpoint: "false"` and 
I also tried to set the webServicePort to 8080.
   
   I have the livenessProbe and readinessProbe set with:
   ```
         httpGet:
           path: /status.html
           port: 80
           scheme: HTTP
   ```
   This is working fine, if I use Pulsar 2.11.2
   
   One more note, I did try the latest changes from 
https://github.com/apache/pulsar-helm-chart/pull/356, but still didn't work.
   
   **Desktop (please complete the following information):**
    - OS: Red Hat Enterprise Linux Server release 7.9 (Maipo), el7uek.x86_64


-- 
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]

Reply via email to