Logic Machine Forum
Telegram updates - 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: Telegram updates (/showthread.php?tid=5762)



Telegram updates - Omega Technology - 26.11.2024

good morning we wanted to ask for help regarding the telegram function that deals with incoming messages,  momentarily it stopped working returning this error (* arg: 1   * string: receive error          -            * arg: 2 * string: error:0A000126:SSL routines::unexpected eof while reading) outgoing messages work correctly.
best regards Omega Technology.


RE: Telegram updates - Daniel - 26.11.2024

What script do you use?


RE: Telegram updates - Omega Technology - 26.11.2024

(26.11.2024, 12:04)Daniel Wrote: What script do you use?

function callback(text, userid, username)
log(text)
log(userid)
end
token = 'XXXXXXXXXXXX'
require('user.tgupdates')(token, callback)


RE: Telegram updates - Daniel - 26.11.2024

This example then?
https://forum.logicmachine.net/showthread.php?tid=2666&pid=29437#pid29437
Did it worked before?


RE: Telegram updates - Omega Technology - 26.11.2024

(26.11.2024, 12:16)Daniel Wrote: This example then?
https://forum.logicmachine.net/showthread.php?tid=2666&pid=29437#pid29437
Did it worked before?

exactly until a few days it worked now only the output data from the logic works, not the input data


RE: Telegram updates - admin - 26.11.2024

Which firmware version do you have?


RE: Telegram updates - Omega Technology - 26.11.2024

(26.11.2024, 12:23)admin Wrote: Which firmware version do you have?

SW: 20240426


RE: Telegram updates - Omega Technology - 29.11.2024

(26.11.2024, 12:23)admin Wrote: Which firmware version do you have?

Hi, any updates? Still not working.


RE: Telegram updates - admin - 29.11.2024

Works for me. Have you tried restarting the script or rebooting LM?