Hi,
I get error when trying to add search attribute:
TEMPORAL_CLI_SHOW_STACKS=1 tctl --address 10.32.22.61:7233 --namespace product adm cl asa -n abcd -t keyword Tue Oct 11 09:08:03 2022
Error: Unable to get existing search attributes.
Error Details: rpc error: code = Unavailable desc = error reading from server: EOF
Stack trace:
goroutine 1 [running]:
runtime/debug.Stack()
runtime/debug/stack.go:24 +0x64
runtime/debug.PrintStack()
runtime/debug/stack.go:16 +0x1c
github.com/temporalio/tctl/v2/cli_curr.printError({0x10634415d, 0x29}, {0x106c6f600, 0x14000290080})
github.com/temporalio/tctl/v2/cli_curr/util.go:392 +0x1d0
github.com/temporalio/tctl/v2/cli_curr.ErrorAndExit({0x10634415d?, 0x106c9a690?}, {0x106c6f600?, 0x14000290080?})
github.com/temporalio/tctl/v2/cli_curr/util.go:403 +0x28
github.com/temporalio/tctl/v2/cli_curr.AdminAddSearchAttributes(0x140001d1760)
github.com/temporalio/tctl/v2/cli_curr/admin_cluster_search_attributes_commands.go:59 +0xd8
github.com/temporalio/tctl/v2/cli_curr.newAdminClusterCommands.func1(0x1400032e0c0?)
github.com/temporalio/tctl/v2/cli_curr/admin.go:458 +0x1c
github.com/urfave/cli.HandleAction({0x1068c9c00?, 0x106c641e0?}, 0x15?)
github.com/urfave/cli@v1.22.10/app.go:526 +0x94
github.com/urfave/cli.Command.Run({{0x1063080b1, 0x15}, {0x0, 0x0}, {0x1400077f3e0, 0x1, 0x1}, {0x10631a4b9, 0x1c}, {0x0, …}, …}, …)
github.com/urfave/cli@v1.22.10/command.go:173 +0x534
github.com/urfave/cli.(*App).RunAsSubcommand(0x1400063a700, 0x140001d1340)
github.com/urfave/cli@v1.22.10/app.go:405 +0x6d0
github.com/urfave/cli.Command.startApp({{0x1062e7848, 0x7}, {0x0, 0x0}, {0x1400077f580, 0x1, 0x1}, {0x106320df7, 0x1e}, {0x0, …}, …}, …)
github.com/urfave/cli@v1.22.
main.main()
./main.go:47 +0xcc
can i get some pointers for debugging this? Not sure if it is temporal authorization issue or some other issues. Thanks!