alexpevzner / sane-airscan

Scanner Access Now Easy - universal driver for eSCL (Apple AirScan) and WSD
Other
289 stars 44 forks source link

Kyocera ECOSYS M6526cdn : I/O Error due to error `The TLS connection was non-properly terminated` when using `eSCL over SSL` #163

Closed ericschdt closed 2 years ago

ericschdt commented 3 years ago

Setup:

What did I do

Both my laptop and my printer/scanner are on the same subnet. I tried to scan via

SANE_DEBUG_DLL=3 scanimage -x 100 -y 100 --format=tiff >image.tiff

Result

The scanner received the scan job, it turns on, the scanner light starts moving and the display states

Functions are used remotely...

Then scanimage finally breaks up saying

00:00:03.073: Kyocera ECOSYS M6526cdn: cancelling job due to error: The TLS connection was non-properly terminated.
00:00:03.073: Kyocera ECOSYS M6526cdn: JOB status=Error during device I/O

and the scanner remains in its Functions are used remotely... state for a while until finally going into standby again.

Traces and logs

scanimage-Kyocera-ECOSYS-M6526cdn.log scanimage-zeroconf.log sane_command_debug3.txt

ericschdt commented 3 years ago

It works fine* when disabling eSCL over SSL and use plain eSCL at the scanner instead at least with XSane and simple-scan.

alexpevzner commented 2 years ago

Hi @ericschdt,

sorry for long delay in reply.

I've attempted to create a work around for the problem with TLS that you've reported. If you are able to build sane-airscan from sources and retest, I will appreciate your feedback.

ericschdt commented 2 years ago

sorry for long delay in reply.

Don't worry. It's working fine with WSD so far. :)

I've attempted to create a work around for the problem with TLS that you've reported. If you are able to build sane-airscan from sources and retest, I will appreciate your feedback.

Sure, but this will take some weeks until I will have the chance to test it again, but the chance will definitely come.

alexpevzner commented 2 years ago

OK, thanks.

At this case, I'll close the issue for now. Feel free to reopen it, if the problem actually remains.