Code Monkey home page Code Monkey logo

Comments (8)

mnlkrs avatar mnlkrs commented on September 3, 2024 1

@mattvb91 interesting - it was in fact disabled. I'll take a look at it if the error occurs again. I'm pretty sure this plugin is supposed to enable it though 🤔 Perhaps that's the root of this problem.

from aws-cdk-ses-domain-identity.

mattvb91 avatar mattvb91 commented on September 3, 2024

@mnlkrs any chance you got it working? currently experiencing the same issue:

INFO Waiting for DKIM verification...

and nothing happening

@mooyoul sorry about the ping but any ideas?

from aws-cdk-ses-domain-identity.

mattvb91 avatar mattvb91 commented on September 3, 2024

@mnlkrs not sure if this has fixed it but when this job was running I noticed "dkim" was disabled under my domain, when i hit enable it then went through. Not sure if this was something to do with it or something else

from aws-cdk-ses-domain-identity.

mattvb91 avatar mattvb91 commented on September 3, 2024

Yea I just needed the stack to go through once and on the next pipeline runs it doesnt need to do anything anymore cause its already active so this workaround is fine for now. (Although annoying when first launching a stack)

from aws-cdk-ses-domain-identity.

mooyoul avatar mooyoul commented on September 3, 2024

Hello. DKIM related messages should not be displayed if you’ve disabled dkim. Could you share your construct usage?

from aws-cdk-ses-domain-identity.

mattvb91 avatar mattvb91 commented on September 3, 2024

Hello. DKIM related messages should not be displayed if you’ve disabled dkim. Could you share your construct usage?

Hi @mooyoul thanks for checking in, actually I didnt disable it manually, I just wanted to launch a new stack and it didnt 'enable' it for me automatically and got stuck / timed out without enabling it.

      const zone = route53.HostedZone.fromLookup(this, 'baseZone', {
            domainName: "my-domain.com"
        })

        const identity = new DnsValidatedDomainIdentity(this, 'DomainIdentity', {
            domainName: "my-domain.com",
            dkim: true,
            hostedZone: zone, 
        });

EDIT: oh wait maybe im missunderstanding something, i was under the impression this will automatically enable dkim for me?

from aws-cdk-ses-domain-identity.

mooyoul avatar mooyoul commented on September 3, 2024

Setting dkim: true to DnsValidatedDomainIdentity Construct props will provision additional resources for DKIM, and will perform DKIM Verification by calling SES API. If you've enabled DKIM and stuck with "Waiting for DKIM verification..." message, It's likely that AWS SES system couldn't be able to verify DKIM records of your domain.

I need some informations to resolve this issue:

  • Can you check that name server of given domain matches to hosted zone?
  • Can you check that domain is queryable from Public Internet?
  • What's the DKIM verification status of given SES Domain Identity from AWS SES Console? (or simply run this if you have AWS CLI: aws --region us-east-1 ses get-identity-dkim-attributes --identities DOMAIN)

from aws-cdk-ses-domain-identity.

mnlkrs avatar mnlkrs commented on September 3, 2024

I've unsuccessfully tried to reproduce this issue on a fresh stack, maybe it has got something with re-deploying an existing stack? I'll add some more logging to this package locally and get back to you if I obverse it again.

We have 3 accounts (dev, stage & production) which we all provisioned at the same time and from there on your first two points were always the case. We were developing on dev for about 2 months and this never happened in the dev account. I only saw this both in the stage & production account after not touching them for 2 months and then deploying the first version of the application. So at some point DKIM must've been disabled. Maybe that gives you some clues.

from aws-cdk-ses-domain-identity.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.