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
Don't require TLS for in-process connection #4323
Conversation
@caleblloyd Please test against this commit, should fix your issue. |
9f6320d
to
5284c88
Compare
5284c88
to
e9aa7ed
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@sethjback can you test the latest commit to make sure TLS is not required on in-process connections now, even if it is required on the NATS port? |
Getting a new error. Before this change, was seeing:
After this change, am seeing:
|
I will wait to merge until I hear from @neilalexander on the issue above. |
Have pushed another commit that should resolve this without having to set |
|
I think 4b064ff works, feel free to cherry-pick that as it is based on this branch already |
Signed-off-by: Neil Twigg <neil@nats.io>
Signed-off-by: Caleb Lloyd <caleb@synadia.com>
Signed-off-by: Neil Twigg <neil@nats.io>
d890d2f
to
b7d6b7e
Compare
OK, have added a unit test this time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This should fix a bug where in-process connections expect TLS over the
net.Pipe
if TLS is configured.Signed-off-by: Neil Twigg neil@nats.io