🐛 [firestore-send-email] Reconfiguring extension leads to "unknown error"
Describe your configuration
- Extension name: firestore-send-email
- Extension version: 0.1.34
- Configuration values (redact info where appropriate):
{ "DEFAULT_FROM": "[email protected]", "MAIL_COLLECTION": "mail", "SMTP_CONNECTION_URI": "smtps://[email protected]@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": "[email protected]", "MAIL_COLLECTION": "mail", "SMTP_CONNECTION_URI": "smtps://[email protected]@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
+1 We are encountering the same problem. Steps to reproduce:
- Insert new string in 'SMTP connection URI' field
- Click on 'Save'
- 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!
Hi! Thanks for raising this
We've recieved this issue and we're reviewing it, I'll give you updates as soon as possible.
Hi @akoval29
I haven't been able to reproduce this issue. I have tried altering the SMTP connection URI several times, but each time the mail has succeeded and no error has been produced.
Do you still have the screenshot of the error you were receiving, as the link has since expired?
Potentially the same issue as #2191
@CorieW Let me know if this ever receives a reply from the original author. If not, feel free to ping me and I'll try to reproduce it with screenshots/screen recording.
Hi, i dont have screenshot dated [Oct 14, 2024] but i have new one, made today https://firebasestorage.googleapis.com/v0/b/voice-acting-ceae5.appspot.com/o/error.png?alt=media&token=485f64bd-0767-4d24-9b58-fc0d77610598
@CorieW, i checked functions again https://firebasestorage.googleapis.com/v0/b/voice-acting-ceae5.appspot.com/o/error2.png?alt=media&token=8d3343bf-5933-41fa-bf48-0de8b4eaf26d
and saw no errors there : https://firebasestorage.googleapis.com/v0/b/voice-acting-ceae5.appspot.com/o/error3.png?alt=media&token=7129178a-cc44-44fb-89c6-e83916501629
you can see success delivery messages there - app is working good but using old config. still cannot change it to second config.
I am experiencing the same problem (firebase/[email protected]).
Even when I press "Save" without editing anything, I get the same error.
Update: while writing this post, I try again (after 5 failed attempts) and now it suddenly works. It seems to be random.
Here are my configs:
Hi, thanks for the extra context -
I'll make sure this gets prioritised to try and reproduce and resolve, i'll keep you updated
I've been unable to reproduce this so far, but the fact that it happens on a "save" without changing the config suggests to me that it's something to do with the extensions API/Platform.
I will escalate this with the team to see if it can be investigated on that side further.
@jaakdentrekhaak do you mind sharing what the extension instance ID is?
It will likely be of the form firestore-bigquery-export-<some random string>
@cabljac I'm sorry for the late response. My extension instance ID is firestore-bigquery-export, as you can see on the picture. If I remember correctly, I didn't encounter issues anymore when setting up this extension for other projects (4 other projects, each with 3 instances of this extension named firestore-bigquery-export, firestore-bigquery-export-gb and firestore-bigquery-export-rr).
i (author) dont use this firestore-send-email extension any more. so if this topic can help anyone it can exist, otherwise delete it. =(
Closing as stale with inability to reproduce.
If you have any further issues, feel free to open a new issue.