Sync error to Standard Notes then a shutdown error
See original GitHub issueIf I try to sync I get the following error.
Error while syncing data Exception while syncing notes: server sync.standarnotes.org returned status code: 500: Internal Server Error
AlephNote.PluginInterface.Exceptions.RestStatuscodeException: Server sync.standardnotes.org returned status code: 500 : Internal Server Error
at AlephNote.Common.Network.SimpleJsonRest.GenericTwoWay[TResult](Object body, String path, HttpMethod method, Int32[] allowedStatusCodes, String[] parameter)
at AlephNote.Common.Network.SimpleJsonRest.PostTwoWay[TResult](Object body, String path, String[] parameter)
at AlephNote.Plugins.StandardNote.StandardNoteAPI.Authenticate003(ISimpleJsonRest web, APIAuthParams apiparams, String mail, String uip, AlephLogger logger)
at AlephNote.Plugins.StandardNote.StandardNoteAPI.Authenticate(ISimpleJsonRest web, String mail, String password, AlephLogger logger)
at AlephNote.Plugins.StandardNote.StandardNoteConnection.RefreshToken()
at AlephNote.Plugins.StandardNote.StandardNoteConnection.CreateAuthenticatedClient()
at AlephNote.Plugins.StandardNote.StandardNoteConnection.StartSync(IRemoteStorageSyncPersistance idata, List`1 ilocalnotes, List`1 localdeletednotes)
at AlephNote.Common.Repository.SynchronizationThread.DoSync()
Then I get this error: Shutting down connection failed Connection will be forcefully aborted
System.Exception: Background thread timeout after 30sec
at AlephNote.Common.Repository.SynchronizationThread.WaitForSyncStop(Int32 seconds)
at AlephNote.Common.Repository.SynchronizationThread.WaitForStopped(Int32 seconds)
at AlephNote.Common.Repository.SynchronizationThread.SyncNowAndStopAsync()
at AlephNote.Common.Repository.NoteRepository.Shutdown(Boolean lastSync)
at AlephNote.WPF.Windows.MainWindowViewmodel.OnClose(EventArgs args)
I have attached both log files: Log.xml.log Log2.xml.log
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Love the app but please add a manual sync/save option to ...
Everything appeared "synced" when I shut down. I formatted the computer and reinstalled Ubuntu 16.04 LTS/Standard Notes and the note I had ...
Read more >notes not syncing - Apple Community
I've turned off/on Notes on my iCloud account and still no syncing. Anyone else having the same problem or know of a solution?...
Read more >Fix issues when you can't sync OneNote
Click File > Info > View Sync Status. In the Shared Notebook Synchronization dialog box that opens, check for any error code and...
Read more >Evernote app not saving! "Sync error failed due to ...
I'm getting the error, "SYNCHRONIZATION FAILED DUE TO AN ... If the 'Note' is not available in your trash or on your web...
Read more >Error on shut down- Sync Services.exe Application Error
Plug it in and run chkdsk. Start>run. type in: chkdsk d: /f. Click OK. NOTE: d: is the drive letter for your USB...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
if you plan use the 1.7.0 prerelease be sure to force a full re-sync (Edit -> delete local data and sync new) after upgrading, otherwise you will et sync errors.
I will make a 1.7.1 build later where it will automatically force a resync after updating
Hey, yeah I got the same error yesterday. It seems SN changed their api a bit without updating the docs (I’m currently talking in the SN slack server about this).
For now you can use the 1.6.2 version of the SN plugin (build from git master) to fix the issue (simply replace the StandardNotePlugin.dll in your Plugins folder).
It looks like I will have to make a few adjustments to the SN plugin, because they plan to migrate all users to the 004 protocol version next month, so I guess I will have to implement that rather soon.
I will probably implement both in the next AlephNote version (as soon as I’ve recovered from silvester 😄)