Callback history. How to clean up?

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

Callback history. How to clean up?

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


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 = ... cc99&;data = {"key":"43bff57de9472f30","status":6,"url":" ... ","changes":[{"created":"2018-02-25 21:26:25","user":{"id":"65f3efa73dd4079a4ee676874abdf","name":"Nat"}},{"created":"2018-02-25 21:27:42","user":{"id":"fc61ea1fe07103777aafe19fd8f1","n
With a lot of history records and at the end:

Error: Error response: statusCode:400 ;body:
<title>400 Bad Request</title>
<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>
<address>Apache/2.4.10 (Debian) Server at Port 443</address>

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.

Post Reply