Hi ! We just updated our ory kratos instance from...
# ory-selfhosting
m
Hi ! We just updated our ory kratos instance from 1.0 to 1.1 and for some reason kratos now tries to send verification and recovery using smpt. We however haven't changed our config after upgrading. It looks like this
Copy code
courier:
      delivery_strategy: http
      http:
        request_config:
          url: <http://emails:8080/api>
          method: POST
          body: <base64://__EMAIL_JSONNET__>
          headers:
            Content-Type: application/json
      smtp: # Kratos bug, see: <https://github.com/ory/kratos/issues/3559>
        connection_uri: <smtps://foo:bar@my-mailserver:1234/?skip_ssl_verify=false>
We've spent quite some time now debugging this and had a chat with the wonderful copilot in one of the channels. Is there anything we need to change in our config to keep using http to reach our internal email service ?
m
Should be fixed in this PR: https://github.com/ory/kratos/pull/3861 ?
m
Thanks for the answer Vincent. I hope so. Currently the "dummy" smtp configuration seems to be overriding the preferred http strategy. Will there be a minor release soon with this fix included ?
m
Hey Einar, there will be a release this quarter most likely, but I can't say when exactly. If you need the fix asap, I suggest looking into building from master
❤️ 1
m
Thank you Vincent. We just rolled back for the time being but I'll look into that. For us it didn't bother us to have a "dummy" value in the smtp connection uri. After we updated to 1.1 The smpt was always chosen over http for this particular configuration. I'm hoping that not having smpt required will avoid this clash. Thank you again