[ubuntu-mono] [Bug 633355] Re: Tomboy does not handle denied authorization from Ubuntu SSO

Michael Vogt michael.vogt at ubuntu.com
Mon Jan 17 12:39:19 UTC 2011


The backtrace from the from tomboy --debug

[DEBUG 13:17:18.697] Saving 'btfs-apt'...
[DEBUG 13:17:21.217] SyncThread using SyncServiceAddin: Ubuntu One
[DEBUG 13:17:21.226] Building web request for URL: https://edge.one.ubuntu.com/notes//api/1.0/
[DEBUG 13:17:21.946] Building web request for URL: https://edge.one.ubuntu.com/notes/api/1.0/user/
[ERROR 13:17:22.026] Caught exception. Message: The remote server returned an error: (404) NOT FOUND.
[ERROR 13:17:22.031] Stack trace for previous exception:   at System.Net.HttpWebRequest.CheckFinalStatus (System.Net.WebAsyncResult result) [0x00000] in <filename unknown>:0 
  at System.Net.HttpWebRequest.SetResponseData (System.Net.WebConnectionData data) [0x00000] in <filename unknown>:0 
[ERROR 13:17:22.033] Rest of stack trace for above exception:    at System.Environment.get_StackTrace()
   at Tomboy.WebSync.Api.OAuth.MakeWebRequest(RequestMethod method, System.String url, System.Collections.Generic.List`1 parameters, System.String postData)
   at Tomboy.WebSync.Api.OAuth.WebRequest(RequestMethod method, System.String url, System.String postData)
   at Tomboy.WebSync.Api.OAuth.Get(System.String uri, IDictionary`2 queryParameters)
   at Tomboy.WebSync.Api.UserInfo.GetUser(System.String userUri, IWebConnection connection)
   at Tomboy.WebSync.WebSyncServer.BeginSyncTransaction()
   at Tomboy.Sync.SyncManager.SynchronizationThread()
[ERROR 13:17:22.034] Synchronization failed with the following exception: The remote server returned an error: (404) NOT FOUND.
  at System.Net.HttpWebRequest.CheckFinalStatus (System.Net.WebAsyncResult result) [0x00000] in <filename unknown>:0 
  at System.Net.HttpWebRequest.SetResponseData (System.Net.WebConnectionData data) [0x00000] in <filename unknown>:0 

This makes me wonder why its using 404 instead of 401 on auth failure
too.

-- 
You received this bug notification because you are a member of Ubuntu
CLI/Mono Uploaders, which is subscribed to tomboy in ubuntu.
https://bugs.launchpad.net/bugs/633355

Title:
  Tomboy does not handle denied authorization from Ubuntu SSO

Status in “tomboy” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: tomboy

  STR:

  1. Make sure there are no Ubuntu One tokens in gnome-keyring
  2. Open Preferences, Navigate to Synchronization tab
  3. Select Ubuntu One then "Register this Computer"
  4. Ubuntu SSO login screen opens, Cancel the login.
  5. Observe the results

  Actual results:
  Register this computer is disabled, Save button is clickable.
  ** (Tomboy:4530): DEBUG: Authorization denied is printed to the terminal

  Expected results:
  Save button is not active, "Register this computer" is enabled.





More information about the Ubuntu-mono mailing list