Still following the zrok self-hosting with docker tutorial I realized that the yolo and i'll-do-it-myself options currently return versions 1.1 and 1.0, respectively. Since the latter (1.0) conflicts with the latest windows zrok client (1.1) I thought changing to 1.1 server-side was a good idea.
Needless to say, I expected this to be a summer breeze.
But not so fast!
Here’s what I did and what happened then: i stopped yesterday´s success story with docker compose down -v, created a fresh directory and proceeded according to yolo. Yes, I also introduced the same edits as yesterday.
Now I get the following error (secrets xxx’d out):
zrok-frontend-1 | Token: xxx
zrok-frontend-1 | Saving identity 'default' to /var/lib/zrok-frontend/.config/ziti/ziti-cli.json
zrok-frontend-1 | error: error creating identities instance in Ziti Edge Controller at https://xxx:8440/edge/management/v1. Status code: 400 Bad Request, Server returned: {
zrok-frontend-1 | "error": {
zrok-frontend-1 | "cause": {
zrok-frontend-1 | "field": "name",
zrok-frontend-1 | "reason": "duplicate value 'public' in unique index on identities store",
zrok-frontend-1 | "value": "public"
zrok-frontend-1 | },
zrok-frontend-1 | "code": "COULD_NOT_VALIDATE",
zrok-frontend-1 | "message": "The supplied request contains an invalid document or no valid accept content were available, see cause",
zrok-frontend-1 | "requestId": "xxx"
zrok-frontend-1 | },
zrok-frontend-1 | "meta": {
zrok-frontend-1 | "apiEnrollmentVersion": "0.0.1",
zrok-frontend-1 | "apiVersion": "0.0.1"
zrok-frontend-1 | }
zrok-frontend-1 | }
The following attempts at fixing did not work:
- deleting and pruning all docker volumes
- deleting the sqlite3 database (since I thought it has retained the old account values)
Thank you for your great products and for any help you can provide.
Johannes