episphere / connect

Connect API for DCEG's Cohort Study
10 stars 5 forks source link

Unsubscribe link in SMDB emails not working #1059

Open depietrodeanna opened 2 months ago

depietrodeanna commented 2 months ago

Investigate issue with unsubscribe link in Connect emails:

To unsubscribe from emails about Connect from the National Cancer Institute (NCI), click here .

We were notified by a participant who contacted the CSC that the unsubscribe link in our emails does not work, and Hana and I have both experienced errors testing this with dev and stage emails. A server error/ privacy message appears after clicking the link, see below:

Screenshot 2024-07-12 at 8 59 47 AM

Less time sensitive than Spanish implementation, but should be addressed soon as we can.

jhflorey commented 2 weeks ago

Docs: https://sendgrid.com/en-us/blog/how-to-set-up-ssl-click-tracking Example: https://www.youtube.com/watch?v=lARYZHEQ2bk&t=830s

sonyekere commented 2 weeks ago

Please note a delay for this item in the September release. DevOps has partnered with the CIT team to resolve the issue. The CIT team will submit it for prioritization in the next sprint on October 9th.

jhflorey commented 1 week ago

The reason for this issue is that we do not have SSL click tracking enabled. Since we have not enabled SSL click tracking, sendgrid sends an http (it should be https) unsubscribe link as the image below

image

Additional, our link branding url6267.myconnect.cancer.gov is pointing (CNAME) directly to *.sendgrid.net . it leads to the invalid certificate. Check 2 images below.

image image

After researching, i found the docs and video that show how to solve this. But i do not have more experience about infrastructure, since we need the team/person in charge consult and implement.

Docs: https://sendgrid.com/en-us/blog/how-to-set-up-ssl-click-tracking Example: https://www.youtube.com/watch?v=lARYZHEQ2bk&t=830s