Skip to content
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

Use network "tcp" when calling tls.DialWithDialer #56

Merged
merged 2 commits into from
Aug 20, 2024

Conversation

xervon
Copy link
Contributor

@xervon xervon commented Jun 18, 2023

Fixes #41

Set network to "tcp" instead "tcp-tls". This correctly connects to DoT servers.

Also renamed constant tcptlc to tcptls under the assumption that this is a typo. If there's a reason for this name let me know.

Copy link
Member

@denis-tingaikin denis-tingaikin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please fix CI issues?

@xervon
Copy link
Contributor Author

xervon commented Aug 19, 2024

Just as a side note. While these changes worked for me when I submitted the PR, I haven't actually used/tested these changes since ~ October 2023. Assuming nothing has changed in "crypto/tls" the changes should still work though.

@denis-tingaikin
Copy link
Member

Only DCO check has failed. Please have a look at how to fix it in the job description https://github.com/networkservicemesh/fanout/pull/56/checks?check_run_id=28971794785

xervon added 2 commits August 20, 2024 01:02
Signed-off-by: Mika Dede <me@mde.de.com>
Signed-off-by: Mika Dede <me@mde.de.com>
@xervon
Copy link
Contributor Author

xervon commented Aug 19, 2024

Should work now. Forgot to Sign-Off first commit.

@denis-tingaikin
Copy link
Member

Nice catch, thanks!

@denis-tingaikin denis-tingaikin merged commit 6aa8454 into networkservicemesh:main Aug 20, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SERVFAIL with TLS
2 participants