[ERROR]: unable to create share (unable to create share: [POST /share][500] shareInternalServerError "")

I was running a public share with reserved name. The docker restarted and i can’t get the same share to run again. Even tried with normal cli instead of docker. It is always the same error.

zrok2 share public localhost:8080 -n public:mysharename
[ERROR]: unable to create share (unable to create share: [POST /share][500] shareInternalServerError "")

i tried everything including purging the env all together, deleted the share on the api-v2 console. nothing is working..
Released the name and reserved it again. still same error.

panic: unable to create share: unable to create share: [POST /share][500] shareInternalServerError ""

goroutine 1 [running]:
main.(*sharePublicCommand).error(0x7ff7978e6f08?, {0x7ff79655c150, 0x16}, {0x7ff797885240, 0xd29ac508828})
        /home/runner/work/zrok/zrok/cmd/zrok2/sharePublic.go:340 +0x54
main.(*sharePublicCommand).shareLocal(0xd29acf44780, {0xd29ac97eb00?, 0xd29ace70c90?, 0xd29ad10c200?}, {0x7ff7978e6f08, 0xd29ac8f4d50})
        /home/runner/work/zrok/zrok/cmd/zrok2/sharePublic.go:166 +0x4f5
main.(*sharePublicCommand).run.func1()
        /home/runner/work/zrok/zrok/cmd/zrok2/sharePublic.go:111 +0x2b
main.detectAndRouteToAgent(0x0?, 0x0?, 0x0?, {0x7ff7978e6f08?, 0xd29ac8f4d50?}, 0xd29ad647bf8, 0xd29ad647bc0)
        /home/runner/work/zrok/zrok/cmd/zrok2/util.go:131 +0x91
main.(*sharePublicCommand).run(0xd29acf44780, 0xd29ad647b78?, {0xd29ac97eb00, 0x1, 0x4})
        /home/runner/work/zrok/zrok/cmd/zrok2/sharePublic.go:108 +0x248
github.com/spf13/cobra.(*Command).execute(0xd29acf48c08, {0xd29ac97eac0, 0x4, 0x4})
        /home/runner/go/pkg/mod/github.com/spf13/cobra@v1.10.1/command.go:1019 +0xafb
github.com/spf13/cobra.(*Command).ExecuteC(0x7ff795c399c0)
        /home/runner/go/pkg/mod/github.com/spf13/cobra@v1.10.1/command.go:1148 +0x465
github.com/spf13/cobra.(*Command).Execute(...)
        /home/runner/go/pkg/mod/github.com/spf13/cobra@v1.10.1/command.go:1071
main.main()
        /home/runner/work/zrok/zrok/cmd/zrok2/main.go:177 +0x1a

I am also having this same issue, it seems restarting while a container is running Zrok2 breaks any reserved share that was running permanently

I can’t get around it no matter what i do. It seems shares are stuck in limbo in the mapping database.

Can someone provide support for such cases?