Menu

#1147 page data request timeout in HttpClient (10 sec) when using ESCL driver on Linux

7.X
open
nobody
None
Linux
7.4.2.0
Bug Fix
High
N/A
2024-07-06
2024-06-25
No

When I scan a page over ESCL (client: Linux, server: Windows), the scanning progress appears and the scanner appears to perform the scanning (I can tell by the sound and the light), but the scanned page does not appear in the session. Insult to injury, no diagnostic message pops up.
The following trace seems to explain what happens:

2024-06-24 19:05:49.0745 8089 ESCL NextDocument error System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 10 seconds elapsing.
 ---> System.TimeoutException: The operation was canceled.
 ---> System.Threading.Tasks.TaskCanceledException: The operation was canceled.
 ---> System.IO.IOException: Unable to read data from the transport connection: Operation canceled.
 ---> System.Net.Sockets.SocketException (125): Operation canceled
   --- End of inner exception stack trace ---

10 seconds seems to be quite a scarce and arbitrary timeout for transferring large data (a Letter 1 page at 200-300 dpi) over network, even over intranet.
Is there a way to configure the timeout without rebuilding the entire product? (I found no config.xml sections governing it, but maybe I should create it to override the default.)
Marking priority as High as this is a blocking issue for a major use case.

1 Attachments

Discussion

  • Paul McArrow

    Paul McArrow - 2024-06-25

    Explicitly allowing NAPS2 (all *.exe binaries in the installation) through Windows Defender firewall didn't fix the problem.

     
  • Ben Olden-Cooligan

    Please try this with 7.4.3.

     

Log in to post a comment.