Search The ForumSearch   RegisterRegister  LoginLogin

Afterlogic ActiveServer

 AfterLogic Forum : Afterlogic ActiveServer
Subject Topic: Mobile loop detected Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Tower on A1
Newbie
Newbie


Joined: 15 April 2021
Online Status: Offline
Posts: 9
Posted: 16 July 2021 at 12:33am | IP Logged Quote Tower on A1

Hello,

ActiveServer is a very interesting extension for Aurora. We have set it up for testing and the data of our test user is synchronized. However, we have the problem that the data on the mobile device disappears again and again and is displayed again after a short time.

The following error message appears in the LOG file:
Mobile loop detected! Messages sent to the mobile will be restricted to 1 items in order to identify the conflict

Can you help us with this?

Best regards,
Tower
Back to Top View Tower on A1's Profile Search for other posts by Tower on A1
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 5752
Posted: 16 July 2021 at 1:10am | IP Logged Quote Igor

Hello,

Quote:
Mobile loop detected! Messages sent to the mobile will be restricted to 1 items in order to identify the conflict


That's a normal behavior of Z-Push which usually happens on unstable connection, it basically means the server drops duplicate requests processing just one of them:

https://kb.kopano.io/display/ZP/Loop+detection

Are there any other errors in ActiveServer / Z-Push or Aurora logs which could be related to this?

--
Regards,
Igor, Afterlogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
Tower on A1
Newbie
Newbie


Joined: 15 April 2021
Online Status: Offline
Posts: 9
Posted: 16 July 2021 at 1:54am | IP Logged Quote Tower on A1

Hello Igor,

Thank you for your support.

This is the first message in the LOG file:
.../lib/default/filestatemachine.php: 211 unsialize (): Error at offset 0 of 1 bytes (8)

Otherwise only loop messages.

Best regards,
Tower
Back to Top View Tower on A1's Profile Search for other posts by Tower on A1
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 5752
Posted: 16 July 2021 at 2:34am | IP Logged Quote Igor

Not sure what could be causing that, but I do have an idea. I've uploaded the set of configuration files used on our live ActiveServer setup, you can get those from here. There's a good chance that comparing those with your configuration may help.

One thing worth mentioning is it's of vital importance to make sure your IMAP namespace is configured correctly, see step 5 of installation instructions. In the past, we've have encountered calenar/contact sync issues on Android, quite similar to what you described, and turned out the problem was actually caused by incorrect IMAP namespace setup.

--
Regards,
Igor, Afterlogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
Tower on A1
Newbie
Newbie


Joined: 15 April 2021
Online Status: Offline
Posts: 9
Posted: 19 July 2021 at 8:08am | IP Logged Quote Tower on A1

Hello,

thank you for the config files. Unfortunately, the problem is still there.

Here is the result after entering z-push-admin.php -a list -u username:

DeviceId:               androidcxxxxxxxxxxxx
Device type:            Android
UserAgent:              Android-Mail/2021.06.13.383748829.Release
ActiveSync version:     14.0
First sync:             2021-07-19 16:40
Last sync:              2021-07-19 17:00
Sync Period:            unlimited (0)
Total folders:          15
Short folder Ids:       No
Synchronized folders:   5
Synchronized data:      Emails(2) Calendars Tasks Contacts
Additional Folders:     none
Status:                 Not available
WipeRequest on:        not set
WipeRequest by:        not set
Wiped on:               not set
Policy name:            default
Attention needed:       No errors known

The status is Not available.

Regards,
Tower
Back to Top View Tower on A1's Profile Search for other posts by Tower on A1
 
Tower on A1
Newbie
Newbie


Joined: 15 April 2021
Online Status: Offline
Posts: 9
Posted: 20 July 2021 at 8:12am | IP Logged Quote Tower on A1

Hello,

Afterlogic ActiveServer works for me without any problems. No loops and status ok.

Solution: I built a completely new ActiveServer package based on z-push 2.6.2.

DeviceId:               androidcxxxxxxxxxxxxx
Device type:            Android
UserAgent:              Android-Mail/2021.06.13.383748829.Release
ActiveSync version:     14.0
First sync:             2021-07-20 16:52
Last sync:              2021-07-20 16:53
Sync Period:            unlimited (0)
Total folders:          9
Short folder Ids:       No
Synchronized folders:   4
Synchronized data:      Emails Calendars Tasks Contacts
Additional Folders:     none
Status:                 OK
WipeRequest on:        not set
WipeRequest by:        not set
Wiped on:               not set
Policy name:            default
Attention needed:       No errors known

I can make the package available to you.

Best regards,
Tower
Back to Top View Tower on A1's Profile Search for other posts by Tower on A1
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 5752
Posted: 20 July 2021 at 8:33am | IP Logged Quote Igor

Hello,

Thank you for the update. As far as I can tell, currently we use Z-Push 2.6.0, I've asked the developers to build an updated package. In the meantime, you're welcome to share your build of the package.

I'm curious though, were there any noticeable changes in the configuration files, or they were exactly the same for you in both the versions and the only difference is Z-Push code itself?

--
Regards,
Igor, Afterlogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide