← Back to team overview

desktop-packages team mailing list archive

[Bug 1399953] Re: Google contacts authentication problem with U-O-A (Trusty, Vivid - Unity7)

 

@Alberto

I recreated my google account (on Trusty) from online accounts. Even
though it, now, works with Evolution, it still fails with Syncevolution.


For example, running 

SYNCEVOLUTION_DEBUG=1 syncevolution --print-databases --daemon=no
loglevel=2 backend=carddav username=uoa:3,google-contacts
syncURL=https://www.googleapis.com/.well-known/carddav

command gives following error:

.....
[DEBUG 00:00:00] got new OAuth2 token 'ya29.JAEq2bKxAfDFCPt7SuT78O3h7NHylDFRMbtngLG99LlSOMK1khbT7_yX' for next request
[DEBUG 00:00:00] using OAuth2 token 'ya29.JAEq2bKxAfDFCPt7SuT78O3h7NHylDFRMbtngLG99LlSOMK1khbT7_yX' to authenticate
[DEBUG 00:00:01] PROPFIND: Neon error code 1: 403 Forbidden, must not retry
[DEBUG 00:00:01] exception thrown at src/backends/webdav/NeonCXX.cpp:789
[DEBUG 00:00:01] error code from SyncEvolution access denied (remote, status 403): PROPFIND: Neon error code 1: 403 Forbidden
[DEBUG 00:00:01] read relevant properties of https://www.googleapis.com:443/.well-known/carddav
[DEBUG 00:00:01] starting PROPFIND, credentials unverified, deadline in 298.5s
[DEBUG 00:00:01] using OAuth2 token 'ya29.JAEq2bKxAfDFCPt7SuT78O3h7NHylDFRMbtngLG99LlSOMK1khbT7_yX' to authenticate
[DEBUG 00:00:01] PROPFIND: Neon error code 1: 403 Forbidden, must not retry
[DEBUG 00:00:01] TransportStatusException: PROPFIND: Neon error code 1: 403 Forbidden
......

Any idea why?


Note: However it does NOT occur with calendar(caldav).

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to evolution-data-server in Ubuntu.
https://bugs.launchpad.net/bugs/1399953

Title:
  Google contacts authentication problem with U-O-A (Trusty,Vivid -
  Unity7)

Status in account-plugins package in Ubuntu:
  Invalid
Status in evolution-data-server package in Ubuntu:
  Incomplete

Bug description:
  I simply can not access Google-Contacts with Ubuntu Online Accounts.
  After I enabled EDS contacts, If I open evolution & click on the
  address-book list, it shows following error:

  "GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._e_2dclient_2derror_2dquark.Code5:
  Authentication required".

  I tried to revoke access for UOA from google accounts, & re-authorize
  it. But it did not help. However google-calendar integration is
  working fine. And if log into gnome-shell & add my Google account in
  Gnome-Online-Accounts(G-O-A), contacts works as well. The problem only
  appearing for google-contacts in UOA. And I couldn't find anything
  significant in syslog.

  I have multiple google accounts enabled in UOA.

  Here is some more information:

  khurshid@mypc:~$ ag-tool list-enabled 11
  ----------------------------------------------------------------------
  Type                               Service Name
  ----                               ------------
  IM                                 google-im
  contacts                      google-contacts
  documents                  google-drive

  khurshid@mypc:~$ account-console show 11 | grep Cred
  --------------------------------------------------------------------------------------
  CredentialsId: 14 (<class 'int'>)

  khurshid@mypc:~$ strings ~/.cache/signon-ui/cookies/14.jar
  ---------------------------------------------------------------------------------------
  <GALX=IZLpIn1Fakc; secure; domain=accounts.google.com; path=/
  GAPS=1:9VjmZnLpxD0TzDbRqMElmGKRyLMg:qrKFg6yRv_4g6hT; secure; HttpOnly; expires=Tue, 29-Nov-2016 13:35:15 GMT; domain=accounts.google.com; path=/
  NID=67=goKtbf0sx5dy_HuXXCG5EEfPfrTKyL_7iIDBf5aNjaA843PF1lAu3pbDjY5jvH5s-FcY81k_a-0gQpI7RymkAq_apdelo_lpkPrnVW_q7N6h8_a59sN3iNKhGJ5G_dsgYf56FT; HttpOnly; expires=Mon, 01-Jun-2015 13:35:15 GMT; domain=.google.com; path=/
  SID=DQAAAPEAAACXK66HAgH7SV83LSOjKN_ZQPiR7qCeL7Yk9p98HlYTGNET_CH2lTTWvj2jPhQasPf78TcT0cc_lRNO7wU-TuXQl2JPj28PJXaxxbX1NZBYrt-qdhtTwrRk2qiewRN1QPH2AuYtaJTsbX5PNsy-o-uxiFGCTD5u0QTYOTdGvCu1UD9lZs5fUdtLbq; expires=Tue, 29-Nov-2016 13:35:15 GMT; domain=.google.com; path=/
  LSID=lso|s.IN:DQAAAPAAAMxO_ttZTWoynoEsoHEt_zDEgk7pXkbqdQ9bnogq4HcnCNOAM8nxRsnqBWLmTF5AkgWc0XY-qjU_SI_K9JX_pBpaIAtq0o1hBZD0sbQB_Lw81Twwqewnj4J68K3aS0OcVnEm_S0G_MBtzbV-T26lcxwHGheh8mhtUpIDdUnvpjdFbQTe-fLwd4UsTku7s; secure; HttpOnly; expires=Tue, 29-Nov-2016 13:35:15 GMT; domain=accounts.google.com; path=/
  cHSID=AYLDuiTZv-sSOmfy; HttpOnly; expires=Tue, 29-Nov-2016 13:35:15 GMT; domain=.google.com; path=/
  kSSID=AqfiEDXUGfWBBl9; secure; HttpOnly; expires=Tue, 29-Nov-2016 13:35:15 GMT; domain=.google.com; path=/
  lAPISID=Q0uvxSM2ZHgNs8L4/AR76LUN_S_xqCq2; expires=Tue, 29-Nov-2016 13:35:15 GMT; domain=.google.com; path=/
  uSAPISID=bcf2oH6xaV8r1-/AIol-KZlQU551Z0uT; secure; expires=Tue, 29-Nov-2016 13:35:15 GMT; domain=.google.com; path=/
  ACCOUNT_CHOOSER=AFx_qI6UxIzXMxLi2j9QUAAymv8WTOJR; secure; HttpOnly; expires=Tue, 29-Nov-2016 13:35:15 GMT; domain=accounts.google.com; path=/
  NID=67=I2DxXlt4TwixPqUzJOOKAUifcVobnGLasEaA31uwxPwfORegpkxpdcdUK-upq-8V2ZB5FDFGJEb3K4T5rZVyI7cBN2ZpGZwLQrwBLggtz1KBJTK_eA; HttpOnly; expires=Mon, 01-Jun-2015 13:35:18 GMT; domain=.google.co.in; path=/
  SID=DQAAAPAAAACXK66HAgH7SV83MLSOjKN_ZQPiR7qCeL7Yk9p98HYTGNET_CH2lTTWvj2jPhQasPf78TcT0cc_lRNOGRjTjTmV2maEhHLzTqJFQ-TMDyKueBLR_-4fcC2gUW-0lALMCuGaaTY0DX7wU-TuXQl2JPj28PJXaxxbX1NZBYrt-qdhtTwrRk2qieuSYguA2bKAdnvxtmKfD9ElQoSc; expires=Tue, 29-Nov-2016 13:35:18 GMT; domain=.google.co.in; path=/
  eHSID=Au4nSmb8XraQ99XrQ; HttpOnly; expires=Tue, 29-Nov-2016 13:35:18 GMT; domain=.google.co.in; path=/
  mSSID=ACnCCS4X8GYIqpMrF; secure; HttpOnly; expires=Tue, 29-Nov-2016 13:35:18 GMT; domain=.google.co.in; path=/
  nAPISID=Q0uvxSM2ZHgNs4/AR76LUN_S_XVxqCq2; expires=Tue, 29-Nov-2016 13:35:18 GMT; domain=.google.co.in; path=/
  wSAPISID=bcf2oH6YWx8r1-/AIol-KZlQU551Z0uT; secure; expires=Tue, 29-Nov-2016 13:35:18 GMT; domain=.google.co.in; path=/
  LSOSID=DQAAAPnyGDiPN1Xi8giBFN-FOwwjVkTtCvqAaxuOg4mLjKW1k_NqKdZh; secure; HttpOnly; expires=Tue, 29-Nov-2016 13:35:19 GMT; domain=accounts.google.com; path=/o

  version:
  --------------------------------------------------------------------
  libaccount-plugin-google: 0.11+14.04.20140409.1-0ubuntu1
  evolution-data-server: 3.10.4-0ubuntu1.5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/account-plugins/+bug/1399953/+subscriptions


References