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

register h2, http/1.1 handler for optional router web bindings when same port as ziti-edge #1808

Open
qrkourier opened this issue Mar 10, 2024 · 0 comments

Comments

@qrkourier
Copy link
Member

Presently, it's necessary to configure router health checks on a discrete web binding because a web binding that incidentally uses the same port as the ziti-edge or link listener will fail "silently" (a non-fatal event is logged).

While that's an acceptable configuration for someone that knows precisely what they're doing, registering a standard handler for aggregated web bindings would enable a more useful default run state.

I'm converging on a default run state where the ziti CLI generates router configs from the built-in templates, including a web binding for health-checks on the same port as the singular port already having registered handlers for ALPN ziti-edge, ziti-link.

Mar 09 19:57:37 mira entrypoint.bash[879073]: [  47.246]   ERROR transport/v2/tls.(*sharedListener).processConn [tls:0.0.0.0:3022]: {remote=[127.0.0.1:48176] error=[not handler for requested protocols [h2 http/1.1]]} handshake failed
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

No branches or pull requests

1 participant