After Host OpenZiti Anywhere configures the controller and router, the status shows running. Use the command to generate the identity. Get the identity jwt and go to Ziti Desktop Edge enroll on MacOS. It prompts CONTROLLER_UNAVAILABLE. The following is the log:
(4329)[2024-03-18T07:49:55.255Z] INFO ziti-sdk:ziti_enroll.c:90 ziti_enroll() Ziti C SDK version 0.35.12 @5acfb13(HEAD) starting enrollment at (2024-03-18T07: 49:57.686)
(4329)[2024-03-18T07:49:57.748Z] ERROR ziti-sdk:ziti_ctrl.c:162 ctrl_resp_cb() ctrl[today.icebear.store] request failed: -53(software caused connection abort)
(4329)[2024-03-18T07:49:57.748Z] ERROR ziti-sdk:ziti_enroll.c:221 well_known_certs_cb() /Users/runner/work/ziti-sdk-swift/ziti-sdk-swift/deps/ziti -tunnel-sdk-c/build-macosx-arm64/_deps/ziti-sdk-c-src/library/ziti_enroll.c:139 - ZITI_JWT_VERIFICATION_FAILED => -7 (JWT verification failed)
[2024-03-18T07:49:57:749Z] ERROR CZiti:ZitiEnroller.swift:213 on_enroll() CONTROLLER_UNAVAILABLE
[2024-03-18T07:49:57:749Z] ERROR CZiti:Ziti.swift:327 enroll() Optional(Error Domain=ZitiError Code=-7 "CONTROLLER_UNAVAILABLE" UserInfo={NSLocalizedDescription=CONTROLLER_UNAVAILABLE})
jwt iss is https://today.icebear.store:8441, and the domain name resolution IP is 8.141.87.121
ziti-controller log:
{"_context":"tls:0.0.0.0:8441","error":"write tcp 172.23.129.26:8441-\u003e60.16.5.38:45091: write: connection reset by peer","file":"github.com/openziti/transport/v2@v2.0.122/tls/listener.go:228","func":"github.com/openziti/transport/v2/tls.(*sharedListener).processConn","level":"error","msg":"handshake failed","remote":"60.16.5.38:45091"}