Exchange Active Sync issue

asked 2015-09-21 18:55:20 +0200

fabled gravatar image

I'm unable to setup an EAS account. It seems that my device has lost some files as debugging logs say the following:

[25759] Sep 21 17:55:44 [Debug] General :  Account 6 : resetting protocol action factory, 1 clients are waiting for it 
[25759] Sep 21 17:55:44 [Debug] General :  Account 6 : starting protocol action factory create job QObject(0x0)  
[25759] Sep 21 17:55:44 [Debug] General :  Device-id file "/home/nemo/.activesync/device-id" doesn't exist 
[25759] Sep 21 17:55:44 [Debug] General :  Device-id is "JP" 
[25759] Sep 21 17:55:44 [Debug] General :  Device-id file "/home/nemo/.activesync/device-id" doesn't exist 
[25759] Sep 21 17:55:44 [Debug] General :  Device-id is "JP" 
[25759] Sep 21 17:55:44 [Error] Account 6 : unable to create action factory, IMEI is not available 
[25759] Sep 21 17:55:44 [Debug] General :  Account 6 : emitting factory available signal 
[25759] Sep 21 17:55:44 [Debug] General :  ActiveSyncServer: updated account id= "21" 
[25759] Sep 21 17:55:44 [Debug] General :  Job JobProvisionPolicy(0x5ef3c8) (protocol): received ActionFactory response, status 5
[25759] Sep 21 17:55:44 [Debug] General :  Job JobProvisionPolicy(0x5ef3c8) (protocol): factory creation failed, will try again in 15 seconds

Any idea how to recreate that file?

edit retag flag offensive close delete

Comments

Ok. I just pasted "JP<my-imei>" to that file, and it made progress.</my-imei>

Now I get:

[3929] Sep 21 19:40:38 [Debug] Provision :  ProvisionableImpl: applying new policies from account 8 
[3929] Sep 21 19:40:38 [Debug] Provision :  Unsupported security setting from the server: MAX_INT != aPolicies.maxAttachmentSize 
[3929] Sep 21 19:40:38 [Debug] Provision :  mUnsupportedRequested = true
fabled ( 2015-09-21 19:49:32 +0200 )edit

Thank you for this information. Did this problem only start to occur after a recent upgrade or something? What version of Sailfish OS are you using?

chris.adams ( 2015-09-22 09:10:19 +0200 )edit
1

I have never had successful EAS setup for this server (I have no control over server policy). This is the first time I'm debugging what goes wrong. And it seems to be the above mentioned server side policy requirement. I'm sailing with Sailfish OS 1.1.9.28 (opted in for early access).

The original issue of missing device-id file my have been introduced by me when I reset manually some other things while trying to get things working. Though it sounds slightly silly to store the IMEI in user file when you can just read it from sysfs directly.

fabled ( 2015-09-22 09:43:10 +0200 )edit