Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure cache redis integration to Yopass application #2295

Open
Rajeshwaric7 opened this issue May 10, 2024 · 1 comment
Open

Azure cache redis integration to Yopass application #2295

Rajeshwaric7 opened this issue May 10, 2024 · 1 comment

Comments

@Rajeshwaric7
Copy link

Need help on how do we integrate Azure cache Redis to Yopass application. Please assist on this.

i am following this doc as a reference to connect to the Redis cache DB using env as mentioned in below screenshot.

https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-tutorial-aks-get-started#tutorial-connect-to-azure-cache-for-redis-from-your-application-hosted-on-azure-kubernetes-service

Getting same error:

{"level":"error","ts":1715149906.388099,"caller":"server/server.go:80","msg":"Unable to store secret","error":"memcache: no servers configured or available","stacktrace":"github.com/jhaals/yopass/pkg/server.(*Server).createSecret\n\t/yopass/pkg/server/server.go:80\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2122\ngithub.com/jhaals/yopass/pkg/server.newMetricsMiddleware.func1.1\n\t/yopass/pkg/server/server.go:228\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2122\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\t/go/pkg/mod/github.com/gorilla/[email protected]/mux.go:212\ngithub.com/jhaals/yopass/pkg/server.SecurityHeadersHandler.func1\n\t/yopass/pkg/server/server.go:198\nnet/http.HandlerFunc.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2122\ngithub.com/gorilla/handlers.loggingHandler.ServeHTTP\n\t/go/pkg/mod/github.com/gorilla/[email protected]/logging.go:47\nnet/http.serverHandler.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2936\nnet/http.(*conn).serve\n\t/usr/

image

@Rajeshwaric7
Copy link
Author

@jhaals , Please suggest on reported problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant