PPTP vpn reconnect questions

Hello
I set pptp client connection with the mikrotik to ivacy vpn for dedicated IP , using winbox.

It works without interruptions for about 3 days but sometimes connection simply drops several times in one day, and I have some errors inside my mikrotik log.

CCP lost compression got out of sync : disabling compression
Encryption got out of sync disabling

Can you explain what they means? Do I need to change some connection settings?



My vpn provider ivacy told me my device is reconnecting very fast and that causes problems with obtaining dedicated ip. I am being redirected to some other vpn server that gives me different IP.
I was told to set some delay for 2 or 3 minutes between redialing attempts. How can I set it? How mikrotik holds and redials pptp connection once it drops?

my device is 951Ui-2nD
factory firmware 3.39
upgrade firmware: 6.45.7

Yeah, that happens with ROS ppp packets with “Compression” enabled in ppp profile pptp/pppoe tunnels using. So just disable it in ppp profile.

Alright after I disabled compression connection is more stable.

How can I set pptp reconnect delay ?

For example in the log after :

terminating keepalives timeout ,

mikrotik immediately redials connection to vpn server but I need to set some delay , for example if keepalives timeout, wait for X minutes and then redial again.

Where can I set that? Do I need to write manually in script?

I switched VPN provider because of this problem but problem is present again.

The main problem seems to be mikrotik and his PPTP connection handling.

I was told from vpn support to set some delay between redialing connection , 4 or 5 minutes . Where can I set it inside mikrotik?

It looks like first VPN session is not terminated completely - gets stucked and because of that I am connected to vpn with 2nd session causing my vpn ip adress change to the wrong ip instead dedicated ip.