-
Notifications
You must be signed in to change notification settings - Fork 226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ssl3 ext invalid servername #528
Comments
Does it work if you use the Pulsar binary protocol ( |
Hello, unfortunately not as the proxy doesn't expose 6651 but 443 (ingress). |
@meyerbro Do you have 443 mapped to Pulsar binary protocol? You cannot proxy Pulsar binary protocol over HTTPS. Pulsar client can use https for lookups, but it needs Pulsar binary protocol to connect to a broker. (alternative is SNI proxy, but that's not covered in the Pulsar Helm chart) ports:
http: 80
https: 443
pulsar: 6650
pulsarssl: 6651 |
I created an ingress that points to 6650 of the pulsar-broker pod (I only have 1 replica) and then I just try to hit that from a python client on my windows machine (outside the kube cluster). Can you disclose more? I'm really happy with the support I'm getting here, thank you. |
We use nginx ingress, wondering if I can do the SNI config on that. |
#423 contains some related information.
it should be possible, but you are on your own. |
Describe the bug
Hello, I'm using your helm charts but getting stuck trying to use the Python pulsar-client library from outside the cluster.
To Reproduce
1 - Deploy the helm charts in a Kubernetes cluster.
2 - Enable ingress for pulsar-proxy.
3 - Use the code below:
Expected behavior
Create a connection and a topic called 'my-topic'.
Error
ssl3 ext invalid servername (SSL routines, ssl3_ctrl): Error while setting TLS SNI
Additional context
It looks like this variable in the reply (proxyThroughServiceUrl) should be 1 for it to use the service URL as proxy and not try to go direct to the cluster using pulsar protocol on port 6650, as that is not available from outside the cluster.
I tried using the additional listeners feature without luck.
Logs
The text was updated successfully, but these errors were encountered: