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

Kratos 0.7.* installed from a helm chart can't send e-mails #336

Closed
valentinyanakiev opened this issue Sep 28, 2021 · 4 comments
Closed

Comments

@valentinyanakiev
Copy link
Contributor

Describe the bug

Kratos has released version 0.7.6-alpha1 with significant updates but Helm chart uses 0.6.3-alpha1.
Manually specifying the version leads to exceptions in kratos courier.

To Reproduce

Steps to reproduce the behavior:

  1. Install Ory Kratos from Helm chart with custom Kratos image defined, e.g.
    image:
    repository: oryd/kratos
    tag: v0.7.6-alpha.1
    pullPolicy: IfNotPresent

  2. Trigger login flow --> OK

  3. Trigger logout flow --> OK

  4. Trigger recovery / verification flow --> emails are not sent. Tested with mailslurper as part of the tech stack:
    courier:
    smtp:
    connection_uri: smtps://test:test@mailslurper-api:1025/?skip_ssl_verify=true

  5. Checking the kratos courier logs show go exceptions.

Expected behavior

Emails should be sent. The same configuration works seamlessly with Kratos 0.6.3-alpha1.

@aeneasr
Copy link
Member

aeneasr commented Sep 28, 2021

This works fine on our env. Please make sure to read the changelog before upgrading:
https://github.com/ory/kratos/blob/master/CHANGELOG.md

@valentinyanakiev
Copy link
Contributor Author

This works fine on our env. Please make sure to read the changelog before upgrading: https://github.com/ory/kratos/blob/master/CHANGELOG.md

Is your environment on k8s? How do you deploy it - I see the helm chart is outdated and has been since 0.7.* has been released - it deploys 0.6.3-alpha1 by default. Do you override it manually?

@aeneasr
Copy link
Member

aeneasr commented Sep 28, 2021

yes and yes - see also pinned issue: #195

@valentinyanakiev
Copy link
Contributor Author

I will close this issue - found a way around it. Overriding kratos image + using the same URL params for mailslurper as in the kratos quickstart solved it for me.

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

2 participants