-
Notifications
You must be signed in to change notification settings - Fork 13.3k
wificlientsecure fails to connect with smtp2go, but works with gmail #3932
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
Comments
here is an example that says to work with smtp2go |
@5chufti Oh, I can get to work on smtp2go with non secure client. It is just the secure client part that is not working. |
Thanks for reporting this @kapyaar, looks like our implementation of max_fragment_length extension may have a bug. Working on a fix for this... |
axTLS does not correctly implement max_fragment_length extension. This causes servers which understand this extension (currently GnuTLS- and WolfSSL-based) to reject the client hello. Until this is fixed in axTLS, remove the call to enable this extension from WiFiClientSecure. Fixes #3932.
@devyte I came back to this issue, and saw that #4033 fixes this issue. I am currently using 2.4.1 latest release, and I checked my libraries/ESP8266WiFi/src/WiFiClientSecure.cpp. The file seems to have this fix but the issue persists. Connecting to :mail.smtp2go.com:25 Am I missing anything? Any other changes that I have to make? |
|
To be explicit, axtls is planned for deprecation and then retirement, so issues with it won't be fixed. OTOH, if you find a problem with bearssl, please open a new issue and add the details per the issue template. |
@devyte got it working with bearSSL. Thanks |
Please fill the info fields, it helps to get you faster support ;)
if you have a stack dump decode it:
https://github.com/esp8266/Arduino/blob/master/doc/Troubleshooting/stack_dump.rst
for better debug messages:
https://github.com/esp8266/Arduino/blob/master/doc/Troubleshooting/debugging.rst
----------------------------- Remove above -----------------------------
Basic Infos
Hardware
Hardware: ESP-12
Core Version: 2.4.0-rc2
Description
I am working on the ESP8266 gmail sender (http://www.instructables.com/id/ESP8266-GMail-Sender/) to send email using WiFiClientSecure. I can get it to work with gmail, but fail to get even connect to the server with mail.smtp2go.com.
Settings in IDE
Module: ?nodeMCU 0.9?
Flash Size: ?4MB/1MB?
CPU Frequency: ?80Mhz?
Flash Mode: ?DOUT?
Flash Frequency: ?40Mhz?
Upload Using: ?SERIAL?
Reset Method: ?ck / nodemcu?
Sketch
Debug Messages
The text was updated successfully, but these errors were encountered: