Mikescher / AlephNote

Lightweight note taking client for Simplenote or Standard Notes (or simply local storage)
https://mikescher.github.io/AlephNote/
MIT License
196 stars 20 forks source link

Simplenote - Error while syncing data [413 : Request Entity Too Large] #191

Open smaragdus opened 3 years ago

smaragdus commented 3 years ago

All of a sudden I got the following error while using Simplenote synchronization:

Error while syncing data

Could not upload note 'Yo-001' (66325ae678d846678e947ae3fcba2f96) cause of Server api.simperium.com returned status code: 413 : Request Entity Too Large

AlephNote.PluginInterface.Exceptions.RestStatuscodeException: Server api.simperium.com returned status code: 413 : Request Entity Too Large
   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, Int32[] allowedStatusCodes, String[] parameter)
   at AlephNote.Plugins.SimpleNote.SimpleNoteAPI.ChangeExistingNote(ISimpleJsonRest web, SimpleNote note, SimpleNoteConfig cfg, SimpleNoteConnection conn, Boolean& updated)
   at AlephNote.Plugins.SimpleNote.SimpleNoteConnection.UploadNoteToRemote(INote& inote, INote& conflict, ConflictResolutionStrategy strategy)
   at AlephNote.Common.Repository.SynchronizationThread.<>c__DisplayClass26_0.<UploadNotes>b__1(Tuple`2 notetuple)
   at AlephNote.Common.Repository.SynchronizationThread.ExecuteInParallel[T](AlephLogger log, String taskname, Boolean enableParallelism, IReadOnlyCollection`1 data, Int32 level, Int32 threshold, Func`3 error, Action`1 method)

Log file:

Log.txt

As GitHub does not allow uploading of XML files I copied the contents of the log file into a TXT file.

Screen:

AlephNote 1 6 38 - 2021-05-25 - error - 001

This happened with AlephNote version 1.6.38. I am not using the latest version of AlephNote because version 1.6.38 is the last version which supports my OS- Windows 8.

I tried to delete notes, split notes into smaller chunks but the error persisted.

Finally I decided to try to synchronize with Simplenote starting with blank AlephNote without previously saved data and settings and this time the synchronization worked just fine.

I wonder what might be causing this 413 : Request Entity Too Large error.

Mikescher commented 3 years ago

Hey, I'm sorry but currently I'm a bit swarmed with uni and work stuff. So I don't have that much time to look into issues.

But I will definitely look into it once I have a bit of free time :)

smaragdus commented 3 years ago

I just documented the error I encountered so that the developer could check it out when it happens that he has time.

Regards