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

Replace host str to use https if encrypted #193

Merged
merged 2 commits into from
Dec 6, 2019

Conversation

LucioFranco
Copy link
Contributor

During our testing in vectordotdev/vector#787 we found that there is an issue with hyper connecting to a tls connected docker engine that provided a host url of tcp://.... I found the way to fix this was to replace the tcp scheme with https. This seems to work for when encrypted tcp streams are active. The error hyper produces was a version parse error which seemed odd. This seemed to do the trick.

Related to #192

@softprops
Copy link
Owner

Could we add a little code comment above these lines to capture the context. I could see my future self coming back to this a year from now and asking "why?"

@LucioFranco
Copy link
Contributor Author

@softprops Sorry for the delay I've added a comment, if we could get a release that would be very appreciated, let me know what I can do to help!

@softprops softprops merged commit 3cc4515 into softprops:master Dec 6, 2019
@softprops
Copy link
Owner

Thanks. I'm gonna shoot for at least this weekend.

@LucioFranco
Copy link
Contributor Author

Thank you Doug <3

thomaseizinger added a commit to comit-network/create-comit-app that referenced this pull request Dec 10, 2019
The recent release of shiplift (0.6) contains a patch a takes care
of the logic that we previously applied ourselves:
softprops/shiplift#193
bors bot added a commit to comit-network/create-comit-app that referenced this pull request Dec 12, 2019
282: Remove shiplift host trickery r=mergify[bot] a=thomaseizinger

The recent release of shiplift (0.6) contains a patch a takes care of the logic that we previously applied ourselves:
softprops/shiplift#193

@luckysori could you please test this one manually on a Windows machine with docker toolbox?
@D4nte / @bonomat  or @da-kami please test if this still works on Mac.

You can download the binaries from the GitHub actions run here (top right): https://github.com/comit-network/create-comit-app/pull/282/checks?check_run_id=341806523

Co-authored-by: Thomas Eizinger <[email protected]>
thomaseizinger added a commit to comit-network/create-comit-app that referenced this pull request Dec 12, 2019
The recent release of shiplift (0.6) contains a patch a takes care
of the logic that we previously applied ourselves:
softprops/shiplift#193
bors bot added a commit to comit-network/create-comit-app that referenced this pull request Dec 17, 2019
282: Remove shiplift host trickery r=bonomat a=thomaseizinger

The recent release of shiplift (0.6) contains a patch a takes care of the logic that we previously applied ourselves:
softprops/shiplift#193

@luckysori could you please test this one manually on a Windows machine with docker toolbox?
@D4nte / @bonomat  or @da-kami please test if this still works on Mac.

You can download the binaries from the GitHub actions run here (top right): https://github.com/comit-network/create-comit-app/pull/282/checks?check_run_id=341806523

Co-authored-by: Thomas Eizinger <[email protected]>
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.

2 participants