openziti / ziti

The parent project for OpenZiti. Here you will find the executables for a fully zero trust, application embedded, programmable network @OpenZiti
https://openziti.io
Apache License 2.0
2.88k stars 162 forks source link

CLI - login command fails when health-checks enabled #2523

Open qrkourier opened 2 weeks ago

qrkourier commented 2 weeks ago

Re: https://openziti.discourse.group/t/ziti-v1-1-15-fails-initial-login/3378/8?u=qrkourier

In this case there are two web listeners. One has client only, the other has mgmt, fabric, and health-checks.

Login fails with error containing health-checks response.

error: no session token returned from login request to https://ebea685ad01d442a8515a4f1329d2b8d.mgmt.zitipoc.com:8444. Received: {"data":{"checks":[{"details":null,"healthy":true,"id":"bolt.read","lastCheckDuration":"15.12µs","lastCheckTime":"2024-11-06T01:02:17Z"}],"healthy":true},"meta":{}}

Login works if:

This points to a problem with routing default protocol handler requests to the correct binding introduced >1.1.11-1.1.15.