CKB:HTTP Connection Timeout

Aus Cryptshare Documentation
Version vom 30. Dezember 2022, 15:01 Uhr von Frorathm (Diskussion | Beiträge)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu:Navigation, Suche

Applies to

All versions of Cryptshare Server


HTTP connections are interrupted either when performing downloads or uploads. The Cryptshare error log shows messages like this one:


    at org.eclipse.jetty.util.thread.QueuedThreadPool$
Caused by: org.apache.wicket.protocol.http.servlet.ResponseIOException: java.util.concurrent.TimeoutException: Idle timeout expired: 10000/10000 ms
    at org.apache.wicket.protocol.http.servlet.ServletWebResponse.write(
    at org.apache.wicket.protocol.http.HeaderBufferingWebResponse.write(
    at org.apache.wicket.request.Response$StreamAdapter.write(
    ... 38 common frames omitted
Caused by: java.util.concurrent.TimeoutException: Idle timeout expired: 10000/10000 ms
    at org.eclipse.jetty.util.SharedBlockingCallback$Blocker.block(
    at org.eclipse.jetty.server.HttpOutput.write(
    at org.eclipse.jetty.server.HttpOutput.write(
    at org.apache.wicket.protocol.http.servlet.ServletWebResponse.write(
    ... 43 common frames omitted


The Client the user is currently working on, has a bad connection to the Cryptshare Server or the server load is currently to high, so that new requests cannot be handled in time. Open HTTP-Connections are running into the pre-configured connection timeout.


If the server is not under high load and should therefore be able to handle the request properly, the connection timeout can be increased so slow connections will be kept open for a longer time.

1. Open the Jetty configuration file for the User Interface:

<installation directory>/resources/WEB-INF/ui-config.xml

2. Search for a 'Set'-Tag with the attribute 'idleTimeout' (2 times).


3. Change the value from '10000' milliseconds to the preferred value (recommended maximum is '60000')

4. Save the changes and restart the Cryptshare Server