409 shareConflict / sql: no rows in result set for Reserved Names

Environment ID: HARSHAVARDHAN\winwi@Harshavardhan Account Email: harshavardhanarshavardhan0@gmail.com Binary Version: zrok2.exe (Windows 11)

The Issue: I am unable to use reserved names. Even though zrok2.exe list names shows my names as RESERVED: true, attempting to share them results in the following error: [POST /share][409] shareConflict "error finding namespace with token 'sentinel-vault': error selecting namespace by token: sql: no rows in result set"

Key Observations:

  • Ephemeral shares work perfectly: I can run random shares on ports 8000 and 5005 without issue, proving my network and local environment are healthy.

  • Command Variation: I tried the command suggested by Michael Quigley in my GitHub issue (running without --headless), but it produced the same SQL error.

  • Sync Issue: The web console shows my environment is enabled and active, but there seems to be a missing "row" in the backend database connecting this environment to my reserved names.

I need a permanent link for my users. Could a developer please check for orphaned records or a database misalignment for my account?

You don't currently have permission to use a namespace other than the "public" namespace under zrok.io. You can set your default namespace with:
zrok2 config set defaultNamespace public

You can also view your current names by running, and that will confirm what names you have under which namespaces:
zrok2 list names

I suspect you may be specifying your name selection incorrectly in the share command.

If you register the name testing in the default public namespace:

$ zrok2 create name testing

You would create a share with that name using:

$ zrok2 share public -n public:testing ...

If you're just specifying:

$ zrok2 share public -n testing

... this is incorrect and you will get the error you're receiving.