Autor Thema: Ständige Neustarts von Alexa-FHem Connector  (Gelesen 833 mal)

Offline Albi

  • Jr. Member
  • **
  • Beiträge: 75
Ständige Neustarts von Alexa-FHem Connector
« am: 27 Januar 2019, 09:53:10 »
Hallo,

ich habe erfolgreich das Alexa-Fhem Connector Modul am laufen. Es funktioniert auch alles.

Allerdings erhalte ich ständig Meldungen im Logfile von einem Neustart von alexa-fhem

2019.01.27 09:40:59 3: alexa: read: end of file reached while sysread
2019.01.27 09:40:59 3: alexa: alexaFHEM stopped
2019.01.27 09:40:59 3: alexa: alexaFHEM starting
2019.01.27 09:40:59 2: alexa: starting alexa-fhem: /usr/local/bin/alexa-fhem -c ./alexa-fhem.cfg -a xx:xx
2019.01.27 09:40:59 3: alexa: using logfile: ./log/alexa-2019-01-27.log
2019.01.27 09:41:20 3: alexa: read: end of file reached while sysread
2019.01.27 09:41:20 3: alexa: alexaFHEM stopped
2019.01.27 09:41:40 3: alexa: alexaFHEM starting
2019.01.27 09:41:40 2: alexa: starting alexa-fhem: /usr/local/bin/alexa-fhem -c ./alexa-fhem.cfg -a xx:xx
2019.01.27 09:41:40 3: alexa: using logfile: ./log/alexa-2019-01-27.log



Das ist der Auszug aus dem Logfile

[2019-1-27 09:41:04] BearerToken '...609FA' read from alexa
[2019-1-27 09:41:04] 39_alexa.pm is new version: true
[2019-1-27 09:41:04] sshautoconf: completed successfully
[2019-1-27 09:41:04] *** SSH: proxy configuration set up done
[2019-1-27 09:41:04] Reading alexaFHEM.ProxyConnection set to starting;; starting SSH
[2019-1-27 09:41:04] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bsetreading%20alexa%20alexaFHEM.ProxyConnection%20starting%3B%3B%20starting%20SSH%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=lassmichrein&XHR=1
[2019-1-27 09:41:04] Starting SSH with -R 1234:127.0.0.1:40705 -oServerAliveInterval=90 -i /opt/fhem/.ssh/id_rsa -p 58824 fhem-va.fhem.de
[2019-1-27 09:41:04] [FHEM] got .eventToken
[2019-1-27 09:41:04] refreshing token
[2019-1-27 09:41:04] got fresh token
[2019-1-27 09:41:04] Reading alexaFHEM.ProxyConnection set to running;; SSH connected
[2019-1-27 09:41:04] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bsetreading%20alexa%20alexaFHEM.ProxyConnection%20running%3B%3B%20SSH%20connected%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=lassmichrein&XHR=1
[2019-1-27 09:41:04] *** SSH: proxy connection established
[2019-1-27 09:41:04] SSH: Welcome at the reverse proxy!  This pseudoshell does not react to any input - do not get irritated. 
[2019-1-27 09:41:19] [FHEM] longpoll ended, reconnect in: 200msec
[2019-1-27 09:41:20] [FHEM] trying longpoll to listen for fhem events
[2019-1-27 09:41:20] [FHEM] starting longpoll: http://127.0.0.1:8083/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON&timestamp=1548578480027
[2019-1-27 09:41:20] [FHEM] got csrfToken: lassmichrein
[2019-1-27 09:41:20] [FHEM] Checking devices and attributes...
[2019-1-27 09:41:20] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3B%7BAttrVal(%22global%22%2C%22userattr%22%2C%22%22)%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=lassmichrein&XHR=1
[2019-1-27 09:41:20] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bjsonlist2%20TYPE%3Dalexa%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=lassmichrein&XHR=1
[2019-1-27 09:41:20] [FHEM] waiting for events ...
[2019-1-27 09:41:20] [FHEM] Fetching FHEM devices...
[2019-1-27 09:41:20] [FHEM] fetching: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20alexaName=..*&fwcsrf=lassmichrein&XHR=1
[2019-1-27 09:41:20] [FHEM] alexa device is alexa
[2019-1-27 09:41:20] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22alexa-fhem%20version%22%7D%20%3D%20%220.5.13%22%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=lassmichrein&XHR=1
[2019-1-27 09:41:20] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bget%20alexa%20proxyToken%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=lassmichrein&XHR=1
[2019-1-27 09:41:20] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Blist%20alexa%20.eventToken%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=lassmichrein&XHR=1
[2019-1-27 09:41:20] Server emitted error: {"errno":"EADDRINUSE","code":"EADDRINUSE","syscall":"listen","address":"127.0.0.1","port":40705}
[2019-1-27 09:41:20] Terminating - starting the listener not possible (another instance running?)
[2019-1-27 09:41:41] using config from ./alexa-fhem.cfg
*** CONFIG: parsed completely
[2019-1-27 09:41:41] os.homedir()=/opt/fhem
[2019-1-27 09:41:41] this is alexa-fhem 0.5.13
[2019-1-27 09:41:41] connecting to FHEM ...
[2019-1-27 09:41:42] [FHEM] trying longpoll to listen for fhem events
[2019-1-27 09:41:42] [FHEM] starting longpoll: http://127.0.0.1:8083/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON&timestamp=1548578502762
[2019-1-27 09:41:42] [FHEM] got csrfToken: lassmichrein
[2019-1-27 09:41:42] [FHEM] Checking devices and attributes...
[2019-1-27 09:41:42] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7BAttrVal(%22global%22%2C%22userattr%22%2C%22%22)%7D&fwcsrf=lassmichrein&XHR=1
[2019-1-27 09:41:42] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20TYPE%3Dalexa&fwcsrf=lassmichrein&XHR=1
[2019-1-27 09:41:43] [FHEM] waiting for events ...
[2019-1-27 09:41:43] [FHEM] Fetching FHEM devices...
[2019-1-27 09:41:43] [FHEM] fetching: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20alexaName=..*&fwcsrf=lassmichrein&XHR=1
[2019-1-27 09:41:43] [FHEM] alexa device is alexa
[2019-1-27 09:41:43] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22alexa-fhem%20version%22%7D%20%3D%20%220.5.13%22%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=lassmichrein&XHR=1
[2019-1-27 09:41:43] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bget%20alexa%20proxyToken%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=lassmichrein&XHR=1
[2019-1-27 09:41:43] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Blist%20alexa%20.eventToken%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=lassmichrein&XHR=1
[2019-1-27 09:41:43] Server listening on: http://127.0.0.1:44604 for proxy connections
[2019-1-27 09:41:43] *** SSH: checking proxy configuration
[2019-1-27 09:41:43] sshautoconf: home=/opt/fhem, spath=/opt/fhem/.alexa, cpath=./alexa-fhem.cfg, sshpath=/opt/fhem/.ssh
[2019-1-27 09:41:43] Passed config: {"sshproxy":{"ssh":"/usr/bin/ssh","description":"FHEM Connector","options":["-i","/opt/fhem/.ssh/id_rsa","-p",58824,"fhem-va.fhem.de"],"bind-ip":"127.0.0.1","port":44604},"connections":[{"uid":999,"server":"127.0.0.1","filter":"alexaName=..*","port":"8083","name":"FHEM","webname":"fhem"}]}
[2019-1-27 09:41:43] sshautoconf: SSH key seems to exist
[2019-1-27 09:41:44] sshautoconf: Our SSH key is known at the reverse proxy, good!
[2019-1-27 09:41:44] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bjsonlist2%20alexa%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=lassmichrein&XHR=1
*** FHEM: connected


Woran könnte das liegen?

Gruß Albi

Offline gvzdus

  • Full Member
  • ***
  • Beiträge: 241
Antw:Ständige Neustarts von Alexa-FHem Connector
« Antwort #1 am: 27 Januar 2019, 13:17:49 »
Unglücklich ist alexa-fhem auf jeden Fall hier:

[2019-1-27 09:41:20] Server emitted error: {"errno":"EADDRINUSE","code":"EADDRINUSE","syscall":"listen","address":"127.0.0.1","port":40705}
[2019-1-27 09:41:20] Terminating - starting the listener not possible (another instance running?)

Das ist aber schon sonderbar, denn selbst, wenn mehrere Prozesse laufen sollten, dürfte es eigentlich kein derartiges Problem verursachen, da der Listener-Port bei jedem Start neu "ausgewürfelt" wird. Prüfungsbitte 1 trotzdem: Wenn Du mit "ps -ef | grep alexa" guckst: Läuft da auch definitiv stets maximal 1 Prozess?

Offline justme1968

  • Developer
  • Hero Member
  • ****
  • Beiträge: 19073
Antw:Ständige Neustarts von Alexa-FHem Connector
« Antwort #2 am: 27 Januar 2019, 13:52:43 »
hast du jedes mal die EADDRINUSE meldung?
FHEM5.4,DS1512+,2xCULv3,DS9490R,HMLAN,2xRasPi
CUL_HM:HM-LC-Bl1PBU-FM,HM-LC-Sw1PBU-FM,HM-SEC-MDIR,HM-SEC-RHS
HUEBridge,HUEDevice:LCT001,LLC001,LLC006,LWL001
OWDevice:DS1420,DS18B20,DS2406,DS2423
FS20:fs20as4,fs20bs,fs20di
AKCP:THS01,WS15
CUL_WS:S300TH

Offline Albi

  • Jr. Member
  • **
  • Beiträge: 75
Antw:Ständige Neustarts von Alexa-FHem Connector
« Antwort #3 am: 27 Januar 2019, 18:50:02 »
Hallo,

ja die Meldung wiederholt sich

[2019-1-27 17:40:30] [FHEM] longpoll ended, reconnect in: 200msec
[2019-1-27 17:40:30] [FHEM] trying longpoll to listen for fhem events
[2019-1-27 17:40:30] [FHEM] starting longpoll: http://127.0.0.1:8083/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=1548607215.028;fmt=JSON&timestamp=1548607230644
[2019-1-27 17:40:57] [FHEM] got csrfToken: lassmichrein
[2019-1-27 17:40:57] [FHEM] Checking devices and attributes...
[2019-1-27 17:40:57] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3B%7BAttrVal(%22global%22%2C%22userattr%22%2C%22%22)%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=lassmichrein&XHR=1
[2019-1-27 17:40:57] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bjsonlist2%20TYPE%3Dalexa%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=lassmichrein&XHR=1
[2019-1-27 17:40:57] [FHEM] waiting for events ...
[2019-1-27 17:40:57] [FHEM] Fetching FHEM devices...
[2019-1-27 17:40:57] [FHEM] fetching: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20alexaName=..*&fwcsrf=lassmichrein&XHR=1
[2019-1-27 17:40:57] [FHEM] alexa device is alexa
[2019-1-27 17:40:57] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22alexa-fhem%20version%22%7D%20%3D%20%220.5.13%22%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=lassmichrein&XHR=1
[2019-1-27 17:40:57] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bget%20alexa%20proxyToken%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=lassmichrein&XHR=1
[2019-1-27 17:40:57] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Blist%20alexa%20.eventToken%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=lassmichrein&XHR=1
[2019-1-27 17:40:57] Server emitted error: {"errno":"EADDRINUSE","code":"EADDRINUSE","syscall":"listen","address":"127.0.0.1","port":41070}
[2019-1-27 17:40:57] Terminating - starting the listener not possible (another instance running?)
[2019-1-27 17:40:59] using config from ./alexa-fhem.cfg
*** CONFIG: parsed completely


Dieser "Neustart" Wiederholt sich immer genau stündlich...

Also momentan 16:40 - 17:40 - 18:40 usw usw
« Letzte Änderung: 27 Januar 2019, 19:04:19 von Albi »

Offline justme1968

  • Developer
  • Hero Member
  • ****
  • Beiträge: 19073
Antw:Ständige Neustarts von Alexa-FHem Connector
« Antwort #4 am: 27 Januar 2019, 19:03:27 »
ich habe gerade keine idee...

eigentlich kann das nicht passieren das der proxy listener den port selber bestimmt und hier den nächsten freien nimmt. das der dann belegt ist sollte nicht passieren.

du hast nicht zufällig noch einen alten autostart laufen?
FHEM5.4,DS1512+,2xCULv3,DS9490R,HMLAN,2xRasPi
CUL_HM:HM-LC-Bl1PBU-FM,HM-LC-Sw1PBU-FM,HM-SEC-MDIR,HM-SEC-RHS
HUEBridge,HUEDevice:LCT001,LLC001,LLC006,LWL001
OWDevice:DS1420,DS18B20,DS2406,DS2423
FS20:fs20as4,fs20bs,fs20di
AKCP:THS01,WS15
CUL_WS:S300TH

Offline Albi

  • Jr. Member
  • **
  • Beiträge: 75
Antw:Ständige Neustarts von Alexa-FHem Connector
« Antwort #5 am: 27 Januar 2019, 19:33:21 »
Hmm,

Konnte es sein, dass ich alexa fhem mit der "alten" Methode noch irgendwo mit drinnen habe.

Wie kann ich schauen ob Alexa-Fhem mehrmals gestartet wurde/wird

Da war doch irgenwas mit rc-update?


Vielleicht startet der raspberry tatsächlich Alexa-Fhem mehrmals


Ich mache mich mal auf die Suche....

Gruß Albi

Offline Muk.s

  • New Member
  • *
  • Beiträge: 47
Antw:Ständige Neustarts von Alexa-FHem Connector
« Antwort #6 am: 05 Februar 2019, 18:58:06 »
Hi,
Gibt es hierzu schon neue Erkenntnisse?
Auch bei mir gibt es stündlich Neustarts bzw Reconnects.
Ich hatte bisher keinen Alexa Fhem Skill in Benutzung, eine Überschneidung bzw Reste einer alten Installation kann ich daher ausschließen.

Grüße
Michael

Offline justme1968

  • Developer
  • Hero Member
  • ****
  • Beiträge: 19073
Antw:Ständige Neustarts von Alexa-FHem Connector
« Antwort #7 am: 05 Februar 2019, 18:59:28 »
und du hast die gleichen log meldungen?
FHEM5.4,DS1512+,2xCULv3,DS9490R,HMLAN,2xRasPi
CUL_HM:HM-LC-Bl1PBU-FM,HM-LC-Sw1PBU-FM,HM-SEC-MDIR,HM-SEC-RHS
HUEBridge,HUEDevice:LCT001,LLC001,LLC006,LWL001
OWDevice:DS1420,DS18B20,DS2406,DS2423
FS20:fs20as4,fs20bs,fs20di
AKCP:THS01,WS15
CUL_WS:S300TH

Offline Muk.s

  • New Member
  • *
  • Beiträge: 47
Antw:Ständige Neustarts von Alexa-FHem Connector
« Antwort #8 am: 05 Februar 2019, 19:32:02 »
Hier mal ein Auszug aus dem Log
2.2019, 04:02:56] [FHEM] longpoll ended, reconnect in: 200msec
[5.2.2019, 04:02:57] [FHEM] trying longpoll to listen for fhem events
[5.2.2019, 04:02:57] [FHEM] starting longpoll: http://127.0.0.1:8083/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=1549335647.644;fmt=JSON&timestamp=1549335777004
[5.2.2019, 04:03:05] [FHEM] got csrfToken: aRg7Bx39fF
[5.2.2019, 04:03:05] [FHEM] Checking devices and attributes...
[5.2.2019, 04:03:05] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3B%7BAttrVal(%22global%22%2C%22userattr%22%2C%22%22)%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=aRg7Bx39fF&XHR=1
[5.2.2019, 04:03:05] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bjsonlist2%20TYPE%3Dalexa%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=aRg7Bx39fF&XHR=1
[5.2.2019, 04:03:05] [FHEM] waiting for events ...
[5.2.2019, 04:03:05] [FHEM] Fetching FHEM devices...
[5.2.2019, 04:03:05] [FHEM] fetching: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20alexaName=..*&fwcsrf=aRg7Bx39fF&XHR=1
[5.2.2019, 04:03:05] [FHEM] alexa device is alexa

Passiert stündlich fast auf Sekunde genau.

/Michael




Offline justme1968

  • Developer
  • Hero Member
  • ****
  • Beiträge: 19073
Antw:Ständige Neustarts von Alexa-FHem Connector
« Antwort #9 am: 05 Februar 2019, 19:35:15 »
das ist kein neustart sondern nur ein reconnect für longpoll.

das ist normal und kein problem.

FHEM5.4,DS1512+,2xCULv3,DS9490R,HMLAN,2xRasPi
CUL_HM:HM-LC-Bl1PBU-FM,HM-LC-Sw1PBU-FM,HM-SEC-MDIR,HM-SEC-RHS
HUEBridge,HUEDevice:LCT001,LLC001,LLC006,LWL001
OWDevice:DS1420,DS18B20,DS2406,DS2423
FS20:fs20as4,fs20bs,fs20di
AKCP:THS01,WS15
CUL_WS:S300TH

Offline Muk.s

  • New Member
  • *
  • Beiträge: 47
Antw:Ständige Neustarts von Alexa-FHem Connector
« Antwort #10 am: 05 Februar 2019, 20:31:47 »
OK, Danke für die Info.
Hatte mich nur verwundert das ich diese stündlichen Meldungen auf meinem Testsystem nicht habe.

Wie kann man denn das Logging reduzieren oder ausschalten? Attr verbose 0 scheint jedenfalls keinen Einfluss zu haben.

/Michael

Offline Muk.s

  • New Member
  • *
  • Beiträge: 47
Antw:Ständige Neustarts von Alexa-FHem Connector
« Antwort #11 am: 08 Februar 2019, 15:22:23 »
Da es auf meinem Testsystem keine longpoll reconnects gab und ich auf dem Produktionssystem in letzter Zeit auch vermehrt Reconnects des HMLan hatte, habe ich das ganze mal näher analysiert.
Die longpoll reconnects gingen immer einher mit einem Neustart von alexa-fhem und auch die EADDRINUSE Meldungen fanden sich regelmäßig in den Logs. Auffällig war, das diese Reconnects stündlich fast auf die Minute genau erfolgten und auch die Reconnects des HMLan zeitnah erfolgten. Ich könnte schließlich das Weather Modul in Verbindung mit der OpenWeatherMapAPI als Übeltäter identifizieren. Bei deaktiviertem Weather Modul gibt es weder longpoll reconnects noch Neustarts von Alexa-fhem und auch die Reconnects des HMLan sind verschwunden.

/Michael

Offline justme1968

  • Developer
  • Hero Member
  • ****
  • Beiträge: 19073
Antw:Ständige Neustarts von Alexa-FHem Connector
« Antwort #12 am: 08 Februar 2019, 16:20:36 »
die reinen longpoll reconnects sind in so weit normal weil die http connection nach einer weile zu gemacht werden muss da alle aufgelaufenen daten zwischengespeichert werden. der unterschied von test und produktivsystem ist vermutlich die menge an events. bei websocket ist das nicht nötig. das wäre eine option.

das EADDRINUSE ist aber ein problem. der hinweis auf WEATHER ist aber gut. mir ist vor einiger zeit ein problem mit fork im weather modul bemerkt und das hier könnte damit zusammen hängen.
FHEM5.4,DS1512+,2xCULv3,DS9490R,HMLAN,2xRasPi
CUL_HM:HM-LC-Bl1PBU-FM,HM-LC-Sw1PBU-FM,HM-SEC-MDIR,HM-SEC-RHS
HUEBridge,HUEDevice:LCT001,LLC001,LLC006,LWL001
OWDevice:DS1420,DS18B20,DS2406,DS2423
FS20:fs20as4,fs20bs,fs20di
AKCP:THS01,WS15
CUL_WS:S300TH

Offline Dr. Boris Neubert

  • Global Moderator
  • Hero Member
  • ****
  • Beiträge: 4457
Antw:Ständige Neustarts von Alexa-FHem Connector
« Antwort #13 am: 08 Februar 2019, 19:56:27 »
der hinweis auf WEATHER ist aber gut. mir ist vor einiger zeit ein problem mit fork im weather modul bemerkt und das hier könnte damit zusammen hängen.

Habe das Thema auf dem Schirm. Bin derzeit nur sehr eingeschränkt in der Lage, mich mit FHEM zu befassen. Ich sehe mir zu gegebener Zeit an, wie ich die fork-Sache überarbeite.

Grüße
Boris
Globaler Moderator, Developer, aktives Mitglied des FHEM e.V. (Marketing, Verwaltung)
Bitte keine unaufgeforderten privaten Nachrichten!

Offline PingPong

  • Full Member
  • ***
  • Beiträge: 178
Antw:Ständige Neustarts von Alexa-FHem Connector
« Antwort #14 am: 15 April 2019, 14:51:45 »
Hallo zusammen,

ich habe ebenfalls das Problem mit den EADDRINUSE Meldungen.
Diese treten bei mir allerdings minütlich auf.

Das Weather Modul habe ich bereits auf disabled gesetzt - das Problem besteht aber weiterhin.
Gibt es hier noch weitere Erkenntnisse/Ideen?

[2019-4-15 14:39:40] [FHEM] got: 0 results
[2019-4-15 14:39:40] [FHEM] got .eventToken
[2019-4-15 14:39:40] refreshing token
[2019-4-15 14:39:40] 39_alexa.pm is new version: true
[2019-4-15 14:39:40] sshautoconf: completed successfully
[2019-4-15 14:39:40] *** SSH: proxy configuration set up done
[2019-4-15 14:39:40] Reading alexaFHEM.ProxyConnection set to starting;; starting SSH
[2019-4-15 14:39:40] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bsetreading%20alexa%20alexaFHEM.ProxyConnection%20starting%3B%3B%20starting%20SSH%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:39:40] Starting SSH with -R 1234:127.0.0.1:38929 -oServerAliveInterval=90 -i /opt/fhem/.ssh/id_rsa -p 58824 fhem-va.fhem.de
[2019-4-15 14:39:40] BearerToken '...7072A' read from alexa
[2019-4-15 14:39:40] Reading alexaFHEM.ProxyConnection set to running;; SSH connected
[2019-4-15 14:39:40] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bsetreading%20alexa%20alexaFHEM.ProxyConnection%20running%3B%3B%20SSH%20connected%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:39:40] *** SSH: proxy connection established
[2019-4-15 14:39:40] SSH: Welcome at the reverse proxy!  This pseudoshell does not react to any input - do not get irritated. 
[2019-4-15 14:39:40] got fresh token
[2019-4-15 14:40:36] [FHEM] longpoll ended, reconnect in: 200msec
[2019-4-15 14:40:36] [FHEM] trying longpoll to listen for fhem events
[2019-4-15 14:40:36] [FHEM] starting longpoll: http://127.0.0.1:8083/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON×tamp=1555332036785
[2019-4-15 14:40:38] [FHEM] got csrfToken: myhcconnToken
[2019-4-15 14:40:38] [FHEM] Checking devices and attributes...
[2019-4-15 14:40:38] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3B%7BAttrVal(%22global%22%2C%22userattr%22%2C%22%22)%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:40:38] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bjsonlist2%20TYPE%3Dalexa%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:40:38] [FHEM] waiting for events ...
[2019-4-15 14:40:38] [FHEM] Fetching FHEM devices...
[2019-4-15 14:40:38] [FHEM] fetching: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20alexaName=..*&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:40:42] [FHEM] alexa device is alexa
[2019-4-15 14:40:42] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22alexa-fhem%20version%22%7D%20%3D%20%220.5.26%22%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:40:42] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bget%20alexa%20proxyToken%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:40:42] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Blist%20alexa%20.eventToken%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:40:42] Server emitted error: {"code":"EADDRINUSE","errno":"EADDRINUSE","syscall":"listen","address":"127.0.0.1","port":38929}
[2019-4-15 14:40:42] Terminating - starting the listener not possible (another instance running?)
[2019-4-15 14:40:43] using config from ./alexa-fhem.cfg
*** CONFIG: parsed completely
[2019-4-15 14:40:43] os.homedir()=/opt/fhem
[2019-4-15 14:40:43] this is alexa-fhem 0.5.26
[2019-4-15 14:40:43] connecting to FHEM ...
[2019-4-15 14:40:43] [FHEM] trying longpoll to listen for fhem events
[2019-4-15 14:40:43] [FHEM] starting longpoll: http://127.0.0.1:8083/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON×tamp=1555332043651
[2019-4-15 14:40:43] [FHEM] got csrfToken: myhcconnToken
[2019-4-15 14:40:43] [FHEM] Checking devices and attributes...
[2019-4-15 14:40:43] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7BAttrVal(%22global%22%2C%22userattr%22%2C%22%22)%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:40:43] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20TYPE%3Dalexa&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:40:43] [FHEM] waiting for events ...
[2019-4-15 14:40:43] [FHEM] Fetching FHEM devices...
[2019-4-15 14:40:43] [FHEM] fetching: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20alexaName=..*&fwcsrf=myhcconnToken&XHR=1
*** FHEM: connected
[2019-4-15 14:40:43] [FHEM] got: 0 results
[2019-4-15 14:40:43] [FHEM] alexa device is alexa
[2019-4-15 14:40:43] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22alexa-fhem%20version%22%7D%20%3D%20%220.5.26%22%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:40:43] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bget%20alexa%20proxyToken%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:40:43] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Blist%20alexa%20.eventToken%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:40:44] Server listening on: http://127.0.0.1:33209 for proxy connections
[2019-4-15 14:40:44] *** SSH: checking proxy configuration
[2019-4-15 14:40:44] sshautoconf: home=/opt/fhem, spath=/opt/fhem/.alexa, cpath=./alexa-fhem.cfg, sshpath=/opt/fhem/.ssh
[2019-4-15 14:40:44] Passed config: {"connections":[{"filter":"alexaName=..*","name":"FHEM","webname":"fhem","uid":999,"port":"8083","server":"127.0.0.1"}],"sshproxy":{"description":"FHEM Connector","ssh":"/usr/bin/ssh","options":["-i","/opt/fhem/.ssh/id_rsa","-p",58824,"fhem-va.fhem.de"],"bind-ip":"127.0.0.1","port":33209}}
[2019-4-15 14:40:44] sshautoconf: SSH key seems to exist
[2019-4-15 14:40:44] sshautoconf: Our SSH key is known at the reverse proxy, good!
[2019-4-15 14:40:44] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bjsonlist2%20alexa%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:40:44] 39_alexa.pm is new version: true
[2019-4-15 14:40:44] sshautoconf: completed successfully
[2019-4-15 14:40:44] *** SSH: proxy configuration set up done
[2019-4-15 14:40:44] Reading alexaFHEM.ProxyConnection set to starting;; starting SSH
[2019-4-15 14:40:44] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bsetreading%20alexa%20alexaFHEM.ProxyConnection%20starting%3B%3B%20starting%20SSH%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:40:44] Starting SSH with -R 1234:127.0.0.1:33209 -oServerAliveInterval=90 -i /opt/fhem/.ssh/id_rsa -p 58824 fhem-va.fhem.de
[2019-4-15 14:40:44] [FHEM] got .eventToken
[2019-4-15 14:40:44] refreshing token
[2019-4-15 14:40:44] BearerToken '...7072A' read from alexa
[2019-4-15 14:40:44] Reading alexaFHEM.ProxyConnection set to running;; SSH connected
[2019-4-15 14:40:44] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bsetreading%20alexa%20alexaFHEM.ProxyConnection%20running%3B%3B%20SSH%20connected%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:40:44] *** SSH: proxy connection established
[2019-4-15 14:40:44] SSH: Welcome at the reverse proxy!  This pseudoshell does not react to any input - do not get irritated. 
[2019-4-15 14:40:44] got fresh token
[2019-4-15 14:41:39] [FHEM] longpoll ended, reconnect in: 200msec
[2019-4-15 14:41:39] [FHEM] trying longpoll to listen for fhem events
[2019-4-15 14:41:39] [FHEM] starting longpoll: http://127.0.0.1:8083/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON×tamp=1555332099777
[2019-4-15 14:41:41] [FHEM] got csrfToken: myhcconnToken
[2019-4-15 14:41:41] [FHEM] Checking devices and attributes...
[2019-4-15 14:41:41] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3B%7BAttrVal(%22global%22%2C%22userattr%22%2C%22%22)%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:41:41] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bjsonlist2%20TYPE%3Dalexa%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:41:41] [FHEM] waiting for events ...
[2019-4-15 14:41:41] [FHEM] Fetching FHEM devices...
[2019-4-15 14:41:41] [FHEM] fetching: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20alexaName=..*&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:41:44] [FHEM] alexa device is alexa
[2019-4-15 14:41:44] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22alexa-fhem%20version%22%7D%20%3D%20%220.5.26%22%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:41:44] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bget%20alexa%20proxyToken%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:41:44] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Blist%20alexa%20.eventToken%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:41:44] Server emitted error: {"code":"EADDRINUSE","errno":"EADDRINUSE","syscall":"listen","address":"127.0.0.1","port":33209}
[2019-4-15 14:41:44] Terminating - starting the listener not possible (another instance running?)
[2019-4-15 14:41:45] using config from ./alexa-fhem.cfg
*** CONFIG: parsed completely
[2019-4-15 14:41:45] os.homedir()=/opt/fhem
[2019-4-15 14:41:45] this is alexa-fhem 0.5.26
[2019-4-15 14:41:45] connecting to FHEM ...
[2019-4-15 14:41:45] [FHEM] trying longpoll to listen for fhem events
[2019-4-15 14:41:45] [FHEM] starting longpoll: http://127.0.0.1:8083/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON×tamp=1555332105695
[2019-4-15 14:41:45] [FHEM] got csrfToken: myhcconnToken
[2019-4-15 14:41:45] [FHEM] Checking devices and attributes...
[2019-4-15 14:41:45] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7BAttrVal(%22global%22%2C%22userattr%22%2C%22%22)%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:41:45] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20TYPE%3Dalexa&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:41:45] [FHEM] waiting for events ...
[2019-4-15 14:41:45] [FHEM] Fetching FHEM devices...
[2019-4-15 14:41:45] [FHEM] fetching: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20alexaName=..*&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:41:45] [FHEM] alexa device is alexa
[2019-4-15 14:41:46] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22alexa-fhem%20version%22%7D%20%3D%20%220.5.26%22%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:41:46] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bget%20alexa%20proxyToken%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:41:46] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Blist%20alexa%20.eventToken%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:41:46] Server listening on: http://127.0.0.1:43565 for proxy connections
[2019-4-15 14:41:46] *** SSH: checking proxy configuration
[2019-4-15 14:41:46] sshautoconf: home=/opt/fhem, spath=/opt/fhem/.alexa, cpath=./alexa-fhem.cfg, sshpath=/opt/fhem/.ssh
[2019-4-15 14:41:46] Passed config: {"connections":[{"filter":"alexaName=..*","name":"FHEM","webname":"fhem","uid":999,"port":"8083","server":"127.0.0.1"}],"sshproxy":{"description":"FHEM Connector","ssh":"/usr/bin/ssh","options":["-i","/opt/fhem/.ssh/id_rsa","-p",58824,"fhem-va.fhem.de"],"bind-ip":"127.0.0.1","port":43565}}
[2019-4-15 14:41:46] sshautoconf: SSH key seems to exist
[2019-4-15 14:41:46] sshautoconf: Our SSH key is known at the reverse proxy, good!
[2019-4-15 14:41:46] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bjsonlist2%20alexa%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
*** FHEM: connected
[2019-4-15 14:41:46] [FHEM] got: 0 results
[2019-4-15 14:41:46] [FHEM] got .eventToken
[2019-4-15 14:41:46] refreshing token
[2019-4-15 14:41:46] BearerToken '...7072A' read from alexa
[2019-4-15 14:41:46] 39_alexa.pm is new version: true
[2019-4-15 14:41:46] sshautoconf: completed successfully
[2019-4-15 14:41:46] *** SSH: proxy configuration set up done
[2019-4-15 14:41:46] Reading alexaFHEM.ProxyConnection set to starting;; starting SSH
[2019-4-15 14:41:46] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bsetreading%20alexa%20alexaFHEM.ProxyConnection%20starting%3B%3B%20starting%20SSH%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:41:46] Starting SSH with -R 1234:127.0.0.1:43565 -oServerAliveInterval=90 -i /opt/fhem/.ssh/id_rsa -p 58824 fhem-va.fhem.de
[2019-4-15 14:41:46] got fresh token
[2019-4-15 14:41:46] Reading alexaFHEM.ProxyConnection set to running;; SSH connected
[2019-4-15 14:41:46] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bsetreading%20alexa%20alexaFHEM.ProxyConnection%20running%3B%3B%20SSH%20connected%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:41:46] *** SSH: proxy connection established
[2019-4-15 14:41:46] SSH: Welcome at the reverse proxy!  This pseudoshell does not react to any input - do not get irritated. 
[2019-4-15 14:42:42] [FHEM] longpoll ended, reconnect in: 200msec
[2019-4-15 14:42:42] [FHEM] trying longpoll to listen for fhem events
[2019-4-15 14:42:42] [FHEM] starting longpoll: http://127.0.0.1:8083/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON×tamp=1555332162786
[2019-4-15 14:42:44] [FHEM] got csrfToken: myhcconnToken
[2019-4-15 14:42:44] [FHEM] Checking devices and attributes...
[2019-4-15 14:42:44] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3B%7BAttrVal(%22global%22%2C%22userattr%22%2C%22%22)%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:42:44] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bjsonlist2%20TYPE%3Dalexa%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:42:44] [FHEM] waiting for events ...
[2019-4-15 14:42:44] [FHEM] Fetching FHEM devices...
[2019-4-15 14:42:44] [FHEM] fetching: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20alexaName=..*&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:42:46] [FHEM] alexa device is alexa
[2019-4-15 14:42:46] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22alexa-fhem%20version%22%7D%20%3D%20%220.5.26%22%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:42:46] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bget%20alexa%20proxyToken%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:42:46] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Blist%20alexa%20.eventToken%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:42:46] Server emitted error: {"code":"EADDRINUSE","errno":"EADDRINUSE","syscall":"listen","address":"127.0.0.1","port":43565}
[2019-4-15 14:42:46] Terminating - starting the listener not possible (another instance running?)
[2019-4-15 14:42:47] using config from ./alexa-fhem.cfg
*** CONFIG: parsed completely
[2019-4-15 14:42:47] os.homedir()=/opt/fhem
[2019-4-15 14:42:47] this is alexa-fhem 0.5.26
[2019-4-15 14:42:47] connecting to FHEM ...
[2019-4-15 14:42:48] [FHEM] trying longpoll to listen for fhem events
[2019-4-15 14:42:48] [FHEM] starting longpoll: http://127.0.0.1:8083/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON×tamp=1555332168254
[2019-4-15 14:42:48] [FHEM] got csrfToken: myhcconnToken
[2019-4-15 14:42:48] [FHEM] Checking devices and attributes...
[2019-4-15 14:42:48] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7BAttrVal(%22global%22%2C%22userattr%22%2C%22%22)%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:42:48] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20TYPE%3Dalexa&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:42:48] [FHEM] waiting for events ...
[2019-4-15 14:42:48] [FHEM] Fetching FHEM devices...
[2019-4-15 14:42:48] [FHEM] fetching: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20alexaName=..*&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:42:48] [FHEM] alexa device is alexa
[2019-4-15 14:42:48] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22alexa-fhem%20version%22%7D%20%3D%20%220.5.26%22%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:42:48] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bget%20alexa%20proxyToken%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:42:48] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Blist%20alexa%20.eventToken%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:42:48] Server listening on: http://127.0.0.1:40553 for proxy connections
[2019-4-15 14:42:48] *** SSH: checking proxy configuration
[2019-4-15 14:42:48] sshautoconf: home=/opt/fhem, spath=/opt/fhem/.alexa, cpath=./alexa-fhem.cfg, sshpath=/opt/fhem/.ssh
[2019-4-15 14:42:48] Passed config: {"connections":[{"filter":"alexaName=..*","name":"FHEM","webname":"fhem","uid":999,"port":"8083","server":"127.0.0.1"}],"sshproxy":{"description":"FHEM Connector","ssh":"/usr/bin/ssh","options":["-i","/opt/fhem/.ssh/id_rsa","-p",58824,"fhem-va.fhem.de"],"bind-ip":"127.0.0.1","port":40553}}
[2019-4-15 14:42:48] sshautoconf: SSH key seems to exist
[2019-4-15 14:42:48] sshautoconf: Our SSH key is known at the reverse proxy, good!
[2019-4-15 14:42:48] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bjsonlist2%20alexa%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
*** FHEM: connected
[2019-4-15 14:42:48] [FHEM] got: 0 results
[2019-4-15 14:42:48] [FHEM] got .eventToken
[2019-4-15 14:42:48] refreshing token
[2019-4-15 14:42:48] BearerToken '...7072A' read from alexa
[2019-4-15 14:42:48] 39_alexa.pm is new version: true
[2019-4-15 14:42:48] sshautoconf: completed successfully
[2019-4-15 14:42:48] *** SSH: proxy configuration set up done
[2019-4-15 14:42:48] Reading alexaFHEM.ProxyConnection set to starting;; starting SSH
[2019-4-15 14:42:48] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bsetreading%20alexa%20alexaFHEM.ProxyConnection%20starting%3B%3B%20starting%20SSH%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:42:48] Starting SSH with -R 1234:127.0.0.1:40553 -oServerAliveInterval=90 -i /opt/fhem/.ssh/id_rsa -p 58824 fhem-va.fhem.de
[2019-4-15 14:42:49] Reading alexaFHEM.ProxyConnection set to running;; SSH connected
[2019-4-15 14:42:49] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bsetreading%20alexa%20alexaFHEM.ProxyConnection%20running%3B%3B%20SSH%20connected%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:42:49] *** SSH: proxy connection established
[2019-4-15 14:42:49] SSH: Welcome at the reverse proxy!  This pseudoshell does not react to any input - do not get irritated. 
[2019-4-15 14:42:49] got fresh token
[2019-4-15 14:43:45] [FHEM] longpoll ended, reconnect in: 200msec
[2019-4-15 14:43:45] [FHEM] trying longpoll to listen for fhem events
[2019-4-15 14:43:45] [FHEM] starting longpoll: http://127.0.0.1:8083/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON×tamp=1555332225738
[2019-4-15 14:43:47] [FHEM] got csrfToken: myhcconnToken
[2019-4-15 14:43:47] [FHEM] Checking devices and attributes...
[2019-4-15 14:43:47] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3B%7BAttrVal(%22global%22%2C%22userattr%22%2C%22%22)%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:43:47] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bjsonlist2%20TYPE%3Dalexa%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:43:47] [FHEM] waiting for events ...
[2019-4-15 14:43:47] [FHEM] Fetching FHEM devices...
[2019-4-15 14:43:47] [FHEM] fetching: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20alexaName=..*&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:43:49] [FHEM] alexa device is alexa
[2019-4-15 14:43:49] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22alexa-fhem%20version%22%7D%20%3D%20%220.5.26%22%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:43:49] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bget%20alexa%20proxyToken%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:43:49] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Blist%20alexa%20.eventToken%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:43:49] Server emitted error: {"code":"EADDRINUSE","errno":"EADDRINUSE","syscall":"listen","address":"127.0.0.1","port":40553}
[2019-4-15 14:43:49] Terminating - starting the listener not possible (another instance running?)
[2019-4-15 14:43:50] using config from ./alexa-fhem.cfg
*** CONFIG: parsed completely
[2019-4-15 14:43:50] os.homedir()=/opt/fhem
[2019-4-15 14:43:50] this is alexa-fhem 0.5.26
[2019-4-15 14:43:50] connecting to FHEM ...
[2019-4-15 14:43:51] [FHEM] trying longpoll to listen for fhem events
[2019-4-15 14:43:51] [FHEM] starting longpoll: http://127.0.0.1:8083/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON×tamp=1555332231097
[2019-4-15 14:43:51] [FHEM] got csrfToken: myhcconnToken
[2019-4-15 14:43:51] [FHEM] Checking devices and attributes...
[2019-4-15 14:43:51] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7BAttrVal(%22global%22%2C%22userattr%22%2C%22%22)%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:43:51] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20TYPE%3Dalexa&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:43:51] [FHEM] waiting for events ...
[2019-4-15 14:43:51] [FHEM] Fetching FHEM devices...
[2019-4-15 14:43:51] [FHEM] fetching: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20alexaName=..*&fwcsrf=myhcconnToken&XHR=1
*** FHEM: connected
[2019-4-15 14:43:51] [FHEM] got: 0 results
[2019-4-15 14:43:51] [FHEM] alexa device is alexa
[2019-4-15 14:43:51] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22alexa-fhem%20version%22%7D%20%3D%20%220.5.26%22%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:43:51] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bget%20alexa%20proxyToken%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:43:51] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Blist%20alexa%20.eventToken%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:43:51] Server listening on: http://127.0.0.1:36177 for proxy connections
[2019-4-15 14:43:51] *** SSH: checking proxy configuration
[2019-4-15 14:43:51] sshautoconf: home=/opt/fhem, spath=/opt/fhem/.alexa, cpath=./alexa-fhem.cfg, sshpath=/opt/fhem/.ssh
[2019-4-15 14:43:51] Passed config: {"connections":[{"filter":"alexaName=..*","name":"FHEM","webname":"fhem","uid":999,"port":"8083","server":"127.0.0.1"}],"sshproxy":{"description":"FHEM Connector","ssh":"/usr/bin/ssh","options":["-i","/opt/fhem/.ssh/id_rsa","-p",58824,"fhem-va.fhem.de"],"bind-ip":"127.0.0.1","port":36177}}
[2019-4-15 14:43:51] sshautoconf: SSH key seems to exist
[2019-4-15 14:43:51] sshautoconf: Our SSH key is known at the reverse proxy, good!
[2019-4-15 14:43:51] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bjsonlist2%20alexa%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:43:51] 39_alexa.pm is new version: true
[2019-4-15 14:43:51] sshautoconf: completed successfully
[2019-4-15 14:43:51] *** SSH: proxy configuration set up done
[2019-4-15 14:43:51] Reading alexaFHEM.ProxyConnection set to starting;; starting SSH
[2019-4-15 14:43:51] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bsetreading%20alexa%20alexaFHEM.ProxyConnection%20starting%3B%3B%20starting%20SSH%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:43:51] Starting SSH with -R 1234:127.0.0.1:36177 -oServerAliveInterval=90 -i /opt/fhem/.ssh/id_rsa -p 58824 fhem-va.fhem.de
[2019-4-15 14:43:51] BearerToken '...7072A' read from alexa
[2019-4-15 14:43:51] [FHEM] got .eventToken
[2019-4-15 14:43:51] refreshing token
[2019-4-15 14:43:52] Reading alexaFHEM.ProxyConnection set to running;; SSH connected
[2019-4-15 14:43:52] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bsetreading%20alexa%20alexaFHEM.ProxyConnection%20running%3B%3B%20SSH%20connected%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:43:52] *** SSH: proxy connection established
[2019-4-15 14:43:52] SSH: Welcome at the reverse proxy!  This pseudoshell does not react to any input - do not get irritated. 
[2019-4-15 14:43:52] got fresh token
[2019-4-15 14:44:48] [FHEM] longpoll ended, reconnect in: 200msec
[2019-4-15 14:44:48] [FHEM] trying longpoll to listen for fhem events
[2019-4-15 14:44:48] [FHEM] starting longpoll: http://127.0.0.1:8083/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON×tamp=1555332288787
[2019-4-15 14:44:50] [FHEM] got csrfToken: myhcconnToken
[2019-4-15 14:44:50] [FHEM] Checking devices and attributes...
[2019-4-15 14:44:50] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3B%7BAttrVal(%22global%22%2C%22userattr%22%2C%22%22)%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:44:50] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bjsonlist2%20TYPE%3Dalexa%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:44:50] [FHEM] waiting for events ...
[2019-4-15 14:44:50] [FHEM] Fetching FHEM devices...
[2019-4-15 14:44:50] [FHEM] fetching: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20alexaName=..*&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:44:52] [FHEM] alexa device is alexa
[2019-4-15 14:44:52] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22alexa-fhem%20version%22%7D%20%3D%20%220.5.26%22%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:44:52] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bget%20alexa%20proxyToken%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:44:52] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Blist%20alexa%20.eventToken%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:44:52] Server emitted error: {"code":"EADDRINUSE","errno":"EADDRINUSE","syscall":"listen","address":"127.0.0.1","port":36177}
[2019-4-15 14:44:52] Terminating - starting the listener not possible (another instance running?)
[2019-4-15 14:44:53] using config from ./alexa-fhem.cfg
*** CONFIG: parsed completely
[2019-4-15 14:44:53] os.homedir()=/opt/fhem
[2019-4-15 14:44:53] this is alexa-fhem 0.5.26
[2019-4-15 14:44:53] connecting to FHEM ...
[2019-4-15 14:44:54] [FHEM] trying longpoll to listen for fhem events
[2019-4-15 14:44:54] [FHEM] starting longpoll: http://127.0.0.1:8083/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON×tamp=1555332294249
[2019-4-15 14:44:54] [FHEM] got csrfToken: myhcconnToken
[2019-4-15 14:44:54] [FHEM] Checking devices and attributes...
[2019-4-15 14:44:54] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7BAttrVal(%22global%22%2C%22userattr%22%2C%22%22)%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:44:54] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20TYPE%3Dalexa&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:44:54] [FHEM] waiting for events ...
[2019-4-15 14:44:54] [FHEM] Fetching FHEM devices...
[2019-4-15 14:44:54] [FHEM] fetching: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20alexaName=..*&fwcsrf=myhcconnToken&XHR=1
*** FHEM: connected
[2019-4-15 14:44:54] [FHEM] got: 0 results
[2019-4-15 14:44:54] [FHEM] alexa device is alexa
[2019-4-15 14:44:54] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22alexa-fhem%20version%22%7D%20%3D%20%220.5.26%22%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:44:54] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bget%20alexa%20proxyToken%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:44:54] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Blist%20alexa%20.eventToken%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:44:54] Server listening on: http://127.0.0.1:35401 for proxy connections
[2019-4-15 14:44:54] *** SSH: checking proxy configuration
[2019-4-15 14:44:54] sshautoconf: home=/opt/fhem, spath=/opt/fhem/.alexa, cpath=./alexa-fhem.cfg, sshpath=/opt/fhem/.ssh
[2019-4-15 14:44:54] Passed config: {"connections":[{"filter":"alexaName=..*","name":"FHEM","webname":"fhem","uid":999,"port":"8083","server":"127.0.0.1"}],"sshproxy":{"description":"FHEM Connector","ssh":"/usr/bin/ssh","options":["-i","/opt/fhem/.ssh/id_rsa","-p",58824,"fhem-va.fhem.de"],"bind-ip":"127.0.0.1","port":35401}}
[2019-4-15 14:44:54] sshautoconf: SSH key seems to exist
[2019-4-15 14:44:54] sshautoconf: Our SSH key is known at the reverse proxy, good!
[2019-4-15 14:44:54] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bjsonlist2%20alexa%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:44:54] [FHEM] got .eventToken
[2019-4-15 14:44:54] refreshing token
[2019-4-15 14:44:54] BearerToken '...7072A' read from alexa
[2019-4-15 14:44:54] 39_alexa.pm is new version: true
[2019-4-15 14:44:54] sshautoconf: completed successfully
[2019-4-15 14:44:54] *** SSH: proxy configuration set up done
[2019-4-15 14:44:54] Reading alexaFHEM.ProxyConnection set to starting;; starting SSH
[2019-4-15 14:44:54] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bsetreading%20alexa%20alexaFHEM.ProxyConnection%20starting%3B%3B%20starting%20SSH%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:44:54] Starting SSH with -R 1234:127.0.0.1:35401 -oServerAliveInterval=90 -i /opt/fhem/.ssh/id_rsa -p 58824 fhem-va.fhem.de
[2019-4-15 14:44:55] Reading alexaFHEM.ProxyConnection set to running;; SSH connected
[2019-4-15 14:44:55] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bsetreading%20alexa%20alexaFHEM.ProxyConnection%20running%3B%3B%20SSH%20connected%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:44:55] *** SSH: proxy connection established
[2019-4-15 14:44:55] SSH: Welcome at the reverse proxy!  This pseudoshell does not react to any input - do not get irritated. 
[2019-4-15 14:44:55] got fresh token
[2019-4-15 14:45:52] [FHEM] longpoll ended, reconnect in: 200msec
[2019-4-15 14:45:52] [FHEM] trying longpoll to listen for fhem events
[2019-4-15 14:45:52] [FHEM] starting longpoll: http://127.0.0.1:8083/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON×tamp=1555332352256
[2019-4-15 14:45:54] [FHEM] got csrfToken: myhcconnToken
[2019-4-15 14:45:54] [FHEM] Checking devices and attributes...
[2019-4-15 14:45:54] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3B%7BAttrVal(%22global%22%2C%22userattr%22%2C%22%22)%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:45:54] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bjsonlist2%20TYPE%3Dalexa%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:45:54] [FHEM] waiting for events ...
[2019-4-15 14:45:54] [FHEM] Fetching FHEM devices...
[2019-4-15 14:45:54] [FHEM] fetching: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20alexaName=..*&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:45:56] [FHEM] alexa device is alexa
[2019-4-15 14:45:56] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22alexa-fhem%20version%22%7D%20%3D%20%220.5.26%22%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:45:56] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bget%20alexa%20proxyToken%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:45:56] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Blist%20alexa%20.eventToken%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:45:56] Server emitted error: {"code":"EADDRINUSE","errno":"EADDRINUSE","syscall":"listen","address":"127.0.0.1","port":35401}
[2019-4-15 14:45:56] Terminating - starting the listener not possible (another instance running?)
[2019-4-15 14:45:57] using config from ./alexa-fhem.cfg
*** CONFIG: parsed completely
[2019-4-15 14:45:57] os.homedir()=/opt/fhem
[2019-4-15 14:45:57] this is alexa-fhem 0.5.26
[2019-4-15 14:45:57] connecting to FHEM ...
[2019-4-15 14:45:57] [FHEM] trying longpoll to listen for fhem events
[2019-4-15 14:45:57] [FHEM] starting longpoll: http://127.0.0.1:8083/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON×tamp=1555332357813
[2019-4-15 14:45:57] [FHEM] got csrfToken: myhcconnToken
[2019-4-15 14:45:57] [FHEM] Checking devices and attributes...
[2019-4-15 14:45:57] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7BAttrVal(%22global%22%2C%22userattr%22%2C%22%22)%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:45:57] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20TYPE%3Dalexa&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:45:57] [FHEM] waiting for events ...
[2019-4-15 14:45:57] [FHEM] Fetching FHEM devices...
[2019-4-15 14:45:57] [FHEM] fetching: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20alexaName=..*&fwcsrf=myhcconnToken&XHR=1
*** FHEM: connected
[2019-4-15 14:45:58] [FHEM] got: 0 results
[2019-4-15 14:45:58] [FHEM] alexa device is alexa
[2019-4-15 14:45:58] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22alexa-fhem%20version%22%7D%20%3D%20%220.5.26%22%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:45:58] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bget%20alexa%20proxyToken%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:45:58] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Blist%20alexa%20.eventToken%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:45:58] Server listening on: http://127.0.0.1:44689 for proxy connections
[2019-4-15 14:45:58] *** SSH: checking proxy configuration
[2019-4-15 14:45:58] sshautoconf: home=/opt/fhem, spath=/opt/fhem/.alexa, cpath=./alexa-fhem.cfg, sshpath=/opt/fhem/.ssh
[2019-4-15 14:45:58] Passed config: {"connections":[{"filter":"alexaName=..*","name":"FHEM","webname":"fhem","uid":999,"port":"8083","server":"127.0.0.1"}],"sshproxy":{"description":"FHEM Connector","ssh":"/usr/bin/ssh","options":["-i","/opt/fhem/.ssh/id_rsa","-p",58824,"fhem-va.fhem.de"],"bind-ip":"127.0.0.1","port":44689}}
[2019-4-15 14:45:58] sshautoconf: SSH key seems to exist
[2019-4-15 14:45:58] sshautoconf: Our SSH key is known at the reverse proxy, good!
[2019-4-15 14:45:58] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bjsonlist2%20alexa%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:45:58] [FHEM] got .eventToken
[2019-4-15 14:45:58] refreshing token
[2019-4-15 14:45:58] 39_alexa.pm is new version: true
[2019-4-15 14:45:58] sshautoconf: completed successfully
[2019-4-15 14:45:58] *** SSH: proxy configuration set up done
[2019-4-15 14:45:58] Reading alexaFHEM.ProxyConnection set to starting;; starting SSH
[2019-4-15 14:45:58] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bsetreading%20alexa%20alexaFHEM.ProxyConnection%20starting%3B%3B%20starting%20SSH%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:45:58] Starting SSH with -R 1234:127.0.0.1:44689 -oServerAliveInterval=90 -i /opt/fhem/.ssh/id_rsa -p 58824 fhem-va.fhem.de
[2019-4-15 14:45:58] BearerToken '...7072A' read from alexa
[2019-4-15 14:45:58] Reading alexaFHEM.ProxyConnection set to running;; SSH connected
[2019-4-15 14:45:58] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bsetreading%20alexa%20alexaFHEM.ProxyConnection%20running%3B%3B%20SSH%20connected%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:45:58] *** SSH: proxy connection established
[2019-4-15 14:45:58] SSH: Welcome at the reverse proxy!  This pseudoshell does not react to any input - do not get irritated. 
[2019-4-15 14:45:58] got fresh token
[2019-4-15 14:46:55] [FHEM] longpoll ended, reconnect in: 200msec
[2019-4-15 14:46:55] [FHEM] trying longpoll to listen for fhem events
[2019-4-15 14:46:55] [FHEM] starting longpoll: http://127.0.0.1:8083/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON×tamp=1555332415746
[2019-4-15 14:46:57] [FHEM] got csrfToken: myhcconnToken
[2019-4-15 14:46:57] [FHEM] Checking devices and attributes...
[2019-4-15 14:46:57] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3B%7BAttrVal(%22global%22%2C%22userattr%22%2C%22%22)%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:46:57] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bjsonlist2%20TYPE%3Dalexa%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:46:57] [FHEM] waiting for events ...
[2019-4-15 14:46:57] [FHEM] Fetching FHEM devices...
[2019-4-15 14:46:57] [FHEM] fetching: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20alexaName=..*&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:47:00] [FHEM] alexa device is alexa
[2019-4-15 14:47:00] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22alexa-fhem%20version%22%7D%20%3D%20%220.5.26%22%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:47:00] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bget%20alexa%20proxyToken%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:47:00] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Blist%20alexa%20.eventToken%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:47:00] Server emitted error: {"code":"EADDRINUSE","errno":"EADDRINUSE","syscall":"listen","address":"127.0.0.1","port":44689}
[2019-4-15 14:47:00] Terminating - starting the listener not possible (another instance running?)
[2019-4-15 14:47:01] using config from ./alexa-fhem.cfg
*** CONFIG: parsed completely
[2019-4-15 14:47:01] os.homedir()=/opt/fhem
[2019-4-15 14:47:01] this is alexa-fhem 0.5.26
[2019-4-15 14:47:01] connecting to FHEM ...
[2019-4-15 14:47:01] [FHEM] trying longpoll to listen for fhem events
[2019-4-15 14:47:01] [FHEM] starting longpoll: http://127.0.0.1:8083/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON×tamp=1555332421917
[2019-4-15 14:47:02] [FHEM] got csrfToken: myhcconnToken
[2019-4-15 14:47:02] [FHEM] Checking devices and attributes...
[2019-4-15 14:47:02] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7BAttrVal(%22global%22%2C%22userattr%22%2C%22%22)%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:47:02] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20TYPE%3Dalexa&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:47:02] [FHEM] waiting for events ...
[2019-4-15 14:47:02] [FHEM] Fetching FHEM devices...
[2019-4-15 14:47:02] [FHEM] fetching: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20alexaName=..*&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:47:02] [FHEM] alexa device is alexa
[2019-4-15 14:47:02] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22alexa-fhem%20version%22%7D%20%3D%20%220.5.26%22%7D%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:47:02] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bget%20alexa%20proxyToken%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:47:02] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Blist%20alexa%20.eventToken%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:47:02] Server listening on: http://127.0.0.1:36847 for proxy connections
[2019-4-15 14:47:02] *** SSH: checking proxy configuration
[2019-4-15 14:47:02] sshautoconf: home=/opt/fhem, spath=/opt/fhem/.alexa, cpath=./alexa-fhem.cfg, sshpath=/opt/fhem/.ssh
[2019-4-15 14:47:02] Passed config: {"connections":[{"filter":"alexaName=..*","name":"FHEM","webname":"fhem","uid":999,"port":"8083","server":"127.0.0.1"}],"sshproxy":{"description":"FHEM Connector","ssh":"/usr/bin/ssh","options":["-i","/opt/fhem/.ssh/id_rsa","-p",58824,"fhem-va.fhem.de"],"bind-ip":"127.0.0.1","port":36847}}
[2019-4-15 14:47:02] sshautoconf: SSH key seems to exist
[2019-4-15 14:47:03] sshautoconf: Our SSH key is known at the reverse proxy, good!
[2019-4-15 14:47:03] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bjsonlist2%20alexa%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
*** FHEM: connected
[2019-4-15 14:47:03] [FHEM] got: 0 results
[2019-4-15 14:47:03] BearerToken '...7072A' read from alexa
[2019-4-15 14:47:03] 39_alexa.pm is new version: true
[2019-4-15 14:47:03] sshautoconf: completed successfully
[2019-4-15 14:47:03] *** SSH: proxy configuration set up done
[2019-4-15 14:47:03] Reading alexaFHEM.ProxyConnection set to starting;; starting SSH
[2019-4-15 14:47:03] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bsetreading%20alexa%20alexaFHEM.ProxyConnection%20starting%3B%3B%20starting%20SSH%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:47:03] Starting SSH with -R 1234:127.0.0.1:36847 -oServerAliveInterval=90 -i /opt/fhem/.ssh/id_rsa -p 58824 fhem-va.fhem.de
[2019-4-15 14:47:03] [FHEM] got .eventToken
[2019-4-15 14:47:03] refreshing token
[2019-4-15 14:47:03] Reading alexaFHEM.ProxyConnection set to running;; SSH connected
[2019-4-15 14:47:03] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%201%3B%3Bundef%7D%3Bsetreading%20alexa%20alexaFHEM.ProxyConnection%20running%3B%3B%20SSH%20connected%3B%7B%24defs%7Balexa%7D-%3E%7B%22active%22%7D%20%3D%200%3B%3Bundef%7D&fwcsrf=myhcconnToken&XHR=1
[2019-4-15 14:47:03] *** SSH: proxy connection established
[2019-4-15 14:47:03] SSH: Welcome at the reverse proxy!  This pseudoshell does not react to any input - do not get irritated. 
[2019-4-15 14:47:03] got fresh token

 

decade-submarginal