Community discussions

MikroTik App
 
karaYusuf
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 54
Joined: Wed Oct 12, 2022 11:07 am

Why do I have to disable my scripts to get my ipsec tunnel connection again

Wed Mar 29, 2023 3:42 pm

Hello Guys,

I am using RouterOS v7.8 on my hapac2. This router is connected to a server with IPsec, which is emulating an RouterOS.
This Cloudserver has also multiple connections to multiple Routers via Ipsec.
I have also some scripts running on the hapac2.

To my problem now: After like 10min my hapac2 is not active in the active peers anymore and the connection disconnects even though my IPsec connection is on "established" and internet connection is available on the router.
My solution: I disable every scheduler, which are running scripts.
After that it just works again and the connection is also active again.

To my questions: What is happening there? What does my scripts have to do with the IPsec connection to the cloudserver? What can I do to troubleshoot it?

I thank everyone helping me! :)
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11982
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Why do I have to disable my scripts to get my ipsec tunnel connection again

Wed Mar 29, 2023 3:53 pm

And how are we supposed to understand whay you wrote in the scripts?
I left the palantír at بيروت‎...
 
karaYusuf
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 54
Joined: Wed Oct 12, 2022 11:07 am

Re: Why do I have to disable my scripts to get my ipsec tunnel connection again

Thu Mar 30, 2023 10:14 am

I made some tests and just disabled some of them and I got back my IPsec connection.
After that I enabled them again, waited for the disconnect and now disabled other scripts and let the scripts I once disabled before on enable.

My conclusion: I think that the content of the scripts does not matter.

I just do not get what can be the relation between disabling some scripts and getting back my IPsec connection.

Who is online

Users browsing this forum: GoogleOther [Bot] and 18 guests