Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: MobileSync error Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
nb2289
Newbie
Newbie


Joined: 27 May 2019
Online Status: Offline
Posts: 1
Posted: 27 May 2019 at 1:51pm | IP Logged Quote nb2289

Hi, I'm encountering the following error:

I'm using MobileSync on iOS to download my configuration. I set it up, but I keep getting an error.

I created a redirect for a subdomain on my website for dav.domain.com (using cpanel, though I'm not using cpanel to log into mail) that redirects to https://domain.com/dir/dav.php/principals/user@user.com

I then changed the dav location in the adminpanel to dav.domain.com

When I install the mobile profile, I just get a spinny wheel in the top right corner.
Back to Top View nb2289's Profile Search for other posts by nb2289
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6043
Posted: 28 May 2019 at 12:44am | IP Logged Quote Igor

Hello,

Can you check if it works for you on our Live Demo at https://webmail.afterlogic.com/? Thanks.

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

Joined: 20 November 2018
Location: Canada
Online Status: Offline
Posts: 21
Posted: 14 June 2019 at 7:58am | IP Logged Quote Emilius

Hello

Just updated to PHP version 8.3.2 today and Mobile DAV sync is broken for me. I got internal server error message (error 300). I have to restore my files. Is there anything else I hae to do after updating? All I did is test and update base.

Thank you
Back to Top View Emilius's Profile Search for other posts by Emilius
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6043
Posted: 14 June 2019 at 8:55am | IP Logged Quote Igor

Try clicking "Update configuration" in admin area. Also, if you were running an old version, DAV update may be required, please see:

https://afterlogic.com/docs/webmail-pro-8/installation/upgrading-instructions

Does it help?

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

Joined: 20 November 2018
Location: Canada
Online Status: Offline
Posts: 21
Posted: 16 June 2019 at 11:11am | IP Logged Quote Emilius

Igor wrote:
Hello,

Can you check if it works for you on our Live Demo at https://webmail.afterlogic.com/? Thanks.

--
Regards,
Igor, Afterlogic Support


No, it is not connecting. Using same type of connection like on my own just with different user.

Loging with URL and user name with DAVx5 on android
URL https://dav.afterlogic.com/addressbooks/AddressBook
User user08025@demo.afterlogic.com
Pass demo

It will not connect, just endless spin...
Back to Top View Emilius's Profile Search for other posts by Emilius
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6043
Posted: 17 June 2019 at 1:37am | IP Logged Quote Igor

OK thank you, the developers will look into this, seems there's a problem with DAV access for demo users there.

Meantime, please enable browser access for DAV on your installation; that's done by setting UseBrowserPlugin to true in data/settings/modules/Dav.config.json file. Then, open the URL in browser and enter the account credentials, and see if you're able to log in that way. Read more at Configuring DAV server.

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

Joined: 20 November 2018
Location: Canada
Online Status: Offline
Posts: 21
Posted: 17 June 2019 at 11:27am | IP Logged Quote Emilius

Igor wrote:
OK thank you, the developers will look into this, seems there's a problem with DAV access for demo users there.

Meantime, please enable browser access for DAV on your installation; that's done by setting UseBrowserPlugin to true in data/settings/modules/Dav.config.json file. Then, open the URL in browser and enter the account credentials, and see if you're able to log in that way. Read more at Configuring DAV server.

--
Regards,
Igor, Afterlogic Support


With version 8.2.19 DAV sync is working good with DAVx5 on my android but version 8.3 and up DAV stooped syncing. I am not sure in my case if I need to touch anything in Dav.config.json file. I am afraid to mess it up. I will wait a bit before I start changing config files.
Back to Top View Emilius's Profile Search for other posts by Emilius
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6043
Posted: 18 June 2019 at 12:50am | IP Logged Quote Igor

At the moment, you'll only need to change one specific setting, and it only affects the ability of accessing DAV via web browser; that will allow to run a basic check whether DAV itself is configured correctly, prior to using any third-party clients.

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


Joined: 15 August 2010
Online Status: Offline
Posts: 43
Posted: 18 June 2019 at 8:46am | IP Logged Quote mic.max

after update 8.3.2

php report:

18-Jun-2019 17:43:14 PHP Warning: XMLReader::XML(): Empty string supplied as input in C:\inetpub\webmail\vendor\sabre\xml\lib\Service.php on line 116

and caldavsync:

CalDavSynchronizer.DataAccess.WebDavClientException: Response status code does not indicate success: '500' ('Internal Server Error'). Message:
<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
<s:exception>Sabre\Xml\ParseException</s:exception>
<s:message>This should never happen (famous last words)</s:message>
<s:file>C:\inetpub\webmail\vendor\sabre\xml\lib\Reader.php</s:file>
<s:line>157</s:line>
<s:code>0</s:code>
<s:stacktrace>#0 C:\inetpub\webmail\vendor\sabre\xml\lib\Element\Base.php(86): Sabre\Xml\Reader->parseInnerTree()
#1 [internal function]: Sabre\Xml\Element\Base::xmlDeserialize(Object(Sabre\Xml\Reader))
#2 C:\inetpub\webmail\vendor\sabre\xml\lib\Reader.php(246): call_user_func(Array, Object(Sabre\Xml\Reader))
#3 C:\inetpub\webmail\vendor\sabre\xml\lib\Reader.php(71): Sabre\Xml\Reader->parseCurrentElement()
#4 C:\inetpub\webmail\vendor\sabre\xml\lib\Service.php(118): Sabre\Xml\Reader->parse()
#5 C:\inetpub\webmail\vendor\sabre\dav\lib\DAV\CorePlugin.php(713): Sabre\Xml\Service->parse('', '/calendars/24f7...', NULL)
#6 [internal function]: Sabre\DAV\CorePlugin->httpReport(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
#7 C:\inetpub\webmail\vendor\sabre\event\lib\EventEmitterTrait.php(105): call_user_func_array(Array, Array)
#8 C:\inetpub\webmail\vendor\sabre\dav\lib\DAV\Server.php(479): Sabre\Event\EventEmitter->emit('method:REPORT', Array)
#9 C:\inetpub\webmail\vendor\sabre\dav\lib\DAV\Server.php(254): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
#10 C:\inetpub\webmail\vendor\afterlogic\dav\lib\DAV\Server.php(255): Sabre\DAV\Server->exec()
#11 C:\inetpub\webmail\dav.php(28): Afterlogic\DAV\Server->exec()
#12 {main}</s:stacktrace>
</d:error>
Back to Top View mic.max's Profile Search for other posts by mic.max
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6043
Posted: 19 June 2019 at 1:35am | IP Logged Quote Igor

Quote:
OK thank you, the developers will look into this, seems there's a problem with DAV access for demo users there.


The issue at webmail.afterlogic.com and its DAV server has been corrected, please check if it works for you there.

Quote:
after update 8.3.2


Can you describe the issue in more detail? Are you able to access DAV via web browser?

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


Joined: 15 August 2010
Online Status: Offline
Posts: 43
Posted: 19 June 2019 at 7:43am | IP Logged Quote mic.max

Igor wrote:

Quote:
after update 8.3.2


Can you describe the issue in more detail? Are you able to access DAV via web browser?

--
Regards,
Igor, Afterlogic Support


Yes access via web browser work, but not via smartphone or caldavsync !
Back to Top View mic.max's Profile Search for other posts by mic.max
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6043
Posted: 19 June 2019 at 7:55am | IP Logged Quote Igor

Please provide a test account on your installation, you can send credentials via HelpDesk. Also, please make sure your maintenance contract is valid. Thanks.

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


Joined: 15 August 2010
Online Status: Offline
Posts: 43
Posted: 19 June 2019 at 11:16am | IP Logged Quote mic.max

our on line webmail.afterlogic.com have same issue, calendar is only-read not writable by caldavsync, attach image.

Back to Top View mic.max's Profile Search for other posts by mic.max
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6043
Posted: 20 June 2019 at 2:07am | IP Logged Quote Igor

Thanks, I was able to reproduce the issue, and have reported it to the developers.

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


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6043
Posted: 20 June 2019 at 6:32am | IP Logged Quote Igor

OK it looks like there was an extra line in vendor/afterlogic/dav/lib/DAV/Server.php file:

Code:
$this->addPlugin(new Logs\Plugin());


Commenting it out or removing should fix the issue.

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


Joined: 15 August 2010
Online Status: Offline
Posts: 43
Posted: 20 June 2019 at 6:48am | IP Logged Quote mic.max


Not find this string on vendor/afterlogic/dav/lib/DAV/Server.php in 8.3.2 version.

Only this is present on row 231:

        $this->addPlugin(new CorePlugin());


Back to Top View mic.max's Profile Search for other posts by mic.max
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6043
Posted: 20 June 2019 at 6:56am | IP Logged Quote Igor

That means you're actually running 8.3 or older, not 8.3.2 where the file contains a lot of $this->addPlugin lines.

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


Joined: 15 August 2010
Online Status: Offline
Posts: 43
Posted: 20 June 2019 at 7:14am | IP Logged Quote mic.max

Igor wrote:
That means you're actually running 8.3 or older, not 8.3.2 where the file contains a lot of $this->addPlugin lines.

--
Regards,
Igor, Afterlogic Support


yes
Back to Top View mic.max's Profile Search for other posts by mic.max
 
Emilius
Newbie
Newbie
Avatar

Joined: 20 November 2018
Location: Canada
Online Status: Offline
Posts: 21
Posted: 05 July 2019 at 11:28am | IP Logged Quote Emilius

Version 8.3.3 fixed all my problems with mobile DAV sync. Thank you ;)
Back to Top View Emilius's Profile Search for other posts by Emilius
 

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