discharge distribute gets stuck on verifying existing certificates
bugeats opened this issue · comments
Chadwick Dahlquist commented
✔ Load configuration
↓ Create certificate [skipped]
→ Certificate already exists
⠸ Verify certificate
→ A verification email has been sent to an email address associated with your domain
Create distribution
Deploy distribution
Why would you need to verify an existing certificate? In any case, the process is now stuck in my case.
Brandon Weiss commented
Hmm. Well, Discharge checks the status of your certificate to find out if it’s been “issued” or not.
discharge/lib/distribute/verify-certificate.js
Lines 4 to 9 in f4b9b15
If it’s been issued then it returns early and doesn’t attempt to verify it. Is your certificate issued? What is its status?
Chadwick Dahlquist commented
I had to modify code since this stuff wasn't in any sort of debug log. Indeed the certificate is set to PENDING_VALIDATION
. I was confused because of #248