Skip to content

DOCS-4017: Add info for "Frame read failed: Too many retries" error #4337

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

promptless[bot]
Copy link
Contributor

@promptless promptless bot commented May 22, 2025

Staging link: https://deploy-preview-4337--viam-docs.netlify.app/operate/reference/components/camera/#frame-read-failed-too-many-retries

Add information about the "Frame read failed: Too many retries" error that occurs with IR cameras, including causes and solutions based on the Slack conversation. This will help users troubleshoot this specific camera error.

Trigger Events

Copy link

netlify bot commented May 22, 2025

Deploy Preview for viam-docs ready!

Name Link
🔨 Latest commit bef5644
🔍 Latest deploy log https://app.netlify.com/projects/viam-docs/deploys/682f9efd907c060008daed07
😎 Deploy Preview https://deploy-preview-4337--viam-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 51 (🟢 up 4 from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 92 (no change from production)
PWA: 70 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@CLAassistant
Copy link

CLAassistant commented May 22, 2025

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ JessamyT
❌ promptless[bot]
You have signed the CLA already but the status is still pending? Let us recheck it.

@viambot
Copy link
Member

viambot commented May 22, 2025

👋 Thanks for contributing! A reviewer will look at it on the next working day!

@JessamyT JessamyT changed the title docs: Add documentation for "Frame read failed: Too many retries" error DOCS-4017: Add documentation for "Frame read failed: Too many retries" error May 22, 2025
@JessamyT JessamyT changed the title DOCS-4017: Add documentation for "Frame read failed: Too many retries" error DOCS-4017: Add info for "Frame read failed: Too many retries" error May 22, 2025
@JessamyT JessamyT requested a review from randhid May 22, 2025 22:07
Copy link
Collaborator

@npentrel npentrel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me but Rand will be better equipped to review accuracy

Comment on lines +88 to +109
{{% expand "Frame read failed: Too many retries" %}}

**Description:** This error typically occurs with IR camera modules and similar specialized cameras.
It happens when the camera module is still initializing or calibrating itself, but `viam-server` is already attempting to read frames from it.
This can also be caused by I2C communication issues between the board and the camera module, particularly on Raspberry Pi 5 systems.

**Solution:** Try one of the following approaches:

1. **Reduce the refresh rate for I2C cameras**:
For I2C-based cameras (like some IR modules), try setting the refresh rate to a lower value (for example, 2Hz instead of 4Hz).
This can help with I2C bus timing issues, especially on Raspberry Pi 5 systems.

1. **Check physical connections**:

- Ensure the camera module is properly connected.
- For I2C cameras, verify that the SCK (clock) pin is properly connected and not shorted to ground or power.
If the pin has been shorted, this can permanently damage the hardware.

If these steps don't resolve the issue, check your machine logs for additional error messages that might provide more specific information about the problem.

{{% /expand%}}

Copy link
Member

@randhid randhid May 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This error might not be generic to all i2c IR cameras - we only have the one module using adafruit's APIs.

It's also mine, not viam official. https://github.com/randhid/waveshare-thermal. Do you want me to just put this guide in that readme?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahh okay yeah that sounds good 💡 I will close this PR

@JessamyT
Copy link
Collaborator

@randhid to pull this into relevant readme instead; closing

@JessamyT JessamyT closed this May 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants