You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/06/17 19:16:32 UTC

[GitHub] [pulsar] trexinc opened a new issue #7292: pulsar-admin topics delete-partitioned-topic always gives HTTP 401 Unauthorized

trexinc opened a new issue #7292:
URL: https://github.com/apache/pulsar/issues/7292


   Pulsar 2.5.2
   Can't delete a partitioned topic, I use pulsar-client over TLS with super-user client certificate. I can delete regular topics and the partitions themselves.
   
   bin/pulsar-admin topics delete-partitioned-topic internal/test/test
   19:07:57.412 [AsyncHttpClient-5-1] WARN  org.apache.pulsar.client.admin.internal.BaseResource - [https://pulsar-admin-proxy:8443/admin/v2/persistent/internal/test/test/partitions?force=false] Failed to perform http delete request: javax.ws.rs.NotAuthorizedException: HTTP 401 Unauthorized
   HTTP 401 Unauthorized
   
   Reason: HTTP 401 Unauthorized
   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] trexinc closed issue #7292: pulsar-admin topics delete-partitioned-topic always gives HTTP 401 Unauthorized

Posted by GitBox <gi...@apache.org>.
trexinc closed issue #7292:
URL: https://github.com/apache/pulsar/issues/7292


   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] trexinc commented on issue #7292: pulsar-admin topics delete-partitioned-topic always gives HTTP 401 Unauthorized

Posted by GitBox <gi...@apache.org>.
trexinc commented on issue #7292:
URL: https://github.com/apache/pulsar/issues/7292#issuecomment-645591740


   I can't find any relevant logs in the brokers log though.


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] trexinc commented on issue #7292: pulsar-admin topics delete-partitioned-topic always gives HTTP 401 Unauthorized

Posted by GitBox <gi...@apache.org>.
trexinc commented on issue #7292:
URL: https://github.com/apache/pulsar/issues/7292#issuecomment-648002458


   Ok, it seems I was missing brokerClientTlsEnabled=true in my config. Its not very intuitive to set this when the URL has HTTPS in it.


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org