Jump to content

Recommended Posts

hi.

I'm tried to set directory by google carddav , but the log say me always token error , any suggestion? release 5.2.6 . thank you

 

Luciano.

Share this post


Link to post
Share on other sites

I just tried it and it works for me.

 

I am sure you tried it the way it is mentioned but just to be sure. You gave your email address in the Email Address field, pressed "Get Auth Code", a new window opened where you logged in with the same email address you provided and its password, which takes you to the authentication page, then you pressed "Accept" button. The Auth Code appeared in that window which you copy and paste in the "Paste Auth Code Here" field and pressed "Login".

 

Give it some time and the contacts will appear on the "Synced Contacts" page. Make sure there are some contacts set in your account.

 

If it doesn't, try to repeat the process again with log set at max. so we can determine why it would work here and not there. Sometimes, the server is busy, it has to be repeated 2 times. Of course once it is done, then you don't have to do it again, it will keep sync every 15 minutes or so, unless you remove it or restart the pbx.

Share this post


Link to post
Share on other sites

I attached below some report :

 

[9] 17:14:22.291 WEBC: https:www.googleapis.com:443: Send request REPORT /carddav/v1/principals/xxxxxxxxxxxxxx/lists/default HTTP/1.1
Host: www.googleapis.com:443
Content-Length: 180
Content-type: text/xml; charset=utf-8
Depth: 1
Authorization: Bearer ya29.lAGhS0rAmXvkUVzX5JKz_-B8fnK8PBkHyEvU7wOkZtQWz2OOS4a1b8lMYTwV1vP5wucQLOKbVAw8NQ
Accept-Language: en-us
User-Agent: Mozilla/4.0 (compatible; PBX)

<?xml version="1.0" encoding="UTF-8"?><d:sync-collection xmlns:d="DAV:"><d:sync-token></d:sync-token><d:sync-level>1</d:sync-level><d:prop><d:getetag/></d:prop></d:sync-collection> [9] 17:14:22.291 WEBC: Initialize TLS connection [9] 17:14:22.291 TLS: HTTP 216.58.210.202: send_client_hello(0301397f004e4e7c1e80d9edf9d31375d82f289a874a60e5135ca26671fb498130f3000008002f0035000400050100001b0000001700150000127777772e676f6f676c65617069732e636f6d) [9] 17:14:22.317 TLS: HTTP 216.58.210.202: process_server_hello(03015580735c25687f51e17ffaee9ef7d4bb081806f356545bd1b077259536bc54ec200e4a66870b3043cad3d166703561548393837e3529675e70ee39e2ebf87b048f000500000400000000) [9] 17:14:22.320 TLS: HTTP 216.58.210.202: [0e4a6687] process_certificate(000c550004d7308204d3308203bba0030201020208764f29b6f3f77aec300d06092a864886f70d01010505003049310b300906035504061302555331133011060355040a130a476f6f676c6520496e63312530230603550403131c476f6f676c6520496e7465726e657420417574686f72697479204732301e170d3135303630333130313132325a170d3135303930313030303030305a306a310b30090603550406130255533113301106035504080c0a43616c69666f726e69613116301406035504070c0d4d6f756e7461696e205669657731133011060355040a0c0a476f6f676c6520496e633119301706035504030c102a2e676f6f676c65617069732e636f6d30820122300d06092a864886f70d01010105000382010f003082010a0282010100a5ac9441c270ae2030ba007e6ec6f66c2701520a6d40dc90f1be6ca991d8ecefdabc75515c10e2935efb0c8bf61cb4ffe9cf46b9b1f7cb9b8a02e46f7247f4801a5291098df8e7a62696b536829efcfbfe036c11b6ab7b90ded1ef25c2ff1a13a08ad00ed86bbce052011483b0478a53704f6facd8aa16f29951b2c9a4a4dbcc1642fdca2850447520d44e3aacf7146db7892c8863e18392599b6f5e3f8050df41033d7da93df009eec8a9472893b87981a778cc01c20f68bbdc0f887a1d7e0264a8d3ee7d9fc8102509fdd394803ed7a7083afb9e910bda44373656fdc9a8ed4f6ee01453a7578b0f851e5a3ba48f5a10d36870d32878e588045f3bf546e1650203010001a382019c30820198301d0603551d250416301406082b0601050507030106082b0601050507030230740603551d11046d306b82102a2e676f6f676c65617069732e636f6d82152a2e636c69656e7473362e676f6f676c652e636f6d82182a2e636c6f7564656e64706f696e7473617069732e636f6d8216636c6f7564656e64706f696e7473617069732e636f6d820e676f6f676c65617069732e636f6d306806082b06010505070101045c305a302b06082b06010505073002861f687474703a2f2f706b692e676f6f676c652e636f6d2f47494147322e637274302b06082b06010505073001861f687474703a2f2f636c69656e7473312e676f6f676c652e636f6d2f6f637370301d0603551d0e041604147a9962e713ed9c12b9a15deb88c82e9e4c438419300c0603551d130101ff04023000301f0603551d230418301680144add06161bbcf668b576f581b6bb621aba5a812f30170603551d200410300e300c060a2b06010401d67902050130300603551d1f042930273025a023a021861f687474703a2f2f706b692e676f6f676c652e636f6d2f47494147322e63726c300d06092a864886f70d0101050500038201010048a2bf25e930d930984e924915265f48ee4e8517d5100216427fe9dfd6c007d2be495117491f9a74dae4cc31346e49aecb755a9ed6702c9e802045d49e705a69dbd7ef68027a52258d272214a22da62afd27e038f7b5ba64cb586b7077187ec079880f45128fb8653fd812490c82d79e7411c6a9519c4a86238b8a555a66706b12e6b455ceeea54b39dd1f03058dc0d8bd202f68351a192fc7ce3840e0ab394ab8f985f86b0310e43dc5fe449c4abfe545503de57fdf4d98e581733e451b8f71a4979a333c86ee474b512d2635bd942e2d5c33ebc5d739d30320b2dababa12ce833fa60f48dc0b6a1ae769783b3d6008f60b3a3916ed3d8d3286bb929f2209b20003f4308203f0308202d8a0030201020203023a76300d06092a864886f70d01010505003042310b300906035504061302555331163014060355040a130d47656f547275737420496e632e311b30190603550403131247656f547275737420476c6f62616c204341301e170d3133303430353135313535355a170d3136313233313233353935395a3049310b300906035504061302555331133011060355040a130a476f6f676c6520496e63312530230603550403131c476f6f676c6520496e7465726e657420417574686f7269747920473230820122300d06092a864886f70d01010105000382010f003082010a02820101009c2a04775cd850913a06a382e0d85048bc893ff119701a88467ee08fc5f189ce21ee5afe610db7324489a0740b534f55a4ce826295eeeb595fc6e1058012c45e943fbc5b4838f453f724e6fb91e915c4cff4530df44afc9f54de7dbea06b6f87c0d0501f28300340da0873516c7fff3a3ca737068ebd4b1104eb7d24dee6f9fc3171fb94d560f32e4aaf42d2cbeac46a1ab2cc53dd154b8b1fc819611fcd9da83e632b8435696584c819c54622f85395bee3804a10c62aecba972011c739991004a0f0617a95258c4e5275e2b6ed08ca14fcce226ab34ecf46039797037ec0b1de7baf4533cfba3e71b7def42525c20d35899d9dfb0e1179891e37c5af8e72690203010001a381e73081e4301f0603551d23041830168014c07a98688d89fbab05640c117daa7d65b8cacc4e301d0603551d0e041604144add06161bbcf668b576f581b6bb621aba5a812f30120603551d130101ff040830060101ff020100300e0603551d0f0101ff04040302010630350603551d1f042e302c302aa028a0268624687474703a2f2f672e73796d63622e636f6d2f63726c732f6774676c6f62616c2e63726c302e06082b0601050507010104223020301e06082b060105050730018612687474703a2f2f672e73796d63642e636f6d30170603551d200410300e300c060a2b06010401d679020501300d06092a864886f70d01010505000382010100278ccfe9c73bbec06fe89684fb9c5c5d90e477db8b32609b65d88526b5ba9f1ede644e1fc6c8205b099faba9e0093445a26525373d7f5a6f20ccf9faf11d8f100c023ac4c9017696be9bf915d839d1c5034776b88a8c31d660d5e48fdbfa3cc6d59828f81c8f179134cbcb527ad1fb3a20e4e186b1d8180fbed687648dc50a254251efb238b8e01dd0e1fce6f4af46baefc0bfc5b405f594750cfea2be02baea865bf935b366f5c58d85a11a23771a19175413609f0be1b49c282af9ae02346d25939c82a8177bf185b0d30f58e1fbb1fe9ca1a3e8fdc93ff4d771dcbd8ca419e021232355138fa41602097eb9afeedb5364bd712fb939ce30b7b4bc54e047070003813082037d308202e6a003020102020312bbe6300d06092a864886f70d0101050500304e310b30090603550406130255533110300e060355040a130745717569666178312d302b060355040b1324457175696661782053656375726520436572746966696361746520417574686f72697479301e170d3032303532313034303030305a170d3138303832313034303030305a3042310b300906035504061302555331163014060355040a130d47656f547275737420496e632e311b30190603550403131247656f547275737420476c6f62616c20434130820122300d06092a864886f70d01010105000382010f003082010a0282010100dacc186330fdf417231a567e5bdf3c6c38e471b77891d4bca1d84cf8a843b603e94d21070888da582f663929bd05788b9d38e805b76a7e71a4e6c460a6b0ef80e489280f9e25d6ed83f3ada691c798c9421835149dad9846922e4fcaf18743c11695572d50ef892d807a57adf2ee5f6bd2008db914f8141535d9c046a37b72c891bfc9552bcdd0973e9c2664ccdfce831971ca4ee6d4d57ba919cd55dec8ecd25e3853e55c4f8c2dfe502336fc66e6cb8ea4391900b7950239910b0efe382ed11d059af64d3e6f0f071daf2c1e8f6039e2fa36531339d45e262bdb3da814bd32eb180328520471e5ab333de138bb073684629c79ea1630f45fc02be8716be4f90203010001a381f03081ed301f0603551d2304183016801448e668f92bd2b295d747d82320104f3398909fd4301d0603551d0e04160414c07a98688d89fbab05640c117daa7d65b8cacc4e300f0603551d130101ff040530030101ff300e0603551d0f0101ff040403020106303a0603551d1f04333031302fa02da02b8629687474703a2f2f63726c2e67656f74727573742e636f6d2f63726c732f73656375726563612e63726c304e0603551d200447304530430604551d2000303b303906082b06010505070201162d68747470733a2f2f7777772e67656f74727573742e636f6d2f7265736f75726365732f7265706f7369746f7279300d06092a864886f70d01010505000381810076e1126e4e4b1612863006b28108cff008c7c7717e66eec2edd43b1ffff0f0c84ed64338b0b9307d18d05583a26acb36119ce84866a36d7fb813d447fe8b5a5c73fcaed91b321938ab973414aa96d2eba31c140849b6bbe591ef8336eb1d566fcadabc736390e47f7b3e22cb3d07ed5f38749ce303504ea1af98ee61f2843f12) [9] 17:14:22.512 TLS: HTTP 216.58.210.202: [0e4a6687] process_server_hello_done() [9] 17:14:22.513 TLS: HTTP 216.58.210.202: [0e4a6687] rsa_n(a5ac9441c270ae2030ba007e6ec6f66c2701520a6d40dc90f1be6ca991d8ecefdabc75515c10e2935efb0c8bf61cb4ffe9cf46b9b1f7cb9b8a02e46f7247f4801a5291098df8e7a62696b536829efcfbfe036c11b6ab7b90ded1ef25c2ff1a13a08ad00ed86bbce052011483b0478a53704f6facd8aa16f29951b2c9a4a4dbcc1642fdca2850447520d44e3aacf7146db7892c8863e18392599b6f5e3f8050df41033d7da93df009eec8a9472893b87981a778cc01c20f68bbdc0f887a1d7e0264a8d3ee7d9fc8102509fdd394803ed7a7083afb9e910bda44373656fdc9a8ed4f6ee01453a7578b0f851e5a3ba48f5a10d36870d32878e588045f3bf546e165) [9] 17:14:22.513 TLS: HTTP 216.58.210.202: [0e4a6687] rsa_e(010001) [9] 17:14:22.513 TLS: HTTP 216.58.210.202: [0e4a6687] Pre Master Secret(030147604595dc6315b5510e8864836094abfa1bf65b0009b7a36f289eb8aaceabf12ef0870a549cbfa5ab47092ea89d) [9] 17:14:22.514 TLS: HTTP 216.58.210.202: [0e4a6687] Block Padded(0002daa2b8d0fdb9d9b55c49ddfa0187c8ad79f69df19cbf964706a076ae3d5051f6204eaff9030b42e1054468cdf1e1c38ee1c3807e8216c588b63b37f48b88eaabd699a5daa4e7bba92b23761c0539abe6fc2b647e412a06f8653decf1c5d69c9c6f4176132931bc54543271596b1c406747a4e588ceeb8034296c25ee42c18ab103c42c31808086b2f1df1d0d1f8454c469dd92555dc67ecaeb6c0cadf7beb0f782dc29035cafb54e8ed35bae57b072c18d0416eacb94b4b6c163f77f13ef01ef18044cc7ba9a558df503e4a57500030147604595dc6315b5510e8864836094abfa1bf65b0009b7a36f289eb8aaceabf12ef0870a549cbfa5ab47092ea89d) [9] 17:14:22.593 TLS: HTTP 216.58.210.202: [0e4a6687] Encrypted Pre Master(327ee84e69b65e1aefe39fbbd431a3af653b737ef7b4356576a777c7f0454f84203ea42451887302d96feb7e20d0d85a7301e7e610709dab0377720202b3b6850b757cae0f020bf29c58235273df368b28ee37aed8aa7a0f1e69a484220f25626e2e639e25fca1b1d80b44a52a1c1899c4a5e053950989a5b9c59f4e4339c430d54fde556f90a6c30b3645a1297696dbe5547604400a3325854f890dd83741da5bf23eeb9d7c310b8bc7288ddc75f42cc15ffa03d57320c1a88e5b0de721dbf364d960b58d6571fc46735f0d46a41d8452b5b85800b779d686192cef36ad2efe588265eb0161a41ce7cce12a7a76bad3553110518dfe66df569798be4d1807e5) [9] 17:14:22.597 TLS: HTTP 216.58.210.202: [0e4a6687] Client Random(397f004e4e7c1e80d9edf9d31375d82f289a874a60e5135ca26671fb498130f3) [9] 17:14:22.597 TLS: HTTP 216.58.210.202: [0e4a6687] Server Random(5580735c25687f51e17ffaee9ef7d4bb081806f356545bd1b077259536bc54ec) [9] 17:14:22.597 TLS: HTTP 216.58.210.202: [0e4a6687] Master Secret(d4790e5de3fbb6b7af732e9ca047c02e9fc3e29678bcc39de9b7efb5808e065afd1aee6446b8b639fac4f6390e4bdf3d) [9] 17:14:22.598 TLS: HTTP 216.58.210.202: [0e4a6687] send_client_key_exchange(0100327ee84e69b65e1aefe39fbbd431a3af653b737ef7b4356576a777c7f0454f84203ea42451887302d96feb7e20d0d85a7301e7e610709dab0377720202b3b6850b757cae0f020bf29c58235273df368b28ee37aed8aa7a0f1e69a484220f25626e2e639e25fca1b1d80b44a52a1c1899c4a5e053950989a5b9c59f4e4339c430d54fde556f90a6c30b3645a1297696dbe5547604400a3325854f890dd83741da5bf23eeb9d7c310b8bc7288ddc75f42cc15ffa03d57320c1a88e5b0de721dbf364d960b58d6571fc46735f0d46a41d8452b5b85800b779d686192cef36ad2efe588265eb0161a41ce7cce12a7a76bad3553110518dfe66df569798be4d1807e5) [9] 17:14:22.598 TLS: HTTP 216.58.210.202: [0e4a6687] send_change_cipher_spec(01) [9] 17:14:22.598 TLS: HTTP 216.58.210.202: [0e4a6687] perform_change_cipher_spec(0005) [9] 17:14:22.604 TLS: HTTP 216.58.210.202: [0e4a6687] Key Block(e24366315b669e8493a2b170506a37870c91c7225e7a848560298d2bdff8c5c995a76e0563e88409891b2f3c667763413e1da6609954c607966e33efed9f4ba14157dc7f667742c8) [9] 17:14:22.604 TLS: HTTP 216.58.210.202: [0e4a6687] Client Write MAC Secret(e24366315b669e8493a2b170506a37870c91c722) [9] 17:14:22.604 TLS: HTTP 216.58.210.202: [0e4a6687] Server Write MAC Secret(5e7a848560298d2bdff8c5c995a76e0563e88409) [9] 17:14:22.605 TLS: HTTP 216.58.210.202: [0e4a6687] Client Write Key(891b2f3c667763413e1da6609954c607) [9] 17:14:22.605 TLS: HTTP 216.58.210.202: [0e4a6687] Server Write Key(966e33efed9f4ba14157dc7f667742c8) [9] 17:14:22.608 TLS: HTTP 216.58.210.202: [0e4a6687] send_finished(47f03e552eb22e12f457f87d) [9] 17:14:22.636 TLS: HTTP 216.58.210.202: [0e4a6687] process_change_cipher_spec(01) [9] 17:14:22.637 TLS: HTTP 216.58.210.202: [0e4a6687] process_finished(3944e060945494972f8bde41) [9] 17:14:22.724 WEBC: Received 481 bytes HTTP/1.1 400 Bad Request
Vary: X-Origin
Content-Type: text/xml; charset=UTF-8
Date: Tue, 16 Jun 2015 19:05:00 GMT
Expires: Tue, 16 Jun 2015 19:05:00 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Server: GSE
Alternate-Protocol: 443:quic,p=1
Accept-Ranges: none
Vary: Origin,Accept-Encoding
Transfer-Encoding: chunked

[7] 17:14:22.725 WEBC: https:www.googleapis.com:443: Return code 400 [9] 17:14:22.725 WEBC: Carddav: new sync token response: code=400 [5] 17:14:22.725 WEBC: Carddav: Failed to get new sync token. Error code = 400 [7] 17:14:33.492 WEBC: Closing connection https:www.googleapis.com:443

Share this post


Link to post
Share on other sites

I sent you an email regarding your test account. I tested it on the test account you provided and as you can see in the contacts list, the test contacts were successfully downloaded. I don't see why it would work on my test account and not yours, especially when it is done on your pbx with the test account which you set up.

Share this post


Link to post
Share on other sites

Is possible that 500 directory was too much? Or +39 numbers generate some error on ldap database?

Share this post


Link to post
Share on other sites

the numbers that start whit +39 ( my country code ) are not accepted or the number disappear , I think that all numbers that have special character have problem ... I suggest to change query that pbx use to import numbers , for vodia engineer ...

Share this post


Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...