Closed TRoboto closed 2 years ago
Describe the bug
I get the following error message when running rasactl connect rasa.
rasactl connect rasa
panic: interface conversion: interface {} is nil, not map[string]interface {} goroutine 1 [running]: github.com/RasaHQ/rasactl/pkg/k8s.(*Kubernetes).GetRabbitMqCreds(0xc0004a6500) /go/src/rasactl/pkg/k8s/secrets.go:127 +0x23a github.com/RasaHQ/rasactl/pkg/rasactl.(*RasaCtl).saveRasaEndpointsFile(0xc0004a6280, {0xc0010fe840, 0x20}) /go/src/rasactl/pkg/rasactl/connect_rasa.go:280 +0x12b github.com/RasaHQ/rasactl/pkg/rasactl.(*RasaCtl).ConnectRasa(0xc0004a6280) /go/src/rasactl/pkg/rasactl/connect_rasa.go:142 +0xdc9 github.com/RasaHQ/rasactl/cmd.connectRasaCmd.func2(0xc00029bb80, {0xc0000b8d20, 0x1, 0x3}) /go/src/rasactl/cmd/connect_rasa.go:117 +0xab github.com/spf13/cobra.(*Command).execute(0xc00029bb80, {0xc0000b8c90, 0x3, 0x3}) /go/pkg/mod/github.com/spf13/cobra@v1.3.0/command.go:856 +0x60e github.com/spf13/cobra.(*Command).ExecuteC(0x3eff7e0) /go/pkg/mod/github.com/spf13/cobra@v1.3.0/command.go:974 +0x3bc github.com/spf13/cobra.(*Command).Execute(...) /go/pkg/mod/github.com/spf13/cobra@v1.3.0/command.go:902 github.com/RasaHQ/rasactl/cmd.Execute() /go/src/rasactl/cmd/root.go:75 +0x25 main.main() /go/src/rasactl/main.go:32 +0xc5
To Reproduce Steps to reproduce the behavior:
pip install rasa
rasa init
Expected behavior Rasa X should connect to Rasa OSS successfully.
Desktop (please complete the following information):
**rasactl version*** rasactl version 1.0.0
Thanks for raising this issue, @jupyterjazz will get back to you about it soon✨
@TRoboto The issue was fixed in the https://github.com/RasaHQ/rasactl/pull/23. The 1.0.1 version includes the fix.
Describe the bug
I get the following error message when running
rasactl connect rasa
.To Reproduce Steps to reproduce the behavior:
pip install rasa
.rasa init
and cd to the project.rasactl connect rasa
and see the output error.Expected behavior Rasa X should connect to Rasa OSS successfully.
Desktop (please complete the following information):
**rasactl version*** rasactl version 1.0.0