** Description changed:

  Currently due to server-side bug LP:660510 users cannot subscribe 
successfully to Ubuntu One service using Ubuntu SSO Client.
  The client sends ping to Ubuntu One servers but server replies with 500 
Internal Server Error. Then Ubuntu SSO Client quits leaving the user 1 on 1 
with non-working Preferences and AUTH_FAILED in SyncDaemon next time he/she 
starts ubuntuone-preferences and attempts to connect.
  
  I believe in case the service requires pinging, the client should notify
  the user if there had been any problems during account creation and
  point to the web site of the service (where it is possible that
  notification can be found).
  
  The tokens retrieved are valid from Ubuntu SSO POV but for Ubuntu One
  these tokens do not exist since there is no such user with the email
  specified.
+ 
+ TEST CASE:
+ 
+ To test, run in this branch the following:
+ 
+ * remove your Ubuntu One token from the keyring.
+ 
+ * run the dbus daemon with exactly this command (using the SSO staging
+ service will make the ping fail):
+ 
+ killall ubuntu-sso-login; DEBUG=True PYTHONPATH=.
+ USSOC_SERVICE_URL="https://login.staging.ubuntu.com/api/1.0"; ./bin
+ /ubuntu-sso-login
+ 
+ * In d-feet, execute the method 'register' in the com.ubuntu.sso bus name, 
object path /credentials, interface name ApplicationCredentials.
+ Parameters must be something like:
+ 
+ 'Ubuntu One', '', '', 0
+ 
+ * Register a valid email address (you'll need to access the verification
+ code). After you enter the verification code and the success page is
+ shown, check the console where you're running the daemon, you'll see
+ something like:
+ 
+ _ping_url (app_name: Ubuntu Two): Problem opening the ping_url.
+ Traceback (most recent call last):
+ ...
+ HTTPError: HTTP Error 403: FORBIDDEN
+ _ping_url (app_name: Ubuntu Two): Calling error_cb at <bound method 
Credentials.error_cb of <ubuntu_sso.credentials.Credentials object at 
0x1e38e50>>.
+ 
+ Behavior expected:
+ 
+  - The token for 'Ubuntu One' is not stored in the keyring since the
+ ping failed.

-- 
Ubuntu SSO Client does not notify of failed Ubuntu One ping attempt / 
invalidate token
https://bugs.launchpad.net/bugs/660516
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to