Can't enable my environment

Today I woke up and I saw a 401 Unauthorized error for my reserved shares. I tried to disable and reenable my environment but nothing, and even changing the token didn't work. What can I do?

2 Likes

Update:
I'm trying to make zrok invite with a different email but when I click on create account I go to the page "Invitation not found"

2 Likes

I'm having the same issue (err 500). Rebooting nor regenerating tokens didn't work. I strongly think this is an issue on zrok's side as I'm also seeing other recent threads about this issue.

Output:

$ zrok enable <token>
⣯  the zrok service returned an error: [POST /enable][500] enableInternalServerError 
there was a problem enabling your environment!
you are trying to use the zrok service at: https://api-v1.zrok.io/
you can change your zrok service endpoint using this command:
$ zrok config set apiEndpoint <newEndpoint>
(where newEndpoint is something like: https://some.zrok.io)

1 Like

Oh ok, thank you for your reply. Hope they manage to fix it soon then.

1 Like

Same, having this issue aswell.

Hi @Bernard996 @grim,

Welcome to our community.

Thank you for the report. We are experiencing an issue & are working to restore services. You can get updates here: https://status.zrok.io/

Hi, I saw that the problem looks solved on status.zrok.io, but now I keep getting this error when trying to enable the environment:

there was a problem enabling your environment!

you are trying to use the zrok service at: https://api.zrok.io

you can change your zrok service endpoint using this command:

$ zrok config set apiEndpoint <newEndpoint>

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

[ERROR]: error creating service client (client version error accessing api endpoint 'https://api.zrok.io': [POST /clientVersionCheck] clientVersionCheck (status 404): {}: [POST /clientVersionCheck] clientVersionCheck (status 404): {})

Try doing it again. I was able to enable mine already but cant share my reserved stuff

Hi @Bernard996

That error seem like might have downloaded the latest version of zrok(1.0.0) which was just released. Please see this post, I'm guessing you'll need to rebase: Issue with latest zrok docker image - #2 by michael.quigley

Still not working. If I try to rebase like this zrok rebase apiEndpoint https://api.zrok.io it gives me
[ERROR] environment not enabled; 'zrok enable' your environment instead.

I also tried to manually change the metadata.json to have version 1.0 but I still get this when trying to enable the environment:

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

you can change your zrok service endpoint using this command:

$ zrok config set apiEndpoint <newEndpoint>

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

While if I run zrok config set apiEndpoint https://api.zrok.io I get the previous 404 error

What is the output of:

zrok status

and:

zrok version

?

I tried to rollback to version 0.4.49 by forcing the ZROK_VERSION in the script.

zrok status:

curl -sSf https://api.github.com/repos/openziti/zrok/releases/latest \
  | jq -r '.tag_name'

zrok version

               _    
 _____ __ ___ | | __
|_  / '__/ _ \| |/ /
 / /| | | (_) |   < 
/___|_|  \___/|_|\_\

v0.4.49 [6986adc2]

Still geting the same errors

Hi @Bernard996

I think we need to backup & start from the beginning.

Due to this mornings issues, you might have a leftover environment, so the first thing we should do is login into the UI & make sure that your environment isn't already showing. If it's there, please remove it so we can start fresh.

Once you have confirmed that the UI doesn't show any environments, can you please perform zrok status & then attempt to enable your environment again?

Ok I deleted my environment and managed to enable it again, now I can see it. I had to use v0.4.49 for that, since with v1.0.0 I still got the errors