Error: "failed to connect to nats-servers(nats://nats:4222): nats: secure connection not available" while creating a stream in an account.
u-habiba opened this issue · 1 comments
What version were you using?
nats-server: v2.10.16
What environment was the server running in?
Minikube cluster is being used for deployment.
Dokcer image: nats:2.6.2-alpine as mentioned in this helm file
Is this defect reproducible?
Following this section of documentation, at the following step to create a stream;
kubectl apply -f nack/nats-stream-foo-a.yaml
We get the error by describing the stream;
kubectl describe stream foo
Error is ; failed to connect to nats-servers(nats://nats:4222): nats: secure connection not available
Given the capability you are leveraging, describe your expectation?
All of the required pods are running successfully, expected behavior should be that stream is created without an error and able to connect to nats server.
Given the expectation, what is the defect you are observing?
Stream is not being created with the follwoing error. "failed to connect to nats-servers(nats://nats:4222): nats: secure connection not available"
Can you please check the status of NATS deployment?
Are pods healthy?