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 2021/09/28 14:32:45 UTC

[GitHub] [pulsar-client-go] wolfstudy commented on pull request #624: Fix AuthorizationError for TestNamespaceTopicsNamespaceDoesNotExit

wolfstudy commented on pull request #624:
URL: https://github.com/apache/pulsar-client-go/pull/624#issuecomment-929288850


   > Looks like we are still seeing some errors
   > 
   > ```
   > time="2021-09-28T10:11:14Z" level=info msg="[TCP connection established]" local_addr="127.0.0.1:37766" remote_addr="pulsar://localhost:6650"
   > time="2021-09-28T10:11:14Z" level=warning msg="Failed to establish connection with broker: 'Unable to authenticate'" local_addr="127.0.0.1:37766" remote_addr="pulsar://localhost:6650"
   > time="2021-09-28T10:11:29Z" level=info msg="[Connecting to broker]" remote_addr="pulsar://localhost:6650"
   > time="2021-09-28T10:11:29Z" level=info msg="[TCP connection established]" local_addr="127.0.0.1:37780" remote_addr="pulsar://localhost:6650"
   > time="2021-09-28T10:11:29Z" level=warning msg="Failed to establish connection with broker: 'Unable to authenticate'" local_addr="127.0.0.1:37780" remote_addr="pulsar://localhost:6650"
   > --- FAIL: TestNamespaceTopicsNamespaceDoesNotExit (56.13s)
   >     client_impl_test.go:389: 
   >         	Error Trace:	client_impl_test.go:389
   >         	Error:      	Expected nil, but got: &errors.errorString{s:"connection error"}
   >         	Test:       	TestNamespaceTopicsNamespaceDoesNotExit
   > ```
   > 
   > See these too in the logs
   > 
   > ```
   > time="2021-09-28T10:10:45Z" level=info msg="[Connecting to broker]" remote_addr="pulsar+ssl://localhost:6651"
   > time="2021-09-28T10:10:46Z" level=warning msg="[Failed to connect to broker.]" error="x509: certificate signed by unknown authority" remote_addr="pulsar+ssl://localhost:6651"
   > time="2021-09-28T10:10:46Z" level=info msg="[Connecting to broker]" remote_addr="pulsar+ssl://localhost:6651"
   > time="2021-09-28T10:10:46Z" level=warning msg="[Failed to connect to broker.]" error="x509: certificate signed by unknown authority" remote_addr="pulsar+ssl://localhost:6651"
   > time="2021-09-28T10:10:47Z" level=info msg="[Connecting to broker]" remote_addr="pulsar+ssl://localhost:6651"
   > time="2021-09-28T10:10:47Z" level=warning msg="[Failed to connect to broker.]" error="x509: certificate signed by unknown authority" remote_addr="pulsar+ssl://localhost:6651"
   > time="2021-09-28T10:10:48Z" level=info msg="[Connecting to broker]" remote_addr="pulsar+ssl://localhost:6651"
   > time="2021-09-28T10:10:48Z" level=warning msg="[Failed to connect to broker.]" error="x509: certificate signed by unknown authority" remote_addr="pulsar+ssl://localhost:6651"
   > time="2021-09-28T10:10:49Z" level=info msg="[Connecting to broker]" remote_addr="pulsar+ssl://localhost:6651"
   > time="2021-09-28T10:10:49Z" level=warning msg="[Failed to connect to broker.]" error="x509: certificate signed by unknown authority" remote_addr="pulsar+ssl://localhost:6651"
   > ```
   > 
   > ```
   > time="2021-09-28T10:10:54Z" level=info msg="[Connecting to broker]" remote_addr="pulsar+ssl://127.0.0.1:6651"
   > time="2021-09-28T10:10:54Z" level=warning msg="[Failed to connect to broker.]" error="x509: cannot validate certificate for 127.0.0.1 because it doesn't contain any IP SANs" remote_addr="pulsar+ssl://127.0.0.1:6651"
   > time="2021-09-28T10:10:54Z" level=info msg="[Connecting to broker]" remote_addr="pulsar+ssl://127.0.0.1:6651"
   > time="2021-09-28T10:10:54Z" level=warning msg="[Failed to connect to broker.]" error="x509: cannot validate certificate for 127.0.0.1 because it doesn't contain any IP SANs" remote_addr="pulsar+ssl://127.0.0.1:6651"
   > time="2021-09-28T10:10:54Z" level=info msg="[Connecting to broker]" remote_addr="pulsar+ssl://127.0.0.1:6651"
   > time="2021-09-28T10:10:54Z" level=warning msg="[Failed to connect to broker.]" error="x509: cannot validate certificate for 127.0.0.1 because it doesn't contain any IP SANs" remote_addr="pulsar+ssl://127.0.0.1:6651"
   > time="2021-09-28T10:10:55Z" level=info msg="[Connecting to broker]" remote_addr="pulsar+ssl://127.0.0.1:6651"
   > time="2021-09-28T10:10:55Z" level=warning msg="[Failed to connect to broker.]" error="x509: cannot validate certificate for 127.0.0.1 because it doesn't contain any IP SANs" remote_addr="pulsar+ssl://127.0.0.1:6651"
   > ```
   
   Yes ,in https://github.com/apache/pulsar-client-go/pull/625, we will fix this.


-- 
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: commits-unsubscribe@pulsar.apache.org

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