Does not scan through the ESCL driver.
Scan documents to PDF and other file types, as simply as possible.
Brought to you by:
ben-cyanfish
Tried the new ESCL driver.
For all devices (Kyocera M2540dn, Kyocera M2235dn, HP OfficeJet Pro 7740 Series, Kyocera M5526cdn, Kyocera M3550idn) I get the same error: An error occurred while sending the request.
On Windows 7 the error appears instantly.
System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Базовое соединение закрыто: Соединение было неожиданно закрыто.
at WebResponse System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at void System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- Конец трассировки внутреннего стека исключений ---
at async Task<HttpResponseMessage> System.Net.Http.HttpClient.FinishSendAsyncUnbuffered(Task<HttpResponseMessage> sendTask, HttpRequestMessage request, CancellationTokenSource cts, bool disposeCts)
at async Task<string> System.Net.Http.HttpClient.GetStringAsyncCore(Task<HttpResponseMessage> getTask)
at async Task<XDocument> NAPS2.Escl.Client.EsclClient.DoRequest(string endpoint)
at async Task<EsclCapabilities> NAPS2.Escl.Client.EsclClient.GetCapabilities()
at async Task NAPS2.Scan.Internal.Escl.EsclScanDriver.Scan(ScanOptions options, CancellationToken cancelToken, IScanEvents scanEvents, Action<IMemoryImage> callback)
at async Task NAPS2.Scan.Internal.RemoteScanController.Scan(ScanOptions options, CancellationToken cancelToken, IScanEvents scanEvents, Action<ProcessedImage, PostProcessingContext> callback)
at async IAsyncEnumerable<ProcessedImage> NAPS2.Scan.ScanController.Scan(ScanOptions options, CancellationToken cancelToken)+(?) => { }
On Windows 10 the error appears after about 15-20 seconds.
System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Невозможно соединиться с удаленным сервером ---> System.Net.Sockets.SocketException: Попытка установить соединение была безуспешной, т.к. от другого компьютера за требуемое время не получен нужный отклик, или было разорвано уже установленное соединение из-за неверного отклика уже подключенного компьютера [fe80::217:c8ff:fe9c:5f06]:9096
at void System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult)
at void System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at WebExceptionStatus System.Net.ServicePoint.ConnectSocketInternal(bool connectFailure, Socket s4, Socket s6, ref Socket socket, ref IPAddress address, ConnectSocketState state, IAsyncResult asyncResult, out Exception exception)
--- Конец трассировки внутреннего стека исключений ---
at WebResponse System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at void System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- Конец трассировки внутреннего стека исключений ---
at async Task<HttpResponseMessage> System.Net.Http.HttpClient.FinishSendAsyncUnbuffered(Task<HttpResponseMessage> sendTask, HttpRequestMessage request, CancellationTokenSource cts, bool disposeCts)
at async Task<string> System.Net.Http.HttpClient.GetStringAsyncCore(Task<HttpResponseMessage> getTask)
at async Task<XDocument> NAPS2.Escl.Client.EsclClient.DoRequest(string endpoint)
at async Task<EsclCapabilities> NAPS2.Escl.Client.EsclClient.GetCapabilities()
at async Task NAPS2.Scan.Internal.Escl.EsclScanDriver.Scan(ScanOptions options, CancellationToken cancelToken, IScanEvents scanEvents, Action<IMemoryImage> callback)
at async Task NAPS2.Scan.Internal.RemoteScanController.Scan(ScanOptions options, CancellationToken cancelToken, IScanEvents scanEvents, Action<ProcessedImage, PostProcessingContext> callback)
at async IAsyncEnumerable<ProcessedImage> NAPS2.Scan.ScanController.Scan(ScanOptions options, CancellationToken cancelToken)+(?) => { }
Maybe the problem lies in the settings of our corporate local network, but I am not sure.
The TWAIN driver works perfectly.
Any ideas?
PC 2. Windows 7.
PC 1. Windows 10.
ERR_CONNECTION_RESET

500 Internal Sever Error

net::ERR_CERT_INVALID

Kaspersky: Self-signed certificate

Options: View certificate or I understand the risk but want to continue
After giving Kaspersky permission to continue

The problem was solved by disabling eSCL over SSL .
Yes, now it's work with eSCL over SSL, thanks :)