Hi PMario,

Thank you so much! Disabling compression on the server fixes it :) 

I am using TW version 5.1.17 and it indeed behaves differently than 5.1.16 
(where I can't save at all due to an error message with a request error 
code 412)

As for the solution for those with the same issue, I am running Seafile 
with reverse proxy behind Nginx. I added:

gzip off;

in the `nginx.conf` under `http` block. Restarted Nginx and Seafile/Seahub 
and voila! I can save files multiple times without any issues so far. I 
hope I won't get too much of a performance hit due to disabled compression. 
I think it might be possible to optimize the compression settings by 
excluding html files in `gzip_types` rather than disabling compression as a 
whole but I will leave exploring it to later. 

Also please note that this only fixes the `file changed on server` issue 
with TW 5.1.17. It won't fix the request error I am getting with the other 
version.

Best wishes,
Altug



On Wednesday, August 29, 2018 at 3:28:48 AM UTC-4, PMario wrote:
>
> Hi Altug,
>
> On Tuesday, August 28, 2018 at 7:31:27 AM UTC+2, Altug Ozcelikkale wrote:
>
>> ... The only problem I have is I can't save the file more than once 
>> unless I reload it in browser. The second time I try to save, it will give 
>> me a "file changed on server" error. I must accept it is a minor annoyance. 
>> I don't know whether you also have this issue.
>>
>
> Which TW version do you use? .. We changed the WebDav PUT saver with the 
> last version quite a bit. Especially the ETag handling was improved, to 
> make it more robust. ... BUT ... 
>
> If your server transfers the TW in "compressed" mode, it seems the ETags 
> are different to the file that is saved from the client to the server. ... 
> So the second "save" fails. 
>
> You could try to disable the "compression" on the server. ... This should 
> fix the problem. .. But makes the download slower. 
>
> I did create an experimental plugin, that doesn't use the ETag, but the 
> "last-modified-" info, which also works with if the browser sends the TW 
> file in compressed mode. 
>
> Just some thoughts!
>
> -m
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/606aef43-dae4-4e7b-9e70-8c01f7feff33%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to