Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
smaragdus opened this issue May 24, 2021 · 2 comments
Open
Assignees
Labels

Comments

@smaragdus
Copy link

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 Mikescher self-assigned this Jul 23, 2021
@Mikescher Mikescher added the bug label Jul 23, 2021
@Mikescher
Copy link
Owner

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
Copy link
Author

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

Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants