Callback history. How to clean up?

Any issues about docs (uploading, editing and etc.)
Post Reply
dataprius
Posts: 7
Joined: Wed Apr 12, 2017 5:38 pm

Callback history. How to clean up?

Post by dataprius » Sun Jan 27, 2019 4:51 pm

Hello,

I have an issue when an user or two are editing a word document. After hours of works, there are this logs:


[2018-02-25 22:31:24.228] [ERROR] nodeJS - sendServerRequest error: ;url = https://myserverdomain.eu/callbackup.ph ... cc99&;data = {"key":"43bff57de9472f30","status":6,"url":"https://serverXXXX.net/cache/files/43bf ... ","changes":[{"created":"2018-02-25 21:26:25","user":{"id":"65f3efa73dd4079a4ee676874abdf","name":"Nat"}},{"created":"2018-02-25 21:27:42","user":{"id":"fc61ea1fe07103777aafe19fd8f1","n
etc
With a lot of history records and at the end:

Error: Error response: statusCode:400 ;body:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
Size of a request header field exceeds server limit.</p>
<hr>
<address>Apache/2.4.10 (Debian) Server at myserverdomain.eu Port 443</address>
</body></html>

at Request._callback (/var/www/onlyoffice/documentserver/server/Common/sources/utils.js:260:18)
at Request.self.callback (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:188:22)
at emitTwo (events.js:106:13)
at Request.emit (events.js:191:7)
at Request.<anonymous> (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:1171:10)
at emitOne (events.js:96:13)
at Request.emit (events.js:188:7)
at IncomingMessage.<anonymous> (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:1091:12)
at IncomingMessage.g (events.js:292:16)
at emitNone (events.js:91:20)
at IncomingMessage.emit (events.js:185:7)

I've upgrade my server apache configuration with more limit
LimitRequestFieldSize 16380

But the thing is, Is there any configuration to don't save all the history of the document, or reset it? Because every callbackup send all the history.

If an user is working for hours in a document this history could be so huge.

Maxim
Posts: 2017
Joined: Tue Oct 11, 2016 2:34 pm

Re: Callback history. How to clean up?

Post by Maxim » Tue Aug 06, 2019 6:49 pm

Hello!
Is there any configuration to don't save all the history of the document, or reset it? Because every callbackup send all the history.
Have you found a way how to do that?

dataprius
Posts: 7
Joined: Wed Apr 12, 2017 5:38 pm

Re: Callback history. How to clean up?

Post by dataprius » Wed Aug 07, 2019 7:12 am

No, not yet

Post Reply