Hi <@U08GZJ30Q9X> Can you please help here i have ...
# contributing
a
Hi @Nagesh Bansal Can you please help here i have setup the signoz latest version on kubernetes everything is file but when i add the SMTP configuration its getting issue so could you please help me how to configure the SMTP for sending the alerting.
a
Hi @Nagesh Bansal if i use the same env's in singoz ui for latest version but pods getting restart here is the logs {"level":"warn","timestamp":"2025-06-24T055419.572Z","caller":"query-service/main.go:123","msg":"No JWT secret key is specified."} [Deprecated] env STORAGE is deprecated and scheduled for removal. Please use SIGNOZ_TELEMETRYSTORE_PROVIDER instead. [Deprecated] env ClickHouseUrl is deprecated and scheduled for removal. Please use SIGNOZ_TELEMETRYSTORE_CLICKHOUSE_DSN instead. [Deprecated] flag --config is deprecated for passing prometheus config. The flag will be used for passing the entire SigNoz config. More details can be found at https://github.com/SigNoz/signoz/issues/6805. [Deprecated] env TELEMETRY_ENABLED is deprecated and scheduled for removal. Please use SIGNOZ_ANALYTICS_ENABLED instead. {"timestamp":"2025-06-24T055419.573179649Z","level":"INFO","code":{"function":"github.com/SigNoz/signoz/pkg/signoz.New","file":"/home/runner/work/signoz/signoz/pkg/signoz/signoz.go","line":70},"msg":"starting signoz","version":"v0.87.0","variant":"enterprise","commit":"17f48d6","branch":"v0.87.0","go":"go1.23.9","timestamp":"2025-06-11T064623Z"} {"level":"fatal","timestamp":"2025-06-24T055419.573Z","caller":"query-service/main.go:147","msg":"Failed to create signoz","error":"parse 'from' address: mail: no address","stacktrace":"main.main\n\t/home/runner/work/signoz/signoz/ee/query-service/main.go147\nruntime.main\n\t/opt/hostedtoolcache/go/1.23.9/x64/src/runtime/proc.go272"
n
Please share the helm values here
a
I think these values working for me Thank you ## Versions less than or equal to 0.84.x To enable email, you need to set the following environment variables • `SMTP_ENABLED`: Enable SMTP for sending email invitations. • `SMTP_FROM`: The email address from which the invitations will be sent. • `SMTP_HOST`: The SMTP host obtained from your email provider. • `SMTP_PORT`: The SMTP port obtained from your email provider. • `SMTP_USERNAME`: The SMTP user obtained from your email provider. • `SMTP_PASSWORD`: The SMTP password obtained from your email provider. but logs are getting like this {"level":"warn","timestamp":"2025-06-24T061858.477Z","caller":"query-service/main.go:123","msg":"No JWT secret key is specified."} [Deprecated] env STORAGE is deprecated and scheduled for removal. Please use SIGNOZ_TELEMETRYSTORE_PROVIDER instead. [Deprecated] env ClickHouseUrl is deprecated and scheduled for removal. Please use SIGNOZ_TELEMETRYSTORE_CLICKHOUSE_DSN instead. [Deprecated] flag --config is deprecated for passing prometheus config. The flag will be used for passing the entire SigNoz config. More details can be found at https://github.com/SigNoz/signoz/issues/6805. [Deprecated] env SMTP_ENABLED is deprecated and scheduled for removal. Please use SIGNOZ_EMAILING_ENABLED instead. [Deprecated] env SMTP_HOST is deprecated and scheduled for removal. Please use SIGNOZ_EMAILING_ADDRESS instead. [Deprecated] env SMTP_PORT is deprecated and scheduled for removal. Please use SIGNOZ_EMAILING_ADDRESS instead. [Deprecated] env SMTP_USERNAME is deprecated and scheduled for removal. Please use SIGNOZ_EMAILING_AUTH_USERNAME instead. [Deprecated] env SMTP_PASSWORD is deprecated and scheduled for removal. Please use SIGNOZ_EMAILING_AUTH_PASSWORD instead. [Deprecated] env SMTP_FROM is deprecated and scheduled for removal. Please use SIGNOZ_EMAILING_FROM instead. [Deprecated] env TELEMETRY_ENABLED is deprecated and scheduled for removal. Please use SIGNOZ_ANALYTICS_ENABLED instead.
n
yeah right - what version are you running?
a
0.87.0 but its not send the mails {"timestamp":"2025-06-24T062139.072660862Z","level":"INFO","code":{"function":"github.com/SigNoz/signoz/pkg/http/middleware.(*Logging).Wrap-fm.(*Logging).Wrap.func1","file":"/home/runner/work/signoz/signoz/pkg/http/middleware/logging.go","line":84},"msg":":RECEIVED REQUEST:","pkg":"go.signoz.io/pkg/http/middleware","client.address":"10.244.7.25:48720","user_agent.original":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36","server.address":"","server.port":"","http.request.size":10107,"http.route":"/api/v1/testChannel","http.response.status_code":500,"http.server.request.duration":4209498,"response.body":"{\"status\":\"error\",\"error\":{\"code\":\"unknown\",\"message\":\"establish connection to server: dial tcp [:1]25: connect: connection refused\"}}"}
image.png
Hi @Nagesh Bansal please help here for smtp thing