NEWS
Ring - Adapter Mal wieder Fehler bei Token...
-
Meine Ring wired Klingel wird über den Ring - Adapter in IOBroker eingebunden.
Nach der Erstellung des Tokens läuft der Adapter auch ein paar Stunden einwandfrei.
Nach ein paar Stunden taucht im Log immer wieder folgendes auf:
executeImmediateGuarded resulted in Error: Error: Error setHistory(): Error: Could noch get Hisotry for 1xxxxxxxx in getHistory(id).Error: Refresh token is not valid. Unable to authenticate with Ring servers. See https://github.com/dgreif/ring/wiki/Refresh-TokensWenn ich dann über ssh einen neuen Token erstelle :
Andy@iobroker:~$ npx -p ring-client-api ring-auth-cli ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516 configuration: --pkgconfigdir=/build/workspace/lib/pkgconfig --prefix=/build/w orkspace --pkg-config-flags=--static --extra-cflags=-I/build/workspace/include - -extra-ldflags=-L/build/workspace/lib --extra-libs='-lpthread -lm' --enable-stat ic --disable-debug --disable-shared --disable-ffplay --disable-doc --enable-open ssl --enable-gpl --enable-version3 --enable-nonfree --enable-pthreads --enable-l ibvpx --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libx264 --enable-runtime-cpudetect --enable-libfdk-aac --enable-avfilt er --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enab le-decoder=h264 --enable-network --enable-protocol=tcp --enable-libspeex --enabl e-demuxer=rtsp --enable-indev=alsa --enable-outdev=alsa libavutil 56. 51.100 / 56. 51.100 libavcodec 58. 91.100 / 58. 91.100 libavformat 58. 45.100 / 58. 45.100 libavdevice 58. 10.100 / 58. 10.100 libavfilter 7. 85.100 / 7. 85.100 libswscale 5. 7.100 / 5. 7.100 libswresample 3. 7.100 / 3. 7.100 libpostproc 55. 7.100 / 55. 7.100 This CLI will provide you with a refresh token which you can use to configure ring-client-api and homebridge-ring. Email: XXXXXXXXXX@XXXXXX.de Password: xXxXxXxXXXxxXXXX Please enter the code sent to +4xxxxxxxxx26 via sms 2fa Code: 942492 Successfully logged in to Ring. Please add the following to your config: "refreshToken": "eyJhbGciOiJIUzUxMiIsImprdSI6Ii9vYXV0aC9pbnRlcm5hbC9qd2tzIiwia2lkIjoiYzEyODEwMGIiLCJ0eXAiOiJKV1QifQ.eyJpYXQiOjz2eNeg2NTc3NDYsImlzcyI6IlJpbmdPYXV0aFNlcnZpY2UtcHJvZDp1cy1lYXN0LTE6M2Q3ZDcxOWYiLCJyZWZyZXNoX2NpZCI6inJpbmdfb2ZmaWNpYWxfYW5kcm9pZCIsInJlZnJlc2hfc2NvcGVzIjpbImNsaWVudCJdLCJuZWZyZXNoX3VzZXJfaWQiOjcyMjIjjE4LCJybmQiOiI2VFJPQ0RQaFBrN0RaQSIsInNlc3Npb25faWQiOiJlMWMwOiY1ZClxNGYyLTRmNGItODI3MC03MjlkZThlNDA3ZTkiLCJ0eXBlIjoicmVmcmVzaC10b2tlbiJ9.QXjUR_BQaxlde8JTxDjcAZby65oAjW0x6inFWlCD_8rAGmyQQf2W_wvRZDWWG8NYVR6ToNuzoQkibxS5e5mxyA" Andy@iobroker:~$Läuft der Adapter wieder für ein paar Stunden....
Hat jemand eine Idee warum das nicht automatisch passiert ?
Adapterversion ist 1.2.8
-
Meine Ring wired Klingel wird über den Ring - Adapter in IOBroker eingebunden.
Nach der Erstellung des Tokens läuft der Adapter auch ein paar Stunden einwandfrei.
Nach ein paar Stunden taucht im Log immer wieder folgendes auf:
executeImmediateGuarded resulted in Error: Error: Error setHistory(): Error: Could noch get Hisotry for 1xxxxxxxx in getHistory(id).Error: Refresh token is not valid. Unable to authenticate with Ring servers. See https://github.com/dgreif/ring/wiki/Refresh-TokensWenn ich dann über ssh einen neuen Token erstelle :
Andy@iobroker:~$ npx -p ring-client-api ring-auth-cli ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516 configuration: --pkgconfigdir=/build/workspace/lib/pkgconfig --prefix=/build/w orkspace --pkg-config-flags=--static --extra-cflags=-I/build/workspace/include - -extra-ldflags=-L/build/workspace/lib --extra-libs='-lpthread -lm' --enable-stat ic --disable-debug --disable-shared --disable-ffplay --disable-doc --enable-open ssl --enable-gpl --enable-version3 --enable-nonfree --enable-pthreads --enable-l ibvpx --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libx264 --enable-runtime-cpudetect --enable-libfdk-aac --enable-avfilt er --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enab le-decoder=h264 --enable-network --enable-protocol=tcp --enable-libspeex --enabl e-demuxer=rtsp --enable-indev=alsa --enable-outdev=alsa libavutil 56. 51.100 / 56. 51.100 libavcodec 58. 91.100 / 58. 91.100 libavformat 58. 45.100 / 58. 45.100 libavdevice 58. 10.100 / 58. 10.100 libavfilter 7. 85.100 / 7. 85.100 libswscale 5. 7.100 / 5. 7.100 libswresample 3. 7.100 / 3. 7.100 libpostproc 55. 7.100 / 55. 7.100 This CLI will provide you with a refresh token which you can use to configure ring-client-api and homebridge-ring. Email: XXXXXXXXXX@XXXXXX.de Password: xXxXxXxXXXxxXXXX Please enter the code sent to +4xxxxxxxxx26 via sms 2fa Code: 942492 Successfully logged in to Ring. Please add the following to your config: "refreshToken": "eyJhbGciOiJIUzUxMiIsImprdSI6Ii9vYXV0aC9pbnRlcm5hbC9qd2tzIiwia2lkIjoiYzEyODEwMGIiLCJ0eXAiOiJKV1QifQ.eyJpYXQiOjz2eNeg2NTc3NDYsImlzcyI6IlJpbmdPYXV0aFNlcnZpY2UtcHJvZDp1cy1lYXN0LTE6M2Q3ZDcxOWYiLCJyZWZyZXNoX2NpZCI6inJpbmdfb2ZmaWNpYWxfYW5kcm9pZCIsInJlZnJlc2hfc2NvcGVzIjpbImNsaWVudCJdLCJuZWZyZXNoX3VzZXJfaWQiOjcyMjIjjE4LCJybmQiOiI2VFJPQ0RQaFBrN0RaQSIsInNlc3Npb25faWQiOiJlMWMwOiY1ZClxNGYyLTRmNGItODI3MC03MjlkZThlNDA3ZTkiLCJ0eXBlIjoicmVmcmVzaC10b2tlbiJ9.QXjUR_BQaxlde8JTxDjcAZby65oAjW0x6inFWlCD_8rAGmyQQf2W_wvRZDWWG8NYVR6ToNuzoQkibxS5e5mxyA" Andy@iobroker:~$Läuft der Adapter wieder für ein paar Stunden....
Hat jemand eine Idee warum das nicht automatisch passiert ?
Adapterversion ist 1.2.8
(Debian 6.3.0-18+deb9u1)
Bist du da wirklich noch mit dem mittlerweile dahingeschiedenen Stretch unterwegs?
-
(Debian 6.3.0-18+deb9u1)
Bist du da wirklich noch mit dem mittlerweile dahingeschiedenen Stretch unterwegs?
@thomas-braun Naja Buster habe ich schon drauf...
Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster -
@thomas-braun Naja Buster habe ich schon drauf...
Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster@andy200877
Dann ist aber dein ffmpeg gegen die falsche Version gebaut worden:ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516Was sagt:
apt policy ffmpeg -
@andy200877
Dann ist aber dein ffmpeg gegen die falsche Version gebaut worden:ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516Was sagt:
apt policy ffmpegIch habe gerade mal Update auf Bullseye angeworfen....
-
Das nützt dir aber nur was, wenn deine Quellen sauber sind. Mich hatte ja mal die Ausgabe zu dem apt policy interessiert.
-
Das nützt dir aber nur was, wenn deine Quellen sauber sind. Mich hatte ja mal die Ausgabe zu dem apt policy interessiert.
Ich weiß nicht ob es Dir noch etwas bringt :
Andy@iobroker:~$ apt policy ffmpeg ffmpeg: Installiert: (keine) Installationskandidat: 7:4.3.3-0+deb11u1 Versionstabelle: 7:4.3.3-0+deb11u1 500 500 http://ftp.debian.org/debian bullseye/main amd64 Packages Andy@iobroker:~$ npx -p ring-client-api ring-auth-cli ffmpeg version 4.3.1 Copyright (c) 2000-2020 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/bu ild/workspace/include --extra-ldflags=-L/build/workspace/lib --extra-libs='-lpthread -lm' --enable-static --disable-debug --disable-share d --disable-ffplay --disable-doc --enable-openssl --enable-gpl --enable-version3 --enable-nonfree --enable-pthreads --enable-libvpx --ena ble-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libx264 --enable-runtime-cpudetect --enable-libfdk-aac --e nable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enable-decoder=h264 --enable-network --enable-pro tocol=tcp --enable-libspeex --enable-demuxer=rtsp --enable-indev=alsa --enable-outdev=alsa libavutil 56. 51.100 / 56. 51.100 libavcodec 58. 91.100 / 58. 91.100 libavformat 58. 45.100 / 58. 45.100 libavdevice 58. 10.100 / 58. 10.100 libavfilter 7. 85.100 / 7. 85.100 libswscale 5. 7.100 / 5. 7.100 libswresample 3. 7.100 / 3. 7.100 libpostproc 55. 7.100 / 55. 7.100 This CLI will provide you with a refresh token which you can use to configure ring-client-api and homebridge-ring.Hm...
ffmpeg:
Installiert: (keine) -
Ich weiß nicht ob es Dir noch etwas bringt :
Andy@iobroker:~$ apt policy ffmpeg ffmpeg: Installiert: (keine) Installationskandidat: 7:4.3.3-0+deb11u1 Versionstabelle: 7:4.3.3-0+deb11u1 500 500 http://ftp.debian.org/debian bullseye/main amd64 Packages Andy@iobroker:~$ npx -p ring-client-api ring-auth-cli ffmpeg version 4.3.1 Copyright (c) 2000-2020 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/bu ild/workspace/include --extra-ldflags=-L/build/workspace/lib --extra-libs='-lpthread -lm' --enable-static --disable-debug --disable-share d --disable-ffplay --disable-doc --enable-openssl --enable-gpl --enable-version3 --enable-nonfree --enable-pthreads --enable-libvpx --ena ble-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libx264 --enable-runtime-cpudetect --enable-libfdk-aac --e nable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enable-decoder=h264 --enable-network --enable-pro tocol=tcp --enable-libspeex --enable-demuxer=rtsp --enable-indev=alsa --enable-outdev=alsa libavutil 56. 51.100 / 56. 51.100 libavcodec 58. 91.100 / 58. 91.100 libavformat 58. 45.100 / 58. 45.100 libavdevice 58. 10.100 / 58. 10.100 libavfilter 7. 85.100 / 7. 85.100 libswscale 5. 7.100 / 5. 7.100 libswresample 3. 7.100 / 3. 7.100 libpostproc 55. 7.100 / 55. 7.100 This CLI will provide you with a refresh token which you can use to configure ring-client-api and homebridge-ring.Hm...
ffmpeg:
Installiert: (keine)@andy200877 sagte in Ring - Adapter Mal wieder Fehler bei Token...:
Dann bringt dieses ring-client-api wohl ein eigenes statisch gelinktes ffmpeg mit. Nicht fein...Aus der ReadMe:
ffmpegPath undefined A custom path to the ffmpeg executable. By default, ffmpeg will be installed using ffmpeg-for-homebridge, and then fall back to using the PATH environment variable.
ffmpegPath Uses ffmpeg-for-homebridge A custom path to the ffmpeg executable. By default, the static binaries built in ffmpeg-for-homebridge will be used. If you prefer to use your own version of ffmpeg, you can pass a complete path, or simply "ffmpeg" to use ffmpeg from your PATH. -
@andy200877 sagte in Ring - Adapter Mal wieder Fehler bei Token...:
Dann bringt dieses ring-client-api wohl ein eigenes statisch gelinktes ffmpeg mit. Nicht fein...Aus der ReadMe:
ffmpegPath undefined A custom path to the ffmpeg executable. By default, ffmpeg will be installed using ffmpeg-for-homebridge, and then fall back to using the PATH environment variable.
ffmpegPath Uses ffmpeg-for-homebridge A custom path to the ffmpeg executable. By default, the static binaries built in ffmpeg-for-homebridge will be used. If you prefer to use your own version of ffmpeg, you can pass a complete path, or simply "ffmpeg" to use ffmpeg from your PATH.Ja scheint wohl so zu sein,
aber das löst nicht mein Problem das ich den API-Key alle paar Stunden manuell neu erstellen muss. -
Ja scheint wohl so zu sein,
aber das löst nicht mein Problem das ich den API-Key alle paar Stunden manuell neu erstellen muss.@andy200877
Hast du mittlerweile eine Lösung für das Thema?
Ich habe das Problem auch und wäre daran interessiert :-) -
Nein... Auch mit der 2.0.0 beta3 kommt nach ein paar Stunden im Log :
executeImmediateGuarded resulted in Error: Error: Error setHistory(): Error: Could noch get Hisotry for 112765740 in getHistory(id).Error: Refresh token is not valid. Unable to authenticate with Ring servers. See https://github.com/dgreif/ring/wiki/Refresh-TokensIm Github des Adapters habe ich auch noch keine Lösung gefunden...