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/12/09 16:19:14 UTC

[GitHub] [pulsar] evfurman commented on issue #8872: Error occurs when configure client auth

evfurman commented on issue #8872:
URL: https://github.com/apache/pulsar/issues/8872#issuecomment-741880967


   When converting the authParams to JSON, the error disappears.
   
   `authParams={"keyStoreType":"JKS","keyStorePath":"/opt/pulsar/tls/keystore.jks","keyStorePassword":"XXXXXXXXXXX"}`
   
   However, it seems we are still unable to authenticate.
   
   ```
   16:03:27.855 [main] INFO  org.apache.pulsar.testclient.PerformanceProducer - Dumping latency stats to perf-producer-1607529807855.hgrm
   16:03:27.857 [pulsar-perf-producer-exec-1-1] INFO  org.apache.pulsar.testclient.PerformanceProducer - Started performance test thread 0
   16:03:28.891 [pulsar-perf-producer-exec-1-1] INFO  org.apache.pulsar.testclient.PerformanceProducer - Adding 1 publishers on topic persistent://public/default/test-partitioned-perftool
   16:03:29.333 [pulsar-client-io-2-1] INFO  org.apache.pulsar.client.impl.ConnectionPool - [[id: 0x673e3f02, L:/10.3.22.138:42828 - R:pulsar-pluster-01.example.com/10.3.22.230:6651]] Connected to server
   16:03:29.527 [pulsar-client-io-2-1] WARN  org.apache.pulsar.client.impl.ClientCnx - [id: 0x673e3f02, L:/10.3.22.138:42828 - R:pulsar-pluster-01.example.com/10.3.22.230:6651] Received error from server: Unable to authenticate
   16:03:29.528 [pulsar-client-io-2-1] WARN  org.apache.pulsar.client.impl.ClientCnx - [id: 0x673e3f02, L:/10.3.22.138:42828 - R:pulsar-pluster-01.example.com/10.3.22.230:6651] Received unknown request id from server: -1
   16:03:29.530 [pulsar-client-io-2-1] INFO  org.apache.pulsar.client.impl.ClientCnx - [id: 0x673e3f02, L:/10.3.22.138:42828 ! R:pulsar-pluster-01.example.com/10.3.22.230:6651] Disconnected
   ```


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