Logic Machine Forum
0A000126:SSL routines::unexpected eof while reading - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: 0A000126:SSL routines::unexpected eof while reading (/showthread.php?tid=5942)



0A000126:SSL routines::unexpected eof while reading - spyder - 23.03.2025

Dear,


When doing a HTTPS POST, I get
Code:
0A000126:SSL routines::unexpected eof while reading

This code used to work.

I think this started after upgrading to SW: 20240426. I have restarted the LM after this error.

libopenssl 3.0.13-1
luasocket 2.0.2-20240325

It looks similar to this stackoverflow issue:
Quote:OpenSSL 3 reintroducing a feature to prevent truncation attacks


My HW: Reactor v2 (i.MX28)

Can I debug somehow?


Thanks,

Kristof


RE: 0A000126:SSL routines::unexpected eof while reading - admin - 24.03.2025

To which website are you sending POST requests?


RE: 0A000126:SSL routines::unexpected eof while reading - spyder - 24.03.2025

(24.03.2025, 08:57)admin Wrote: To which website are you sending POST requests?

Web interface of https://www.zyxel.com/global/en/products/switch/8-10-16-24-48-port-gbe-smart-managed-switch-gs1900-series/features


RE: 0A000126:SSL routines::unexpected eof while reading - admin - 26.03.2025

Run this script once and post what you get in Logs. Change IP to your switch IP.
Code:
ip = '192.168.1.1'
res = io.readproc('echo Q | openssl s_client -connect ' .. ip .. ':443')
log(res)