Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
akoval29 opened this issue Oct 14, 2024 · 8 comments
Labels
needs: author feedback Pending additional information from the author type: bug Something isn't working

Comments

@akoval29
Copy link

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://inakademymbo@[email protected]: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://inacademymbo.post@[email protected]: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 akoval29 added the type: bug Something isn't working label Oct 14, 2024
@ylboerner
Copy link

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

@cabljac
Copy link
Contributor

cabljac commented Feb 11, 2025

Hi! Thanks for raising this

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

@CorieW CorieW self-assigned this Feb 14, 2025
@CorieW
Copy link
Contributor

CorieW commented Feb 14, 2025

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 CorieW added the needs: author feedback Pending additional information from the author label Feb 14, 2025
@CorieW
Copy link
Contributor

CorieW commented Feb 17, 2025

Potentially the same issue as #2191

@ylboerner
Copy link

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

@akoval29
Copy link
Author

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
Copy link
Author

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

@jaakdentrekhaak
Copy link

jaakdentrekhaak commented Mar 10, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs: author feedback Pending additional information from the author type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants