Page 1 of 1

[Solved] INTERACTION_ERROR | Mikrotik

Posted: Mon Mar 11, 2024 12:19 pm
by Izwi
Good Day,

I am having an issue with only one out of 78 Mikrotiks we have on our unimus currently.
It is a CCR1072-1G-8S+.

When running Manual Discovery it works, Manual backup does not work either and running a scheduled Discovery or scheduled backup it 99% never works.
We can see our Unimus user log into our Mikrotik but it still reports failure on Discovery or backup.

We have allowed SSH port and tested connection to and from our Unimus Server ( Version 2.4.2 )

Can someone please assist ?

Re: INTERACTION_ERROR | Mikrotik

Posted: Mon Mar 11, 2024 12:46 pm
by Izwi
Fixed,

https://wiki.unimus.net/display/UNPUB/C ... t+timeouts

Default timeout needed to be increased as the config size was considered "Large"

Re: [Solved] INTERACTION_ERROR | Mikrotik

Posted: Wed Mar 20, 2024 4:11 pm
by StevenK
So I've made this modification to almost an extreme and it still comes back with the error. Is there a limit on how far the config timeouts can go?

Right now my settings are

-Xms256M -Xmx768M -Djava.security.egd=file:/dev/./urandom -Dunimus.core.connect-timeout=70000 -Dunimus.core.inter-connection-delay=5000 -Dunimus.core.cli-expect-timeout=80000

Re: [Solved] INTERACTION_ERROR | Mikrotik

Posted: Wed Mar 20, 2024 5:02 pm
by StevenK
FYI this is also on 1072. I have other 1072's that are working. I can't figure out why this one is taking longer than the rest. I do have some large address lists, but so do the others.

It does run BGP but so does one other.

Re: [Solved] INTERACTION_ERROR | Mikrotik

Posted: Mon Mar 25, 2024 9:33 am
by Tomas
StevenK wrote:
Wed Mar 20, 2024 4:11 pm
So I've made this modification to almost an extreme and it still comes back with the error. Is there a limit on how far the config timeouts can go?
There is no limit on how high timeouts can go, but the Tik driver uses a timeout multiplier, so there should not be a need to take the timeout to extremes: https://wiki.unimus.net/display/UNPUB/D ... ultipliers
StevenK wrote:
Wed Mar 20, 2024 5:02 pm
I can't figure out why this one is taking longer than the rest. I do have some large address lists, but so do the others.
If you run "/export" on this Tik manually (over SSH), how long does it take to finish outputting its config? If you enable Device Output Logging in Debug Mode, what's the last data received on the session before Unimus times out the job?

Re: [Solved] INTERACTION_ERROR | Mikrotik

Posted: Mon Mar 25, 2024 3:11 pm
by StevenK
First there is a very long pause at /tools email even though nothing is setup there.

Then it dies at

error exporting /tool graphing

--- There are no graphs in the settings

Sits there indefinitely.

I'm going to be doing some maintenance tonight so I'll upgrade the firmware/routerboard to see if it helps.