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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 Bug Report: Custom SMTP doesn't work for messaging #7914

Closed
2 tasks done
stnguyen90 opened this issue Apr 3, 2024 · 0 comments 路 Fixed by #7915
Closed
2 tasks done

馃悰 Bug Report: Custom SMTP doesn't work for messaging #7914

stnguyen90 opened this issue Apr 3, 2024 · 0 comments 路 Fixed by #7915
Assignees
Labels
bug Something isn't working

Comments

@stnguyen90
Copy link
Contributor

馃憻 Reproduction steps

  1. Set up a custom SMTP provider that has SSL/TLS
  2. Create an email message

馃憤 Expected behavior

The email sends.

馃憥 Actual Behavior

Messages are stuck at processing:

image

Worker crashes with:

appwrite-worker-messaging  | [Job] Received Job (660db82b77efb7.33903010).
appwrite-worker-messaging  | [2024-04-03 20:12:27 #7.0] WARNING ProcessPool::wait(): worker#0 abnormal exit, status=0, signal=11
appwrite-worker-messaging  | A bug occurred in Swoole-v5.1.2, please report it.
appwrite-worker-messaging  | The Swoole developers probably don't know about it,
appwrite-worker-messaging  | and unless you report it, chances are it won't be fixed.
appwrite-worker-messaging  | You can read How to report a bug doc before submitting any bug reports:
appwrite-worker-messaging  | >> https://github.com/swoole/swoole-src/blob/master/.github/ISSUE.md 
appwrite-worker-messaging  | Please do not send bug reports in the mailing list or personal letters.
appwrite-worker-messaging  | The issue page is also suitable to submit feature requests.
appwrite-worker-messaging  | 
appwrite-worker-messaging  | OS: Linux 5.15.49-linuxkit #1 SMP PREEMPT Tue Sep 13 07:51:32 UTC 2022 aarch64
appwrite-worker-messaging  | GCC_VERSION: 13.2.1 20231014
appwrite-worker-messaging  | OPENSSL_VERSION: OpenSSL 3.1.4 24 Oct 2023
appwrite-worker-messaging  | PHP_VERSION : 8.3.3
appwrite-worker-messaging  | 
appwrite-worker-messaging  | [Worker] Worker 0 is ready!
appwrite-worker-messaging  | Worker messaging  started
appwrite-worker-messaging  | [Job] Received Job (660db8643afa21.09449913).
appwrite-worker-messaging  | [2024-04-03 20:13:24 #7.0] WARNING ProcessPool::wait(): worker#0 abnormal exit, status=0, signal=11
appwrite-worker-messaging  | A bug occurred in Swoole-v5.1.2, please report it.
appwrite-worker-messaging  | The Swoole developers probably don't know about it,
appwrite-worker-messaging  | and unless you report it, chances are it won't be fixed.
appwrite-worker-messaging  | You can read How to report a bug doc before submitting any bug reports:
appwrite-worker-messaging  | >> https://github.com/swoole/swoole-src/blob/master/.github/ISSUE.md 
appwrite-worker-messaging  | Please do not send bug reports in the mailing list or personal letters.
appwrite-worker-messaging  | The issue page is also suitable to submit feature requests.
appwrite-worker-messaging  | 
appwrite-worker-messaging  | OS: Linux 5.15.49-linuxkit #1 SMP PREEMPT Tue Sep 13 07:51:32 UTC 2022 aarch64
appwrite-worker-messaging  | GCC_VERSION: 13.2.1 20231014
appwrite-worker-messaging  | OPENSSL_VERSION: OpenSSL 3.1.4 24 Oct 2023
appwrite-worker-messaging  | PHP_VERSION : 8.3.3
appwrite-worker-messaging  | 
appwrite-worker-messaging  | [Worker] Worker 0 is ready!
appwrite-worker-messaging  | Worker messaging  started

馃幉 Appwrite version

Version 1.5.x

馃捇 Operating system

Linux

馃П Your Environment

No response

馃憖 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

馃彚 Have you read the Code of Conduct?

@stnguyen90 stnguyen90 added the bug Something isn't working label Apr 3, 2024
@stnguyen90 stnguyen90 self-assigned this Apr 3, 2024
stnguyen90 added a commit that referenced this issue Apr 3, 2024
Due to a bug in the Swoole TCP hook, the worker crashes when doing the
TLS handshake. This PR disables the Swoole TCP hook just like we do
in the mails worker.

References:
* #7914
* #6966
* swoole/swoole-src#4909
@stnguyen90 stnguyen90 linked a pull request Apr 3, 2024 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant