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

load balance client: missing https/tls config in service-list discover #334

Closed
johanot opened this issue Apr 27, 2020 · 0 comments · Fixed by #338
Closed

load balance client: missing https/tls config in service-list discover #334

johanot opened this issue Apr 27, 2020 · 0 comments · Fixed by #338
Assignees
Labels
A-tonic C-bug Category: Something isn't working

Comments

@johanot
Copy link
Contributor

johanot commented Apr 27, 2020

Bug Report

Version

tonic v0.2.0

Platform

Linux nixos 5.4.33 #1-NixOS SMP Fri Apr 17 08:50:26 UTC 2020 x86_64 GNU/Linux

Description

As reported by @hadronzoo and myself on Discord, the load-balanced client/channel fails in the discovery phase with:

Error: Status { code: Unknown, message: "transport error: buffered service failed: load balancer discovery error: error trying to connect: invalid URL, scheme is not http" }

when using httpS endpoints.

Reproducible by

let endpoints = Channel::from_static("https://127.0.0.1:443").tls_config(...);
Channel::balance_list(endpoints)

cc @LucioFranco

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tonic C-bug Category: Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants