I installed ziti controller with ingress (via ziti helm chart) and added the loadbalancer entry for both subdomains configured for ziti client and ziti ctrl .
ERROR:root:Unable to get controller version: Connection Error
ERROR:root:HTTPSConnectionPool(host='ztnctrl.domain', port=443): Max retries exceeded with url: /edge/client/v1/version (Caused by SSLError(SSLError(1, '[SSL: TLSV1_ALERT_INTERNAL_ERROR] tlsv1 alert internal error (_ssl.c:1000)')))
Router is installed in ec2 machine without any https advertising address
It's because the ctrlPlane.ingress has annotation nginx.ingress.kubernetes.io/backend-protocol: HTTPS. This breaks mTLS between the router and controller.
Here's an example of ingress-nginx annotations for the ctrlPlane.ingress.
You were able to log in to the controller with the CLI because you were using a password, not certificate auth. Certificate auth is used by identities to discovere Ziti services and routers, so it's necessary to also set these annotations on clientApi.ingress when using ingress-nginx.
Thank you for confirming the Ziti parts of your deployment have a correct configuration. This should allow any Ziti router to connect to the controller you are running in Kubernetes.
The error you reported was emitted by a router "auto enrollment" Python script which is a custom configuration tool for Ziti routers running on Linux. You can raise a GitHub issue in that repository to ask the maintainers for help, or you can try using the Linux router deployment alpha that uses the official Ziti router package and creates a Linux system service.
I am preparing to release a new version of the Linux router package with an improved installer. Will you help me test it out?
You'll need the ziti CLI and the router service packages for RPM or DEB.
/var/lib/dpkg/info/openziti-router.postinst: line 31: /opt/openziti/etc/controller/service.env: No such file or directory
dpkg: error processing package openziti-router (--configure):
installed openziti-router package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
openziti-router
needrestart is being skipped since dpkg has failed
N: Ignoring file 'openziti-release.list.2024-07-09T14:51:02+00:00' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@ip-172-31-38-32:/home/ubuntu# sudo /opt/openziti/et