Skip to content
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

Failed to resolve hostname Temporary failure in name resolution Input/output error #920

Open
josephx66 opened this issue Apr 19, 2024 · 2 comments

Comments

@josephx66
Copy link

josephx66 commented Apr 19, 2024

I have plugged the rtsp feed into the config like so:

            "cameras": [
                {
                    "name": "Middle Camera",
                    "motion": false,
                    "motionTimeout": 15,
                    "unbridge": true,
                    "hsv": false,
                    "prebuffering": false,
                    "forcePrebuffering": false,
                    "prebufferLength": 4,
                    "videoConfig": {
                        "source": "-i rtsp://fairviewcameras.ddns.net/cam/realmonitor?channel=2&subtype=0",
                        "subSource": "-i rtsp://fairviewcameras.ddns.net/cam/realmonitor?channel=2&subtype=1",
                        "maxWidth": 1280,
                        "maxHeight": 720,
                        "vcodec": "copy",
                        "acodec": "copy",
                        "audio": false,
                        "debug": true,
                        "stillImageSource": "-i rtsp://fairviewcameras.ddns.net/cam/realmonitor?channel=2&subtype=0"
                    },
                    "smtp": {
                        "email": "Middle Camera"
                    },
                    "videoanalysis": {
                        "active": false
                    },
                    "mqtt": {}
                },...

but still get this error:
[4/19/2024, 2:59:20 PM] [CameraUI] ERROR Middle Camera: Failed to fetch snapshot. Showing "offline" image instead.
[4/19/2024, 2:59:20 PM] [CameraUI] ERROR Middle Camera: [tcp @ 0x55ab047a6200] Failed to resolve hostname fairviewcameras.ddns.net: Temporary failure in name resolution rtsp://fairviewcameras.ddns.net/cam/realmonitor?channel=2&subtype=0: Input/output error
[4/19/2024, 2:59:20 PM] [CameraUI] Middle Camera: Sending snapshot: 1280x720
[4/19/2024, 2:59:20 PM] [CameraUI] Middle Camera: Resize command: ffmpeg -i pipe: -frames:v 1 -filter:v

I can run this rtsp feed in any viewer, so i know that the URL is correct

@josephx66
Copy link
Author

The issue is fixed when i enter the IP address directly rather than using the DDNS address i have created here. The DDNS address is correct as i can ping the address from my console
@seydx

@mkz212
Copy link
Contributor

mkz212 commented Jul 29, 2024

🎉 A new version of camera.ui

A new version of camera.ui is currently under active development. An initial alpha/beta release and previews are coming soon. Stay tuned for exciting updates: seydx/camera.ui#448 .

This version will no longer be developed / fixed. The new version contains many novelties and fixes (most important is for HKSV recording).

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

No branches or pull requests

2 participants