Scanner error - Failed to open a connection to the device (-21345)

After MacOS Sequoia v15 update, the image Scanner is no longer working. The error message says "Failed to open a connection to the device (-21345)"

I have a Mac, wirelessly connected to a Brother MFC-J985DW printer. Using Sequoia operating system.

Tried unplugging printer, printer power cable, and then replugging everything after several minutes. No luck.


Finally I found the following solution that worked for me:

  1. go to the System Settings:
  2. Click on Privacy & Security
  3. Click Local Network
  4. Enable the printer / scanner that was throwing error.

MacBook Pro 16″, macOS 15.0

Posted on Sep 30, 2024 11:33 AM

Reply
Question marked as Top-ranking reply

Posted on Nov 19, 2024 3:19 AM

Thank you , it worked for me


12 replies

Feb 21, 2025 1:52 PM in response to only3u

SOLVED:

Close all open apps.

In the Finder Menu Bar, open Go > Go to Folder…

In the pop-up field that opens, type /Library/Image Capture/Devices and hit Enter.

Double-click the app that was listed in the error. Nothing will happen, and that’s normal.

Close the window and scan again. Now everything will work properly, at least for some time.


I also rebooted both iMac and printer.

Now it works, but still do not know why the printer or ImageCapture app does not show up in Local Network pane

Feb 11, 2025 2:52 AM in response to only3u

Thanks a lot, your advice was successful! After searching and searching.


The problem is produced by Apple dev's itself. More and more bad programming! They should think a bit more about their users. You cannot leave the decision to the users without also explaining the consequences of the decision.


Very bad management by Apple managers - come back to the ideas of Steve Jobs ! His goal was always a user friendly system !

Scanner error - Failed to open a connection to the device (-21345)

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.