Slackbot
08/15/2023, 1:39 PMAlexander Preuß
08/15/2023, 1:42 PMZixuan Liu
08/15/2023, 2:02 PMAlexander Preuß
08/15/2023, 2:06 PMZixuan Liu
08/15/2023, 3:09 PMAlexander Preuß
08/15/2023, 3:28 PMAlexander Preuß
08/15/2023, 3:32 PM./bin/pulsar-admin clusters get standalone, the information returned contains an empty serviceUrlTls and also the authentication related properties are nullZixuan Liu
08/17/2023, 8:10 AM2023-08-15T15:23:26,736+0200 [main] INFO org.apache.pulsar.functions.worker.WorkerUtils - Create Pulsar Admin to service url <http://localhost:8080>: authPlugin = org.apache.pulsar.client.impl.auth.AuthenticationTls, authParams = {"tlsCertFile":"/Users/alex/Desktop/pulsar/apache-pulsar-3.0.0-tls/conf/tls-certs/client.cert.pem","tlsKeyFile":"/Users/alex/Desktop/pulsar/apache-pulsar-3.0.0-tls/conf/tls-certs/client.key-pk8.pem"}, tlsTrustCerts = /Users/alex/Desktop/pulsar/apache-pulsar-3.0.0-tls/conf/tls-certs/ca.cert.pem, allowTlsInsecureConnection = false, enableTlsHostnameVerification = false
service url is incorrect, it should be http://localhost:8081.
Could you add tlsEnabled=true to conf/standalone.conf ? And then I think the Pulsar works fine.Alexander Preuß
08/17/2023, 8:15 AMAlexander Preuß
08/17/2023, 8:15 AMtlsEnabled=true (which is also deprecated) gives the same errorAlexander Preuß
08/17/2023, 8:22 AMAlexander Preuß
08/17/2023, 8:26 AMconf/standalone.conf but the url and tls settings also have to be set in conf/functions_woker.yaml
A bit confusing, I was thinking that the settings of the standalone would override this alreadyZixuan Liu
08/17/2023, 8:27 AMtlsEnabled=true should be works fine. I will fix this bug.Alexander Preuß
08/17/2023, 8:27 AMZixuan Liu
08/17/2023, 10:59 AMAlexander Preuß
08/17/2023, 12:51 PMAlexander Brown
08/24/2023, 4:42 PMZixuan Liu
08/24/2023, 5:11 PMAlexander Brown
08/24/2023, 5:32 PMZixuan Liu
08/25/2023, 2:18 AM