09.05.2023, 07:25
Run this script and see what you get in Logs:
Code:
sock = require('socket').tcp()
sock:settimeout(5)
res, err = sock:connect('remote.logicmachine.net', 8883)
log('connect', res, err)
if res then
sock = require('ssl').wrap(sock, true)
sock:settimeout(5)
res, err = sock:dohandshake()
log('handshake', res, err)
end
sock:close()