Community discussions

MikroTik App
 
ubikrotik
Member Candidate
Member Candidate
Topic Author
Posts: 162
Joined: Wed May 25, 2016 3:56 am

.alter file andstange timeout

Tue Aug 06, 2024 4:38 am

Is there a time limit for running a script by a remote device? Let's say we have this script:
:log warning "Script has started"
:delay 300
:log warning "Script has ended"
This specific script can be launched in CLI or in winbox without any problem. It could last hours or forever, and it just works as expected...
However, if this script is launched by a remote server like TR-069, the script ends after about 60 seconds with a critical error: "executing script from tr069-client failed, please check it manually."
It seems there is an internal timeout that limits the execution time of a script initiated by a remote server.
Can someone help or confirm this?
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 13643
Joined: Thu Mar 03, 2016 10:23 pm

Re: .alter file andstange timeout

Tue Aug 06, 2024 12:37 pm

Are you sure it's not TR-069 "server" or some firewall in between that cuts TCP connection due to inactivity?
 
ubikrotik
Member Candidate
Member Candidate
Topic Author
Posts: 162
Joined: Wed May 25, 2016 3:56 am

Re: .alter file andstange timeout

Tue Aug 06, 2024 3:20 pm

not sure. It could be GenieACS. But havnt find any timer in the config file. Still searching ...
 
User avatar
ksx4system
Frequent Visitor
Frequent Visitor
Posts: 58
Joined: Sat Nov 13, 2010 7:08 pm
Location: Poland
Contact:

Re: .alter file andstange timeout

Tue Aug 06, 2024 11:41 pm

not sure. It could be GenieACS. But havnt find any timer in the config file. Still searching ...

Have you read this post on GenieACS forum?

https://forum.genieacs.com/t/ack-timeou ... timeout/38