extensions icon indicating copy to clipboard operation
extensions copied to clipboard

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

Open akoval29 opened this issue 1 year ago • 13 comments

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

akoval29 avatar Oct 14 '24 18:10 akoval29

+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!

ylboerner avatar Oct 21 '24 15:10 ylboerner

Hi! Thanks for raising this

We've recieved this issue and we're reviewing it, I'll give you updates as soon as possible.

cabljac avatar Feb 11 '25 15:02 cabljac

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?

CorieW avatar Feb 14 '25 15:02 CorieW

Potentially the same issue as #2191

CorieW avatar Feb 17 '25 11:02 CorieW

@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.

ylboerner avatar Feb 17 '25 21:02 ylboerner

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

akoval29 avatar Feb 18 '25 06:02 akoval29

@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.

akoval29 avatar Feb 18 '25 06:02 akoval29

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:

Image Image Image Image

jaakdentrekhaak avatar Mar 10 '25 19:03 jaakdentrekhaak

Hi, thanks for the extra context -

I'll make sure this gets prioritised to try and reproduce and resolve, i'll keep you updated

cabljac avatar May 20 '25 14:05 cabljac

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.

cabljac avatar May 27 '25 14:05 cabljac

@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 avatar May 27 '25 14:05 cabljac

@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).

Image

jaakdentrekhaak avatar Jun 03 '25 07:06 jaakdentrekhaak

i (author) dont use this firestore-send-email extension any more. so if this topic can help anyone it can exist, otherwise delete it. =(

akoval29 avatar Jun 22 '25 22:06 akoval29

Closing as stale with inability to reproduce.

If you have any further issues, feel free to open a new issue.

CorieW avatar Jul 01 '25 15:07 CorieW