I get the following error when doing step #4 of the Guide from Your First Service | OpenZiti
ziti edge create config http.host.v1 host.v1 '{"protocol":"tcp", "address":"'"${http_server}"'", "port":80}'
error: error creating configs instance in Ziti Edge Controller at https://serveroek.mywire.org:8441/edge/management/v1. Status code: 400 Bad Request, Server returned: {
"error": {
"cause": {
"field": "address",
"reason": "address is invalid: address: Must not validate the schema (not)",
"value": ""
},
"code": "COULD_NOT_VALIDATE",
"message": "The supplied request contains an invalid document or no valid accept content were available, see cause",
"requestId": "HeEm5vrlx"
},
"meta": {
"apiEnrollmentVersion": "0.0.1",
"apiVersion": "0.0.1"
}
}
I initially used zitiLogin and then #1, #2 and #3 successfully created the two identities and the intercept.v1 configuration. When I copy https://serveroek.mywire.org:8441/edge/management/v1 into my browser it does show the following content:
{
"data": {
"apiVersions": {
"edge": {
"v1": {
"apiBaseUrls": [
"https://serveroek.mywire.org:8441/edge/client/v1"
],
"path": "/edge/client/v1"
}
},
"edge-client": {
"v1": {
"apiBaseUrls": [
"https://serveroek.mywire.org:8441/edge/client/v1"
],
"path": "/edge/client/v1"
}
},
"edge-management": {
"v1": {
"apiBaseUrls": [
"https://serveroek.mywire.org:8441/edge/management/v1"
],
"path": "/edge/management/v1"
}
}
},
"buildDate": "2024-02-10T05:53:17Z",
"capabilities": ,
"revision": "7c53aa006529",
"runtimeVersion": "go1.21.6",
"version": "v0.32.2"
},
"meta": {}
}
Any Ideas why this might not work? Or what I could do to make it work?