question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error fetching ipp data: Invalid response from API - error log every 1 min

See original GitHub issue

The problem

If printer is switched off, this keeps returning below error each minute. Printers being off should be guarded better, not spamming the log each minute My printer : Epson XP 305

What version of Home Assistant Core has the issue?

core-2021.12.10

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Supervised

Integration causing the issue

IPP

Link to integration documentation on our website

https://www.home-assistant.io/integrations/ipp/

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant.components.ipp.coordinator
Source: helpers/update_coordinator.py:219 
Integration: Internet Printing Protocol (IPP) (documentation, issues) 
First occurred: January 19, 2022, 11:39:42 AM (235 occurrences) 
Last logged: 11:35:15 AM

Error fetching ipp data: Invalid response from API: Timeout occurred while connecting to IPP server.
Error fetching ipp data: Invalid response from API: Error occurred while communicating with IPP server.

Additional information

Old issue from another user closed by robot : #43472

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:4
  • Comments:18 (3 by maintainers)

github_iconTop GitHub Comments

8reactions
RefineryXcommented, Feb 4, 2022

Also getting the same on a HP printer.

For context, my printer is not always switched on (as I print rarely) and in fact I use an automation for when my printer goes into ‘idle’ it turns off the power socket.

I would also love to see it handle the state better when the printer is offline. For example, instead of it showing as ‘unavailable’ it should show as ‘offline’ or something similar, like this custom component handles it https://github.com/elad-bar/ha-hpprinter. And maybe retain the last know value of the inks

Screenshot 2022-02-04 at 17 46 17

5reactions
Santanachiacommented, Feb 9, 2022

same on lexmark

I am convinced that the sensor could show Unavailable, but the toner level should be the last known, not Unavailable

@ctalkington could you take a look at this issue?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Internet Printing Protocol (IPP) Integration - Show last know ...
ipp ] Error fetching ipp data: Invalid response from API: Error occurred while communicating with IPP server. 2020-08-17 22:39:00 WARNING ( ...
Read more >
Anyone else having problems accessing QBD data via IPP ...
We're receiving multiple errors when trying to access QBD data via IPP ... we get a response code of -1001 from IPP ("Internal...
Read more >
Universal Print troubleshooting guide - Microsoft Learn
Check the print connector event log for job failure errors. Job failure errors have the error code XPS_JOB_FAILED in the event details. You...
Read more >
API Documentation | U.S. Treasury Fiscal Data
When this is the case, datasets are powered by more than one API. ... If something goes wrong while creating the API response,...
Read more >
Chapter 23. Viewing and Managing Log Files
For example, the mail subsystem handles all mail-related syslog messages. FACILITY can be represented by one of the following keywords (or by a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found