Brandawg93/homebridge-ezviz

internal IP not mapped

soundclub83 opened this issue · 1 comments

Hi,

Homebridge - v1.5.1
homebridge-ezviz - v1.0.2

I have the problem, that I am not able to connect to my C3X.
Problem is, that my internal IP is not mapped to the connection:

[10/28/2022, 8:13:23 PM] [homebridge-ezviz] Error: Command failed with exit code 1: /var/lib/homebridge/node_modules/homebridge-ezviz/node_modules/ffmpeg-for-homebridge/ffmpeg -i rtsp://admin:XXXXX@**0.0.0.0**/Streaming/Channels/1/ -vframes 1 -f mjpeg -
ffmpeg version 5.0 Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
  configuration: --pkgconfigdir=/build/workspace/lib/pkgconfig --prefix=/build/workspace --pkg-config-flags=--static --extra-cflags=-I/build/workspace/include --extra-ldflags=-L/build/workspace/lib --extra-libs='-lpthread -lm' --enable-static --disable-debug --disable-shared --disable-ffplay --disable-doc --enable-openssl --enable-gpl --enable-version3 --enable-nonfree --enable-pthreads --enable-libvpx --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libx264 --enable-runtime-cpudetect --enable-libfdk-aac --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enable-decoder=h264 --enable-network --enable-protocol=tcp --enable-libspeex --enable-demuxer=rtsp --enable-indev=alsa --enable-outdev=alsa
  libavutil      57. 17.100 / 57. 17.100
  libavcodec     59. 18.100 / 59. 18.100
  libavformat    59. 16.100 / 59. 16.100
  libavdevice    59.  4.100 / 59.  4.100
  libavfilter     8. 24.100 /  8. 24.100
  libswscale      6.  4.100 /  6.  4.100
  libswresample   4.  3.100 /  4.  3.100
  libpostproc    56.  3.100 / 56.  3.100
[tcp @ 0x55daaf107180] Connection to tcp://0.0.0.0:554?timeout=0 failed: Connection refused
rtsp://admin:WHXPQF@**0.0.0.0**/Streaming/Channels/1/: Connection refused

    at makeError (/var/lib/homebridge/node_modules/homebridge-ezviz/node_modules/execa/lib/error.js:60:11)
    at handlePromise (/var/lib/homebridge/node_modules/homebridge-ezviz/node_modules/execa/index.js:118:26)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  shortMessage: 'Command failed with exit code 1: /var/lib/homebridge/node_modules/homebridge-ezviz/node_modules/ffmpeg-for-homebridge/ffmpeg -i rtsp://admin:WHXPQF@0.0.0.0/Streaming/Channels/1/ -vframes 1 -f mjpeg -',
  command: '/var/lib/homebridge/node_modules/homebridge-ezviz/node_modules/ffmpeg-for-homebridge/ffmpeg -i rtsp://admin:WHXPQF@0.0.0.0/Streaming/Channels/1/ -vframes 1 -f mjpeg -',
  escapedCommand: '"/var/lib/homebridge/node_modules/homebridge-ezviz/node_modules/ffmpeg-for-homebridge/ffmpeg" -i "rtsp://admin:XXXXXX@0.0.0.0/Streaming/Channels/1/" -vframes 1 -f mjpeg -',
  exitCode: 1,
  signal: undefined,
  signalDescription: undefined,
  stdout: <Buffer >,
  stderr: <Buffer 66 66 6d 70 65 67 20 76 65 72 73 69 6f 6e 20 35 2e 30 20 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 30 30 2d 32 30 32 32 20 74 68 65 20 46 46 6d ... 1337 more bytes>,
  failed: true,
  timedOut: false,
  isCanceled: false,
  killed: false
}

Is there a way to set it manually?
Or how to resolve the problem?

Thanks and kind regards
Matthias

@soundclub83 - this issue is being automatically closed because it does not follow either the feature request or bug report issue template. The issue templates have been designed to help in the troubleshooting (or feature request) process. Please use them and populate it as completely as possible to streamline troubleshooting or feature request discussions.