Logic Machine Forum
SOS cloud sync doesn't work!!! - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Visualization (https://forum.logicmachine.net/forumdisplay.php?fid=9)
+--- Thread: SOS cloud sync doesn't work!!! (/showthread.php?tid=5544)



SOS cloud sync doesn't work!!! - almoisey - 31.07.2024

Last 24H clout sync for Mosaic doesn't work.
Sync log shows:
2024.07.31 09:56:35 error: config sync failed for trends (37) - timeout
2024.07.31 09:56:25 error: config sync failed for users (2) - timeout
2024.07.31 09:56:15 error: config sync failed for objectunits (1455) - timeout
2024.07.31 09:56:05 error: config sync failed for objectnames (3270) - timeout
2024.07.31 09:55:55 error: config sync failed for objects (1559) - timeout
2024.07.31 09:55:45 error: config sync failed for mosaic (3546492) - timeout
2024.07.31 09:55:34 error: config sync failed for base (64) - timeout
2024.07.31 09:52:20 connection OK

Existing configuration works over cloud well, but i can't make any changes  Angry. Why?


RE: SOS cloud sync doesn't work!!! - Daniel - 31.07.2024

Works for me, which firmware, Mosaic and LM cloud version do you have?


RE: SOS cloud sync doesn't work!!! - almoisey - 31.07.2024

I have updated firmware today HW: LM5 Lite (i.MX6) SW: 20240426 (but with previous version was the same) Mosaic version 20231026.


RE: SOS cloud sync doesn't work!!! - Daniel - 31.07.2024

What about LM Cloud? It looks like it is some firewall, Sync is done via https (443)


RE: SOS cloud sync doesn't work!!! - almoisey - 31.07.2024

LM is connected to internet over GSM 5G router without any firewall rulles. Is fully acceptable over internet, connected to the cloud, but sync doesn't go. Until today all worked well. No were any changes.

but, connection with LM goes only over http, not secure


RE: SOS cloud sync doesn't work!!! - Daniel - 31.07.2024

Run this script and see the logs
Code:
function checktcp(ip, port)
  local sock = require('socket').tcp()
  sock:settimeout(1)
  local res, err = sock:connect(ip, port)
  sock:close()
  return res, err
end

-- change IP/PORT as needed
res, err = checktcp('remote.logicmachine.net', 443)
if res then
  log('connect OK')
else
  log('connect ERROR', err)
end



RE: SOS cloud sync doesn't work!!! - almoisey - 31.07.2024

script have finished with error:
* arg: 1
* string: connect ERROR
* arg: 2
* string: timeout

may be problem with ssl in LM?


RE: SOS cloud sync doesn't work!!! - Daniel - 31.07.2024

Port is blocked, ether by router or your operator, it is outgoing port. This is not LM issue.