Yes that's totally fine. In your home directory, there will be a .ziti directory. You can just stop ziti-controller and ziti-router and then delete that whole $HOME/.ziti directory, exit your shell and then start again. @qrkourier actually has a small guide he's been working on showing people how to do exactly this so it's timely. You can find it here https://openziti.github.io/docs/quickstarts/network/help/reset-quickstart
As for the ZDEW, I would remove that identity by clicking on it and choosing 'forget this identity' and then stop it and start the client. That'll make sure it's cleaned up properly. I think you hit a bug around removing identities which I'll go file.
I still encounter the same problem with the ZDE; the identity would only appear after I disable and enable it again.
I check the log and the error shows the
The third error seems like my controller is not available. Moreover, for the next step, we need to zitiLogin. It seems like my zitiLogin says it is not authenticated.
error: unable to authenticate to https://ziti-edge-controller:1280/edge/management/v1. Status code: 401 Unauthorized, Server returned: {
"error": {
"code": "INVALID_AUTH",
"message": "The authentication request failed",
"requestId": "mU4-aj-nm"
},
"meta": {
"apiEnrollmentVersion": "0.0.1",
"apiVersion": "0.0.1"
}
}
And you’re doing all these steps “relatively” close together? Like within say, five minutes? Can you access https://ziti-edge-controller:1280/version successfully? If not, you need to make sure you update your hosts file. The error almost looks like the jwt is invalid.
If you can access that url, can you send me the jwt to look at? Email clint at openziti.org. Also can you send a feedback zip file? Go to main menu->feeback and send that zip file too?
Already changed that part to 600m since I followed the tutorial. Also, I cannot access the URL. I already sent the mail just now.
To access the URL, do I need to change this one too?
# A host:port string on which network interface to listen on. 0.0.0.0 will listen on all interfaces
- interface: 0.0.0.0:1280
# address - required
That's what I expected. I'm glad to see that. Since you're using docker-compose you will need to update your hosts file. In your C:\Windows\System32\drivers\etc\hosts file you need to add:
It should succeed. One thing to note is that with this setup, other machines on your local network won't be available unless you update their hosts files too. I don't recommend you do that though, I'd recommend if you get to that point you probably want to deploy your docker-compose environment a bit differently so that other machines on the local network can access the controller and router. I'm assuming you only want to keep it all local though?
You should be able to enroll after doing those steps
If you’re not aware of it, I’d recommend you read up about what the hosts file is and why you’d want to edit it and why I’m recommending you update it. Check out hosts (file) - Wikipedia for example. It has some decent info.