Tomboy cannot connect to UbuntuOne

Bug #425283 reported by Jerry Chong
40
This bug affects 6 people
Affects Status Importance Assigned to Milestone
tomboy (Ubuntu)
Fix Released
Undecided
Rodrigo Moya

Bug Description

Binary package hint: tomboy

Might be related to bug #416865.

In Tomboy 0.15.6-0ubuntu2 the default web sync server is set to https://ubuntuone.com/notes/. When clicking the connect button, the text changes to 'Cannot connect'. The following stacktrace is shown in the console if --debug is used.

[ERROR]: Failed to get auth URL from https://ubuntuone.com/notes/. Exception was: System.UriFormatException: Absolute URI is too short
  at System.Uri.Parse (UriKind kind, System.String uriString) [0x00000]
  at System.Uri.ParseUri (UriKind kind) [0x00000]
  at System.Uri..ctor (System.String uriString, Boolean dontEscape) [0x00000]
  at System.Uri..ctor (System.String uriString) [0x00000]
  at Tomboy.WebSync.Api.OAuth.WebRequest (RequestMethod method, System.String url, System.String postData) [0x00000]
  at Tomboy.WebSync.Api.OAuth.Post (System.String uri, IDictionary`2 queryParameters, System.String postValue) [0x00000]
  at Tomboy.WebSync.Api.OAuth.GetAuthorizationUrl () [0x00000]
  at Tomboy.WebSync.WebSyncPreferencesWidget.OnAuthButtonClicked (System.Object sender, System.EventArgs args) [0x00000]

Ignoring the error and clicking Save shows another error popup, suggesting to check .tomboy.log, but apparently nothing is add to that logfile.

arky (arky)
summary: - [karmic] Tomboy cannot connect to UbuntuOne
+ Tomboy cannot connect to UbuntuOne
Revision history for this message
David Iwanowitsch (dav.id) wrote :

I can confirm this with updated karmic

Changed in tomboy (Ubuntu):
status: New → Confirmed
Revision history for this message
Jerry Chong (zanglang) wrote :

For 0.15.7-0ubuntu1, the new URL https://one.ubuntu.com/notes/ still does not work. Clicking the button for the first time produces the same error, and clicking a second time produces this new stacktrace:

[DEBUG]: Building web request for URL: https://one.ubuntu.com/oauth/request/
[ERROR]: Caught exception. Message: The remote server returned an error: (400) BAD REQUEST.
[ERROR]: Stack trace for previous exception: at System.Net.HttpWebRequest.CheckFinalStatus (System.Net.WebAsyncResult result) [0x00000]
  at System.Net.HttpWebRequest.SetResponseData (System.Net.WebConnectionData data) [0x00000]
[ERROR]: Failed to get auth URL from https://one.ubuntu.com/notes/. Exception was: System.Net.WebException: The remote server returned an error: (400) BAD REQUEST.
  at System.Net.HttpWebRequest.CheckFinalStatus (System.Net.WebAsyncResult result) [0x00000]
  at System.Net.HttpWebRequest.SetResponseData (System.Net.WebConnectionData data) [0x00000]

Revision history for this message
Sandy Armstrong (sanfordarmstrong) wrote :

I can confirm that upstream 0.15.7 has the same error as in comment #2. Today is hard code freeze for GNOME, so it would be great if we could figure out if this is a U1 issue (which I think it is since it works fine with Snowy) or something in Tomboy that needs to be fixed.

Changed in tomboy (Ubuntu):
assignee: nobody → Rodrigo Moya (rodrigo-moya)
Revision history for this message
Rodrigo Moya (rodrigo-moya) wrote :

Fixes for this (and other things) are now committed, just waiting to be deployed to the production server

Changed in tomboy (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
ASDFASDF (user-487-deactivatedaccount) wrote :

The update landed and this bug is now fixed so I'm marking it accordingly.

Changed in tomboy (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.