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

Unable to send emails #2384

Closed
jacobdu-dev opened this issue Dec 24, 2020 · 4 comments
Closed

Unable to send emails #2384

jacobdu-dev opened this issue Dec 24, 2020 · 4 comments

Comments

@jacobdu-dev
Copy link

I am unable to send any emails via the sysadmin panel (SMTP via mailjet or the recommended smtp2go). I installed it via docker as per the instructions in documentations. Here is the docker logs.

2020/12/24 12:59:05 [error] 259#259: *1 FastCGI sent in stderr: "PHP message: [2020-12-24T13:59:05.062786+01:00] elabftw.ERROR: [{"userid":1},{"exception":"[object] (Swift_TransportException(code: 0): Connection could not be established with host in-v3.mailjet.com :stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:\nerror:1408F10B:SSL routines:ssl3_get_record:wrong version number at /elabftw/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php:261)"}] []" while reading response header from upstream, client: 137.25.236.53, server: HOSTNAME, request: "POST /app/controllers/SysconfigAjaxController.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.sock:", host: "HOSTNAME"

Ive attempted to try and look up this error and it seems I would need to make some changes to the extensions in php.ini. However, it seems I cant seem to find the php.ini file outside of the docker containers.

@NicolasCARPi
Copy link
Contributor

Use "TLS" and port 465 with smtp2go.

@jacobdu-dev
Copy link
Author

Use "TLS" and port 465 with smtp2go.

I tried that and now Im getting a slightly different error:

2020/12/24 22:11:12 [error] 272#272: *47 FastCGI sent in stderr: "PHP message: [2020-12-24T23:11:12.241607+01:00] elabftw.ERROR: [{"userid":1},{"exception":"[object] (Swift_TransportException(code: 0): Connection could not be established with host mail.smtp2go.com :stream_socket_client(): unable to connect to ssl:// mail.smtp2go.com:465 (Operation timed out) at /elabftw/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php:261)"}] []" while reading response header from upstream, client: 137.25.236.53, server: HOSTNAME, request: "POST /app/controllers/SysconfigAjaxController.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.sock:", host: "HOSTNAME"

@NicolasCARPi
Copy link
Contributor

I've been having this error also recently. I think it's an issue on smtp2go side (or on the road to it). After like 30 min it was working fine again with no config change. Try again now :)

@jacobdu-dev
Copy link
Author

I've been having this error also recently. I think it's an issue on smtp2go side (or on the road to it). After like 30 min it was working fine again with no config change. Try again now :)

Youre right! Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants