firebase / extensions

Source code for official Firebase extensions
https://firebase.google.com/products/extensions
Apache License 2.0
893 stars 380 forks source link

🐛 [firestore-send-email] Reconfiguring extension leads to "unknown error" #2195

Open akoval29 opened 1 week ago

akoval29 commented 1 week ago

Describe your configuration

{ "DEFAULT_FROM": "inakademymbo@gmail.com", "MAIL_COLLECTION": "mail", "SMTP_CONNECTION_URI": "smtps://inakademymbo@gmail.com@smtp.gmail.com:465", }

Describe the problem

above configuration works fine. but when trying to change it to another (lets call it "second") configuration, namely: { "DEFAULT_FROM": "inacademymbo.post@gmail.com", "MAIL_COLLECTION": "mail", "SMTP_CONNECTION_URI": "smtps://inacademymbo.post@gmail.com@smtp.gmail.com:465", }

i got an error: "There was an unknown error while processing the request." i've tried to change the configuration many times and for many days, so it's not a "temporary bug". The second configuration is already configured and working fine in another project, so i think problem is not due to configuration errors. Yes, I need to use the second configuration in two projects with their own firestore-send-email(s) at the same time. i dont see any errors in firebase functions logs (in ext-firestore-send-email-processQueue)

here is a screenshot of error: https://ibb.co/JvNSvwJ

Steps to reproduce:

attempt to change configuration

Expected result

i want second cofiguration working on 2 apps

Actual result

2 apps works with their own unique configurations, cannot use one

ylboerner commented 5 days ago

+1 We are encountering the same problem. Steps to reproduce:

  1. Insert new string in 'SMTP connection URI' field
  2. Click on 'Save'
  3. Either nothing happens at all or the same error as @akoval29 mentioned occurs. I can not reliably reproduce one or the other outcome.

Thanks for looking into it!