Apple launches Apple Store app in India

The Apple Store app provides customers with the most personalized way to shop for Apple’s innovative lineup of products and services. Learn more >

You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

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

Out of the blue, 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 HP8600 printer. Using Catalina operating system.

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

iMac 21.5″, macOS 10.13

Posted on Oct 23, 2020 3:57 AM

Reply
Question marked as Top-ranking reply

Posted on Nov 16, 2020 8:34 AM

while other posts suggest the solution is resetting the printer system under system preferences this was not a complete working solution for me. As a second step i needed to go to my printers websetup page (usually the printers IP adress) and deactivate IPv6 completely. only after deactivating and then resetting the printer system in macOS i was able to regain access to my scanner completely.

hope this helps!

14 replies
Sort By: 
Question marked as Top-ranking reply

Nov 16, 2020 8:34 AM in response to shspw

while other posts suggest the solution is resetting the printer system under system preferences this was not a complete working solution for me. As a second step i needed to go to my printers websetup page (usually the printers IP adress) and deactivate IPv6 completely. only after deactivating and then resetting the printer system in macOS i was able to regain access to my scanner completely.

hope this helps!

Reply

Nov 18, 2020 9:33 AM in response to shspw

I was able to solve this problem by adding my scanner's software to the list of allowed software connections under the Security & Privacy, Firewall, Firewall Options setting page. Once you have the Firewall Options screen open, click the plus sign and then locate your scanner's software. In my specific case, Epson Scan 2 was the application I needed to add to restore my Mac's connection to my Epson scanner. FWW, my Epson scanner is directly connected via a USB cable. This solution also worked for my wireless Canon printer/scanner as well.

Reply

Oct 25, 2020 6:07 AM in response to Robert_France

I have got my HP scanner working! Obtain you HP printer's IP address from network settings page in the printer and type this into your web browser. This opens the HP Embedded Web Server for your printer. Open the Scan tab. Load your document and press Start Scan button. Your scanner should now scan. To save the scanned image press the image preview button in the dark grey line near the bottom of the image. This will open Mac Preview and allow you to save the document to your Mac. Hope this works for you.

Reply

Oct 23, 2020 10:37 AM in response to shspw

I have this also.


I have deleted the printer, re-added the printer, rebooted, unplugged printer multiple times. When adding the printer back not adds the printer and fax only, no scanner. The printer prints fine. The scanner is no longer visible to hp scan, preview or image capture.

Reply

Oct 26, 2020 8:08 AM in response to Robert_France

Now resolved the issue. Removed my HP printer from Printers & scanners. Reset the NVRAM by shutting down my mac, then turned back on again immediately holding these four keys together: Option, Command, P and R. You can release the keys after about 20 seconds. Having done that I downloaded the latest drivers for my printer from HP.com and then added my printer back to the Mac. The printer AND scanner now works as it did before.

Reply

Oct 25, 2020 10:00 AM in response to rocketchris

If all else fails or the other workarounds are a bit clumsy give the demo version of VueScan a try. Even though my Canon software works as does Image Capture I use VueScan exclusively as it is much more powerful than the other. You can run it in demo mode to see if it's what you might want.

Reply

Oct 31, 2020 12:49 PM in response to DJB444

THANK YOU so much DJB444! I did this with the 3 computers I have affected and all is as it was before, worked perfect! The last 2 computers I didn't download the drivers from HP, the AirPrint drivers worked fine. Thank you so much, hope your holidays are great this year! Stay safe!

Reply

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.