# Cant enable zrok no matter what I do

**URL:** <https://openziti.discourse.group/t/cant-enable-zrok-no-matter-what-i-do/5071>\
**Category:** zrok\
**Created:** [August 29, 2025, 5:09pm UTC](https://openziti.discourse.group/t/cant-enable-zrok-no-matter-what-i-do/5071 "2025-08-29T17:09:14Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Proximity](https://avatars.discourse-cdn.com/v4/letter/p/3ab097/32.png) [@Proximity](https://openziti.discourse.group/u/Proximity)\
**Post date:** [August 29, 2025, 5:09pm UTC](https://openziti.discourse.group/t/cant-enable-zrok-no-matter-what-i-do/5071/1 "2025-08-29T17:09:14Z")

</div>

After the update zrok has been totally unusable i even went on and started using another tunneling service just because the condition of zrok is so bad its impossible to enable the service no matter what i do i change the endpoint back and forward again and again still cant activate the endpoint whats the problem is there any fix for this or is this sevice just done for?

my attempts enabling zrok:  
(c) Microsoft Corporation. All rights reserved.

C:\Users\*\*\*\Downloads\zrok\_1.1.3\_windows\_amd64\>zrok enable \*\*\*  
⣟ the zrok service returned an error: [POST /enable][401] enableUnauthorized

there was a problem enabling your environment!

you are trying to use the zrok service at: [https://api.zrok.io](https://api.zrok.io)

you can change your zrok service endpoint using this command:

$ zrok config set apiEndpoint

(where newEndpoint is something like: [https://some.zrok.io](https://some.zrok.io))

C:\Users\*\*\*\Downloads\zrok\_1.1.3\_windows\_amd64\>zrok config set apiEndpoint [https://api-v1.zrok.io/](https://api-v1.zrok.io/)  
zrok configuration updated

C:\Users\*\*\*\Downloads\zrok\_1.1.3\_windows\_amd64\>zrok enable \*\*\*  
⣟ the zrok service returned an error: [POST /enable][401] enableUnauthorized

there was a problem enabling your environment!

you are trying to use the zrok service at: [https://api-v1.zrok.io/](https://api-v1.zrok.io/)

you can change your zrok service endpoint using this command:

$ zrok config set apiEndpoint

(where newEndpoint is something like: [https://some.zrok.io](https://some.zrok.io))

C:\Users\*\*\*\Downloads\zrok\_1.1.3\_windows\_amd64\>zrok config set apiEndpoint [api-v1.zrok.io](http://api-v1.zrok.io)  
[ERROR] invalid apiEndpoint; please make sure URL starts with http:// or https://

C:\Users\*\*\*\Downloads\zrok\_1.1.3\_windows\_amd64\>zrok config set apiEndpoint [https://api-v1.zrok.io](https://api-v1.zrok.io)  
zrok configuration updated

C:\Users\*\*\*\Downloads\zrok\_1.1.3\_windows\_amd64\>zrok enable \*\*\*  
⣟ the zrok service returned an error: [POST /enable][401] enableUnauthorized

there was a problem enabling your environment!

you are trying to use the zrok service at: [https://api-v1.zrok.io](https://api-v1.zrok.io)

you can change your zrok service endpoint using this command:

$ zrok config set apiEndpoint

(where newEndpoint is something like: [https://some.zrok.io](https://some.zrok.io))

C:\Users\*\*\*\Downloads\zrok\_1.1.3\_windows\_amd64\>zrok config set apiEndpoint [https://api.zrok.io](https://api.zrok.io)  
zrok configuration updated

C:\Users\*\*\*\Downloads\zrok\_1.1.3\_windows\_amd64\>zrok enable \*\*\*  
⣯ the zrok service returned an error: [POST /enable][401] enableUnauthorized

there was a problem enabling your environment!

you are trying to use the zrok service at: [https://api.zrok.io](https://api.zrok.io)

you can change your zrok service endpoint using this command:

$ zrok config set apiEndpoint

(where newEndpoint is something like: [https://some.zrok.io](https://some.zrok.io))

C:\Users\*\*\*\Downloads\zrok\_1.1.3\_windows\_amd64\>zrok disable  
[ERROR] no environment found; nothing to disable!

C:\Users\*\*\*\Downloads\zrok\_1.1.3\_windows\_amd64\>zrok config reset  
Configure your zrok environment

Usage:  
zrok config [command]

Available Commands:  
get Get a value from the environment config  
set Set a value into the environment config  
unset Unset a value from the environment config

Flags:  
-h, --help help for config

Global Flags:  
-p, --panic Panic instead of showing pretty errors  
-v, --verbose Enable verbose logging

Use "zrok config [command] --help" for more information about a command.

C:\Users\*\*\*\Downloads\zrok\_1.1.3\_windows\_amd64\>zrok config set apiEndpoint [https://api.zrok.io](https://api.zrok.io)  
zrok configuration updated

C:\Users\*\*\*\Downloads\zrok\_1.1.3\_windows\_amd64\>zrok disable  
[ERROR] no environment found; nothing to disable!

Is there any fix to this or should i just totally give up on it

---

<div class="post-metadata">

**Author:** ![michael.quigley](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/michael.quigley/32/1123_2.png) [@michael.quigley](https://openziti.discourse.group/u/michael.quigley)\
**Post date:** [August 29, 2025, 6:05pm UTC](https://openziti.discourse.group/t/cant-enable-zrok-no-matter-what-i-do/5071/2 "2025-08-29T18:05:56Z")

</div>

On Windows, if you delete `%USERPROFILE%\.zrok` you will completely reset the configuration on your system.

---

<div class="post-metadata">

**Author:** ![Proximity](https://avatars.discourse-cdn.com/v4/letter/p/3ab097/32.png) [@Proximity](https://openziti.discourse.group/u/Proximity)\
**Post date:** [August 29, 2025, 6:13pm UTC](https://openziti.discourse.group/t/cant-enable-zrok-no-matter-what-i-do/5071/3 "2025-08-29T18:13:37Z")

</div>

still cant enable it:  
⣟ the zrok service returned an error: [POST /enable][401] enableUnauthorized

there was a problem enabling your environment!

you are trying to use the zrok service at: [https://api.zrok.io](https://api.zrok.io)

you can change your zrok service endpoint using this command:

$ zrok config set apiEndpoint

(where newEndpoint is something like: [https://some.zrok.io](https://some.zrok.io))

---

<div class="post-metadata">

**Author:** ![Proximity](https://avatars.discourse-cdn.com/v4/letter/p/3ab097/32.png) [@Proximity](https://openziti.discourse.group/u/Proximity)\
**Post date:** [August 29, 2025, 6:14pm UTC](https://openziti.discourse.group/t/cant-enable-zrok-no-matter-what-i-do/5071/4 "2025-08-29T18:14:00Z")

</div>

i did change the endpoint to v1 and back to the api one both wont work

---

<div class="post-metadata">

**Author:** ![michael.quigley](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/michael.quigley/32/1123_2.png) [@michael.quigley](https://openziti.discourse.group/u/michael.quigley)\
**Post date:** [August 29, 2025, 6:29pm UTC](https://openziti.discourse.group/t/cant-enable-zrok-no-matter-what-i-do/5071/5 "2025-08-29T18:29:24Z")

</div>

Are you able to access [https://api-v1.zrok.io](https://api-v1.zrok.io) in a web browser and log in?

---

<div class="post-metadata">

**Author:** ![michael.quigley](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/michael.quigley/32/1123_2.png) [@michael.quigley](https://openziti.discourse.group/u/michael.quigley)\
**Post date:** [August 29, 2025, 6:30pm UTC](https://openziti.discourse.group/t/cant-enable-zrok-no-matter-what-i-do/5071/6 "2025-08-29T18:30:03Z")

</div>

Are you sure you’re using the correct account token with your `zrok enable` command? The correct account token is availble in a couple of places in the web console.

---

<div class="post-metadata">

**Author:** ![BennyAK99](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/bennyak99/32/3754_2.png) [@BennyAK99](https://openziti.discourse.group/u/BennyAK99)\
**Post date:** [September 9, 2025, 11:47pm UTC](https://openziti.discourse.group/t/cant-enable-zrok-no-matter-what-i-do/5071/7 "2025-09-09T23:47:32Z")

</div>

I’m having the same issue. when I try to rebase the account token from an enabled enviroment I get  
” **ben@jellyfinmedia** : **~** $ zrok rebase accountToken \*\*\*\*\*\*\*\*\*\*

[ERROR] environment not enabled; 'zrok enable' your environment instead”

It is really frustrating because I tried zrok disable and tried to delete the enviroments via ui but the reserved shares are regenerating after I delete them in the ui. I deleted ~/.zrok but I’m still getting the  
”you are trying to use the zrok service at: [https://api-v1.zrok.io](https://api-v1.zrok.io)

you can change your zrok service endpoint using this command:

$ zrok config set apiEndpoint ”  
I tried to set it to the api endpoint I have acces to over the ui at [https://api-v1.zrok.io/](https://api-v1.zrok.io/). I’m looking for some assisstance I’ve read the documentation forwards and backwards but I can’t seem to solve this issue.  
P.S. If this is a separate issue let me know and I will make a new post. Thanks in advance!

---

<div class="post-metadata">

**Author:** ![BennyAK99](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/bennyak99/32/3754_2.png) [@BennyAK99](https://openziti.discourse.group/u/BennyAK99)\
**Post date:** [September 10, 2025, 12:06am UTC](https://openziti.discourse.group/t/cant-enable-zrok-no-matter-what-i-do/5071/8 "2025-09-10T00:06:08Z")

</div>

Ok so I didn’t have a typical setup because I wasn’t considering the docker-compose to easily connect my reserved shares and I made system services that were causing the problem. I was able to enble my account no problem after diablling the services
