Internal server error when syncing notes

Bug #554313 reported by rdoolen
64
This bug affects 12 people
Affects Status Importance Assigned to Milestone
Ubuntu One Servers
Confirmed
Undecided
Unassigned

Bug Description

When syncing tomboy notes, I get the error "Could not syncronize notes. Check details below and try again." Th details suction is empty. No notes are synced. This issue has been ongoing for weeks and on two computers. I have tried restarting couchdb, clear the tomboy sync configuration and re-adding the computer. I have purged and reinstalled ubuntuone and couchdb (and anything I can find with either of those words in the description) I cleared my local notes and tried to sync. All with the same results. I suspect an issue on the server. I would like to clear the notes on the server, but don't know how. (The FAQ descrbes a way, but that didn't work, because I can't sync) File syncing and evolution contact syncing both work fine.

OS:Ubuntu9.10 (64 and 32 bit)
ubuntuone client: 1.0.3-0ubuntu1

If I run tomboy --debug I get this output:

 tomboy --debug
** Running Mono with --debug **

(/usr/lib/tomboy/Tomboy.exe:14081): GLib-WARNING **: g_set_prgname() called multiple times
Xlib: extension "Generic Event Extension" missing on display ":1095.0".
Xlib: extension "Generic Event Extension" missing on display ":1095.0".
Xlib: extension "Generic Event Extension" missing on display ":1095.0".
Xlib: extension "Generic Event Extension" missing on display ":1095.0".
Xlib: extension "Generic Event Extension" missing on display ":1095.0".

(/usr/lib/tomboy/Tomboy.exe:14081): GLib-WARNING **: g_set_prgname() called multiple times
[DEBUG]: NoteManager created with note path "/home/rdoolen/.local/share/tomboy".
[INFO]: Initializing Mono.Addins
[DEBUG]: AddinManager.OnAddinLoaded: Tomboy.Tomboy
[DEBUG]: Name: Tomboy.Tomboy,0.10
[DEBUG]: Description:
[DEBUG]: Namespace: Tomboy
[DEBUG]: Enabled: True
[DEBUG]: File: /usr/lib/tomboy/Tomboy.exe
[DEBUG]: AddinManager.OnAddinLoaded: Tomboy.WebSyncServiceAddin
[DEBUG]: Name: Web Sync Service Add-in
[DEBUG]: Description: Synchronize Tomboy Notes with Tomboy Online and other compatible web services
[DEBUG]: Namespace: Tomboy
[DEBUG]: Enabled: True
[DEBUG]: File: /usr/lib/tomboy/addins/WebSyncServiceAddin.dll
[DEBUG]: AddinManager.OnAddinLoaded: Tomboy.WebDavSyncServiceAddin
[DEBUG]: Name: WebDav Sync Service Add-in
[DEBUG]: Description: Synchronize Tomboy Notes to a WebDav URL
[DEBUG]: Namespace: Tomboy
[DEBUG]: Enabled: True
[DEBUG]: File: /usr/lib/tomboy/addins/WebDavSyncService.dll
[DEBUG]: AddinManager.OnAddinLoaded: Tomboy.FileSystemSyncServiceAddin
[DEBUG]: Name: Local Directory Sync Service Add-in
[DEBUG]: Description: Synchronize Tomboy Notes to a local file system path
[DEBUG]: Namespace: Tomboy
[DEBUG]: Enabled: True
[DEBUG]: File: /usr/lib/tomboy/addins/FileSystemSyncService.dll
[DEBUG]: Unable to locate 'gnomesu' in your PATH
[DEBUG]: Using '/usr/bin/gksu' as GUI 'su' tool
[DEBUG]: Successfully found all system tools
[DEBUG]: Unable to locate 'wdfs' in your PATH
[DEBUG]: Tomboy remote control active.
[DEBUG]: EnableDisable Called: enabling... True
[DEBUG]: Binding key '<Alt>F12' for '/apps/tomboy/global_keybindings/show_note_menu'
[DEBUG]: Binding key '<Alt>F11' for '/apps/tomboy/global_keybindings/open_start_here'
[DEBUG]: SyncThread using SyncServiceAddin: Tomboy Web
[DEBUG]: Generating nonce.
[DEBUG]: Generating time stamp.
[DEBUG]: Building web request for URL: https://one.ubuntu.com/notes//api/1.0/
[DEBUG]: Generated nonce is 1608499
[DEBUG]: Generated time stamp is 14701.23:25:21.5456770
[DEBUG]: Generating signature using HMAC-SHA1 algorithm.
[DEBUG]: Generating signature using signature type HMACSHA1
[DEBUG]: Generating signature base for OAuth request.
[DEBUG]: URL:
[DEBUG]: Creating list of parameters from parameter string
[DEBUG]: Normalizing URL for signature.
[DEBUG]: Generated normalized URL: https://one.ubuntu.com/notes/api/1.0/
[DEBUG]: Normalizing request parameters.
[DEBUG]: Normalized request parameters oauth_consumer_key=anyone&oauth_nonce=1608499&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1270250721&oauth_token=rgG50Zk1Z3LvdlkwCj18&oauth_version=1.0.
[DEBUG]: Generating signature base from normalized URL and request parameters.
[DEBUG]: URL encoding value.
[DEBUG]: URL encoding value.
[DEBUG]: Signature base: GET&https%3A%2F%2Fone.ubuntu.com%2Fnotes%2Fapi%2F1.0%2F&oauth_consumer_key%3Danyone%26oauth_nonce%3D1608499%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1270250721%26oauth_token%3DrgG50Zk1Z3LvdlkwCj18%26oauth_version%3D1.0
[DEBUG]: URL encoding value.
[DEBUG]: URL encoding value.
[DEBUG]: Generating hashed signature.
[DEBUG]: Computing hash for data GET&https%3A%2F%2Fone.ubuntu.com%2Fnotes%2Fapi%2F1.0%2F&oauth_consumer_key%3Danyone%26oauth_nonce%3D1608499%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1270250721%26oauth_token%3DrgG50Zk1Z3LvdlkwCj18%26oauth_version%3D1.0
[DEBUG]: HMAC-SHA1 encoded signature XO6NTgP2ko7oZeAyvWF7oyeJloE= of consumer secret and token secret.
[DEBUG]: Generated signature XO6NTgP2ko7oZeAyvWF7oyeJloE=
[DEBUG]: Post data:
[DEBUG]: Generated auth header params string: oauth_consumer_key="anyone",oauth_nonce="1608499",oauth_signature="XO6NTgP2ko7oZeAyvWF7oyeJloE%3d",oauth_signature_method="HMAC-SHA1",oauth_timestamp="1270250721",oauth_token="rgG50Zk1Z3LvdlkwCj18",oauth_version="1.0"
[DEBUG]: Made web request, got response: {"oauth_access_token_url": "https://one.ubuntu.com/oauth/access/", "user-ref": {"href": "https://one.ubuntu.com/notes/", "api-ref": "https://one.ubuntu.com/notes/api/1.0/user/"}, "oauth_authorize_url": "https://one.ubuntu.com/oauth/authorize/", "oauth_request_token_url": "https://one.ubuntu.com/oauth/request/", "api-version": "1.0"}
[DEBUG]: Returned value from web request: {"oauth_access_token_url": "https://one.ubuntu.com/oauth/access/", "user-ref": {"href": "https://one.ubuntu.com/notes/", "api-ref": "https://one.ubuntu.com/notes/api/1.0/user/"}, "oauth_authorize_url": "https://one.ubuntu.com/oauth/authorize/", "oauth_request_token_url": "https://one.ubuntu.com/oauth/request/", "api-version": "1.0"}
[DEBUG]: Generating nonce.
[DEBUG]: Generating time stamp.
[DEBUG]: Building web request for URL: https://one.ubuntu.com/notes/api/1.0/user/
[DEBUG]: Generated nonce is 8378117
[DEBUG]: Generated time stamp is 14701.23:25:22.8892350
[DEBUG]: Generating signature using HMAC-SHA1 algorithm.
[DEBUG]: Generating signature using signature type HMACSHA1
[DEBUG]: Generating signature base for OAuth request.
[DEBUG]: URL:
[DEBUG]: Creating list of parameters from parameter string
[DEBUG]: Normalizing URL for signature.
[DEBUG]: Generated normalized URL: https://one.ubuntu.com/notes/api/1.0/user/
[DEBUG]: Normalizing request parameters.
[DEBUG]: Normalized request parameters oauth_consumer_key=anyone&oauth_nonce=8378117&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1270250722&oauth_token=rgG50Zk1Z3LvdlkwCj18&oauth_version=1.0.
[DEBUG]: Generating signature base from normalized URL and request parameters.
[DEBUG]: URL encoding value.
[DEBUG]: URL encoding value.
[DEBUG]: Signature base: GET&https%3A%2F%2Fone.ubuntu.com%2Fnotes%2Fapi%2F1.0%2Fuser%2F&oauth_consumer_key%3Danyone%26oauth_nonce%3D8378117%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1270250722%26oauth_token%3DrgG50Zk1Z3LvdlkwCj18%26oauth_version%3D1.0
[DEBUG]: URL encoding value.
[DEBUG]: URL encoding value.
[DEBUG]: Generating hashed signature.
[DEBUG]: Computing hash for data GET&https%3A%2F%2Fone.ubuntu.com%2Fnotes%2Fapi%2F1.0%2Fuser%2F&oauth_consumer_key%3Danyone%26oauth_nonce%3D8378117%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1270250722%26oauth_token%3DrgG50Zk1Z3LvdlkwCj18%26oauth_version%3D1.0
[DEBUG]: HMAC-SHA1 encoded signature nRwUdioYKX2WGXRXYGuO1KYhlCU= of consumer secret and token secret.
[DEBUG]: Generated signature nRwUdioYKX2WGXRXYGuO1KYhlCU=
[DEBUG]: Post data:
[DEBUG]: Generated auth header params string: oauth_consumer_key="anyone",oauth_nonce="8378117",oauth_signature="nRwUdioYKX2WGXRXYGuO1KYhlCU%3d",oauth_signature_method="HMAC-SHA1",oauth_timestamp="1270250722",oauth_token="rgG50Zk1Z3LvdlkwCj18",oauth_version="1.0"
[ERROR]: Caught exception. Message: The remote server returned an error: (500) INTERNAL SERVER ERROR.
[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]: Synchronization failed with the following exception: The remote server returned an error: (500) INTERNAL SERVER ERROR.
  at System.Net.HttpWebRequest.CheckFinalStatus (System.Net.WebAsyncResult result) [0x00000]
  at System.Net.HttpWebRequest.SetResponseData (System.Net.WebConnectionData data) [0x00000]

(/usr/lib/tomboy/Tomboy.exe:14081): GLib-CRITICAL **: g_source_remove: assertion `tag > 0' failed
[DEBUG]: SyncThread using SyncServiceAddin: Tomboy Web
[DEBUG]: Generating nonce.
[DEBUG]: Generating time stamp.
[DEBUG]: Building web request for URL: https://one.ubuntu.com/notes//api/1.0/
[DEBUG]: Generated nonce is 9440919
[DEBUG]: Generated time stamp is 14701.23:30:30.9224000
[DEBUG]: Generating signature using HMAC-SHA1 algorithm.
[DEBUG]: Generating signature using signature type HMACSHA1
[DEBUG]: Generating signature base for OAuth request.
[DEBUG]: URL:
[DEBUG]: Creating list of parameters from parameter string
[DEBUG]: Normalizing URL for signature.
[DEBUG]: Generated normalized URL: https://one.ubuntu.com/notes/api/1.0/
[DEBUG]: Normalizing request parameters.
[DEBUG]: Normalized request parameters oauth_consumer_key=anyone&oauth_nonce=9440919&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1270251030&oauth_token=rgG50Zk1Z3LvdlkwCj18&oauth_version=1.0.
[DEBUG]: Generating signature base from normalized URL and request parameters.
[DEBUG]: URL encoding value.
[DEBUG]: URL encoding value.
[DEBUG]: Signature base: GET&https%3A%2F%2Fone.ubuntu.com%2Fnotes%2Fapi%2F1.0%2F&oauth_consumer_key%3Danyone%26oauth_nonce%3D9440919%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1270251030%26oauth_token%3DrgG50Zk1Z3LvdlkwCj18%26oauth_version%3D1.0
[DEBUG]: URL encoding value.
[DEBUG]: URL encoding value.
[DEBUG]: Generating hashed signature.
[DEBUG]: Computing hash for data GET&https%3A%2F%2Fone.ubuntu.com%2Fnotes%2Fapi%2F1.0%2F&oauth_consumer_key%3Danyone%26oauth_nonce%3D9440919%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1270251030%26oauth_token%3DrgG50Zk1Z3LvdlkwCj18%26oauth_version%3D1.0
[DEBUG]: HMAC-SHA1 encoded signature G+fpT2pJYSjIjahZLTJuMMNOmkI= of consumer secret and token secret.
[DEBUG]: Generated signature G+fpT2pJYSjIjahZLTJuMMNOmkI=
[DEBUG]: Post data:
[DEBUG]: Generated auth header params string: oauth_consumer_key="anyone",oauth_nonce="9440919",oauth_signature="G%2bfpT2pJYSjIjahZLTJuMMNOmkI%3d",oauth_signature_method="HMAC-SHA1",oauth_timestamp="1270251030",oauth_token="rgG50Zk1Z3LvdlkwCj18",oauth_version="1.0"
[DEBUG]: Made web request, got response: {"oauth_access_token_url": "https://one.ubuntu.com/oauth/access/", "user-ref": {"href": "https://one.ubuntu.com/notes/", "api-ref": "https://one.ubuntu.com/notes/api/1.0/user/"}, "oauth_authorize_url": "https://one.ubuntu.com/oauth/authorize/", "oauth_request_token_url": "https://one.ubuntu.com/oauth/request/", "api-version": "1.0"}
[DEBUG]: Returned value from web request: {"oauth_access_token_url": "https://one.ubuntu.com/oauth/access/", "user-ref": {"href": "https://one.ubuntu.com/notes/", "api-ref": "https://one.ubuntu.com/notes/api/1.0/user/"}, "oauth_authorize_url": "https://one.ubuntu.com/oauth/authorize/", "oauth_request_token_url": "https://one.ubuntu.com/oauth/request/", "api-version": "1.0"}
[DEBUG]: Generating nonce.
[DEBUG]: Generating time stamp.
[DEBUG]: Building web request for URL: https://one.ubuntu.com/notes/api/1.0/user/
[DEBUG]: Generated nonce is 7144902
[DEBUG]: Generated time stamp is 14701.23:30:31.6715180
[DEBUG]: Generating signature using HMAC-SHA1 algorithm.
[DEBUG]: Generating signature using signature type HMACSHA1
[DEBUG]: Generating signature base for OAuth request.
[DEBUG]: URL:
[DEBUG]: Creating list of parameters from parameter string
[DEBUG]: Normalizing URL for signature.
[DEBUG]: Generated normalized URL: https://one.ubuntu.com/notes/api/1.0/user/
[DEBUG]: Normalizing request parameters.
[DEBUG]: Normalized request parameters oauth_consumer_key=anyone&oauth_nonce=7144902&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1270251031&oauth_token=rgG50Zk1Z3LvdlkwCj18&oauth_version=1.0.
[DEBUG]: Generating signature base from normalized URL and request parameters.
[DEBUG]: URL encoding value.
[DEBUG]: URL encoding value.
[DEBUG]: Signature base: GET&https%3A%2F%2Fone.ubuntu.com%2Fnotes%2Fapi%2F1.0%2Fuser%2F&oauth_consumer_key%3Danyone%26oauth_nonce%3D7144902%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1270251031%26oauth_token%3DrgG50Zk1Z3LvdlkwCj18%26oauth_version%3D1.0
[DEBUG]: URL encoding value.
[DEBUG]: URL encoding value.
[DEBUG]: Generating hashed signature.
[DEBUG]: Computing hash for data GET&https%3A%2F%2Fone.ubuntu.com%2Fnotes%2Fapi%2F1.0%2Fuser%2F&oauth_consumer_key%3Danyone%26oauth_nonce%3D7144902%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1270251031%26oauth_token%3DrgG50Zk1Z3LvdlkwCj18%26oauth_version%3D1.0
[DEBUG]: HMAC-SHA1 encoded signature 5x1W33XKgUg2gtCl23vhDiRVV/g= of consumer secret and token secret.
[DEBUG]: Generated signature 5x1W33XKgUg2gtCl23vhDiRVV/g=
[DEBUG]: Post data:
[DEBUG]: Generated auth header params string: oauth_consumer_key="anyone",oauth_nonce="7144902",oauth_signature="5x1W33XKgUg2gtCl23vhDiRVV%2fg%3d",oauth_signature_method="HMAC-SHA1",oauth_timestamp="1270251031",oauth_token="rgG50Zk1Z3LvdlkwCj18",oauth_version="1.0"
[ERROR]: Caught exception. Message: The remote server returned an error: (500) INTERNAL SERVER ERROR.
[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]: Synchronization failed with the following exception: The remote server returned an error: (500) INTERNAL SERVER ERROR.
  at System.Net.HttpWebRequest.CheckFinalStatus (System.Net.WebAsyncResult result) [0x00000]
  at System.Net.HttpWebRequest.SetResponseData (System.Net.WebConnectionData data) [0x00000]

(/usr/lib/tomboy/Tomboy.exe:14081): GLib-CRITICAL **: g_source_remove: assertion `tag > 0' failed

Tags: desktop+ notes
Revision history for this message
Keith Berkoben (berkoben) wrote :

I have the same problem. It worked when I first added the program and as early as 2w ago, but now is broken. My machine is generally fully updated at all times.

Revision history for this message
Andres Rodriguez (andreserl) wrote :

I can confirm the behaviour

tags: added: desktop+ notes
Revision history for this message
Dominique Faidherbe (dominique-faidherbe) wrote :

I confirm the behavior, the weird thing is that I have no problem sync'ing under Windows...

summary: - Can't sync tomboy notes
+ Internal server error when syncing notes
Revision history for this message
Stefan Schweizer (stefan-schweizer) wrote :

I tried to restore notes from a backup, so the cause of my internal server error is described in bug #591122, which is considered to be a duplicate of #462245.

Revision history for this message
Deb Platt (debplatt) wrote :

I hadn't tried syncing my tomboy notes in a long time. It had been working, but now I see that it doesn't. I get a "Synchronization failure". When I check the "Details", they are blank as described above. I'm running the latest Ubuntu 10.04.

Revision history for this message
Josh Rummel (josh-rummel) wrote :

I'm having pretty much the same problem

Tomboy was able to sync for me once, but not again. I removed the machine from my one profile, removed all of my notes from tomboy, removed and reinstalled tomboy from the software center, set up the sync again, and still have no luck.

The sync window tells me that it failed, but if I expand the window it shows that all notes are synced. However, on the one dashboard, it says I've only got 3 notes (instead of 60), but none of them show up when I click the "notes" link.

I ran tomboy from the terminal with the --debug option, but I don't really know what to make of the output. It looks like a server error, but that's happening every time I've tried it over the last couple of weeks.

Running 10.04, everything updated, and Tomboy is 1.2.1

Debug attached.

affects: ubuntuone-client → ubuntuone-servers
Changed in ubuntuone-servers:
status: New → Confirmed
status: Confirmed → New
Edle8 (edle8)
Changed in ubuntuone-servers:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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