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

Support STARTTLS for Sending Invitation Emails - SMTP #6983

Open
Karaval opened this issue Jan 30, 2025 · 1 comment
Open

Support STARTTLS for Sending Invitation Emails - SMTP #6983

Karaval opened this issue Jan 30, 2025 · 1 comment

Comments

@Karaval
Copy link

Karaval commented Jan 30, 2025

Is your feature request related to a problem?

I get an error in when sending invitation links

Describe the solution you'd like

I'd like an option to enable starttls as it seems to be the issue here.
Emails for alerts are properly sent using the same configurations .

Describe alternatives you've considered

Currently copying the links and sending them manually .

Additional context

Add any other context or screenshots about the feature request here.

Here the error that I get when trying to send an email.
{"level":"ERROR","timestamp":"2025-01-30T09:07:08.664Z","caller":"auth/auth.go:251","msg":"failed to send email","error":"504 5.7.4 Unrecognized authentication type [DUZPR01CA0022.eurprd01.prod.exchangelabs.com 2025-01-30T09:07:08.713Z 08DD40ACCF694CA8]","stacktrace":"go.signoz.io/signoz/pkg/query-service/auth.inviteEmail\n\t/home/runner/work/signoz/signoz/pkg/query-service/auth/auth.go:251\ngo.signoz.io/signoz/pkg/query-service/auth.Invite\n\t/home/runner/work/signoz/signoz/pkg/query-service/auth/auth.go:112\ngo.signoz.io/signoz/pkg/query-service/app.(*APIHandler).inviteUser\n\t/home/runner/work/signoz/signoz/pkg/query-service/app/http_handler.go:1952\ngo.signoz.io/signoz/pkg/query-service/app.(*APIHandler).RegisterRoutes.(*AuthMiddleware).AdminAccess.func68\n\t/home/runner/work/signoz/signoz/pkg/query-service/app/auth.go:120\nnet/http.HandlerFunc.ServeHTTP\n\t/home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:2171\ngo.signoz.io/signoz/pkg/query-service/app.LogCommentEnricher.func1\n\t/home/runner/work/signoz/signoz/pkg/query-service/app/server.go:404\nnet/http.HandlerFunc.ServeHTTP\n\t/home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:2171\ngo.signoz.io/signoz/ee/query-service/app.loggingMiddleware.func1\n\t/home/runner/work/signoz/signoz/ee/query-service/app/server.go:399\nnet/http.HandlerFunc.ServeHTTP\n\t/home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:2171\ngo.signoz.io/signoz/ee/query-service/app.(*Server).analyticsMiddleware-fm.(*Server).analyticsMiddleware.func1\n\t/home/runner/work/signoz/signoz/ee/query-service/app/server.go:569\nnet/http.HandlerFunc.ServeHTTP\n\t/home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:2171\ngo.signoz.io/signoz/ee/query-service/app.setTimeoutMiddleware.func1\n\t/home/runner/work/signoz/signoz/ee/query-service/app/server.go:601\nnet/http.HandlerFunc.ServeHTTP\n\t/home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:2171\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\t/home/runner/go/pkg/mod/github.com/gorilla/[email protected]/mux.go:212\ngo.signoz.io/signoz/ee/query-service/app.(*Server).createPublicServer.(*Cors).Handler.func2\n\t/home/runner/go/pkg/mod/github.com/rs/[email protected]/cors.go:289\nnet/http.HandlerFunc.ServeHTTP\n\t/home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:2171\ngo.signoz.io/signoz/ee/query-service/app.(*Server).createPublicServer.CompressHandler.CompressHandlerLevel.func3\n\t/home/runner/go/pkg/mod/github.com/gorilla/[email protected]/compress.go:141\nnet/http.HandlerFunc.ServeHTTP\n\t/home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:2171\nnet/http.serverHandler.ServeHTTP\n\t/home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:3142\nnet/http.(*conn).serve\n\t/home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:2044"}

Copy link

welcome bot commented Jan 30, 2025

Thanks for opening this issue. A team member should give feedback soon. In the meantime, feel free to check out the contributing guidelines.

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