Avec docker : Error: (ProcessOutbound) HTTP unable to determine send type. 'Status' or 'Verb' dictionary entries not ...
-
dondipietro
- Messages : 6
- Inscription : 30 mars 2018, 16:25
Avec docker : Error: (ProcessOutbound) HTTP unable to determine send type. 'Status' or 'Verb' dictionary entries not ...
Bonjour à tous,
Tout d’abords merci pour ce très bon plugin zigate pour domoticz !
Je fais tourner domoticz dans un docker sous arm (cette image ci : joshuacox/mkdomoticz:arm ), j'ai installer le plugin qui à l'air de bien fonctionner excepté toute la partie web du plugin zigate.
Voici comment je lance le docker: (pour les test j ai mis network hot pour éviter des soucis de ce coté)
sudo docker run --name=domoticz --privileged --name="domotdp" --device=/dev/ttyUSB0 -d --network="host" -e TZ=Europe/Brussels -v ~/datadir/config:/config -v ~/datadir/domoticz:/src/domoticz -t joshuacox/mkdomoticz:arm
et j'installe le plugin avec la commande git : sudo git clone https://github.com/pipiche38/Domoticz-Zigate.git
Sur internet je ne trouve rien à propos de mon soucis.
Domoticz : Version: 4.10364
Plugin : La dernieèe version ici : https://github.com/pipiche38/Domoticz-Zigate.git
Auriez vous une idée SVP.
Merci beaucoup
2020-04-04 11:15:01.040 Status: (zg1) --> Config for Legrand/Mobile outlet
2020-04-04 11:15:01.042 Status: (zg1) --> Config for Legrand/Connected outlet
2020-04-04 11:15:01.042 Status: (zg1) --> Config for Legrand/DIN power consumption module
2020-04-04 11:15:01.043 Status: (zg1) --> Config for Legrand/Micromodule switch
2020-04-04 11:15:01.043 Status: (zg1) --> Config for Legrand/Remote switch
2020-04-04 11:15:01.044 Status: (zg1) --> Config for Legrand/Shutter switch with neutral
2020-04-04 11:15:01.044 Status: (zg1) load ListOfDevice
2020-04-04 11:15:01.045 Status: (zg1) Transport mode: USB
2020-04-04 11:15:01.046 Status: (zg1) Connection Name: Zigate, Transport: Serial, Address: /dev/ttyUSB0
2020-04-04 11:15:01.046 Status: (zg1) Connection open: Name: 'ZiGate', Transport: 'Serial', Protocol: 'None', Address: '/dev/ttyUSB0', Port: '', Baud: 115200, Connected: False
2020-04-04 11:15:01.080 Status: (zg1) Erase Zigate PDM
2020-04-04 11:15:01.081 Status: (zg1) ZigateConf - Setting extPANID : 0x0000000000000000
2020-04-04 11:15:01.081 Status: (zg1) ZigateConf setting Channel(s) to: 0
2020-04-04 11:15:01.081 Status: (zg1) setChannel - Channel set to : 00000000
2020-04-04 11:15:01.081 Status: (zg1) Set Zigate as a Coordinator
2020-04-04 11:15:01.081 Status: (zg1) Set Zigate as a TimeServer
2020-04-04 11:15:01.082 Status: (zg1) Start network
2020-04-04 11:15:01.082 Status: (zg1) Request Disabling Accepting new Hardware
2020-04-04 11:15:01.083 Status: (zg1) Trigger a Topology Scan
2020-04-04 11:15:01.083 Status: (zg1) Trigger a Energy Level Scan
2020-04-04 11:15:01.184 Status: (zg1) Major Version Num: 0003
2020-04-04 11:15:01.184 Status: (zg1) Installer Version Number: 031c
2020-04-04 11:15:10.956 (zg1) Switch Blue Led On
2020-04-04 11:15:10.957 Status: (zg1) Zigate set to Certification : CE
2020-04-04 11:15:10.958 Status: (zg1) Start Web Server connection
2020-04-04 11:15:11.013 Status: (zg1) Web backend for Web User Interface started on port: 9440
2020-04-04 11:15:11.013 Status: (zg1) Plugin with Zigate firmware 031c correctly initialized
2020-04-04 11:15:13.137 (zg1) Start Network status : Success
2020-04-04 11:15:16.349 Status: (zg1) Accepting new Hardware: Disable
2020-04-04 11:15:16.765 Status: (zg1) Accepting new Hardware: Disable
2020-04-04 11:15:16.972 Status: (zg1) Number of devices recently active in Zigate = 0
2020-04-04 11:15:17.177 Status: (zg1) TxPower Attenuation : 0 dBm
2020-04-04 11:15:20.799 Status: (zg1) Start Network - Formed new network
2020-04-04 11:15:20.800 Status: (zg1) Zigate details IEEE: 00158d0001ee8471, NetworkID: 0000, Channel: 12, Status: 01: Success
Jusque là tout va bien, puis si je vais avec le navigateur sur la page zigate:9440
Les erreurs suivantes apparaissent et la page ne vient jamais :
2020-04-04 11:15:20.799 Status: (zg1) Start Network - Formed new network
2020-04-04 11:15:20.800 Status: (zg1) Zigate details IEEE: 00158d0001ee8471, NetworkID: 0000, Channel: 12, Status: 01: Success
2020-04-04 11:17:27.126 Error: (ProcessOutbound) HTTP unable to determine send type. 'Status' or 'Verb' dictionary entries not found, ignored. See Python Plugin wiki page for help.
2020-04-04 11:17:27.126 Error: (ProcessOutbound) HTTP unable to determine send type. 'Status' or 'Verb' dictionary entries not found, ignored. See Python Plugin wiki page for help.
2020-04-04 11:17:27.126 Error: (ProcessOutbound) HTTP unable to determine send type. 'Status' or 'Verb' dictionary entries not found, ignored. See Python Plugin wiki page for help.
2020-04-04 11:17:27.126 Error: (ProcessOutbound) HTTP unable to determine send type. 'Status' or 'Verb' dictionary entries not found, ignored. See Python Plugin wiki page for help.
2020-04-04 11:17:27.127 Error: (ProcessOutbound) HTTP unable to determine send type. 'Status' or 'Verb' dictionary entries not found, ignored. See Python Plugin wiki page for help.
2020-04-04 11:17:27.127 Error: (ProcessOutbound) HTTP unable to determine send type. 'Status' or 'Verb' dictionary entries not found, ignored. See Python Plugin wiki page for help.
2020-04-04 11:17:27.127 Error: (ProcessOutbound) HTTP unable to determine send type. 'Status' or 'Verb' dictionary entries not found, ignored. See Python Plugin wiki page for help.
Tout d’abords merci pour ce très bon plugin zigate pour domoticz !
Je fais tourner domoticz dans un docker sous arm (cette image ci : joshuacox/mkdomoticz:arm ), j'ai installer le plugin qui à l'air de bien fonctionner excepté toute la partie web du plugin zigate.
Voici comment je lance le docker: (pour les test j ai mis network hot pour éviter des soucis de ce coté)
sudo docker run --name=domoticz --privileged --name="domotdp" --device=/dev/ttyUSB0 -d --network="host" -e TZ=Europe/Brussels -v ~/datadir/config:/config -v ~/datadir/domoticz:/src/domoticz -t joshuacox/mkdomoticz:arm
et j'installe le plugin avec la commande git : sudo git clone https://github.com/pipiche38/Domoticz-Zigate.git
Sur internet je ne trouve rien à propos de mon soucis.
Domoticz : Version: 4.10364
Plugin : La dernieèe version ici : https://github.com/pipiche38/Domoticz-Zigate.git
Auriez vous une idée SVP.
Merci beaucoup
2020-04-04 11:15:01.040 Status: (zg1) --> Config for Legrand/Mobile outlet
2020-04-04 11:15:01.042 Status: (zg1) --> Config for Legrand/Connected outlet
2020-04-04 11:15:01.042 Status: (zg1) --> Config for Legrand/DIN power consumption module
2020-04-04 11:15:01.043 Status: (zg1) --> Config for Legrand/Micromodule switch
2020-04-04 11:15:01.043 Status: (zg1) --> Config for Legrand/Remote switch
2020-04-04 11:15:01.044 Status: (zg1) --> Config for Legrand/Shutter switch with neutral
2020-04-04 11:15:01.044 Status: (zg1) load ListOfDevice
2020-04-04 11:15:01.045 Status: (zg1) Transport mode: USB
2020-04-04 11:15:01.046 Status: (zg1) Connection Name: Zigate, Transport: Serial, Address: /dev/ttyUSB0
2020-04-04 11:15:01.046 Status: (zg1) Connection open: Name: 'ZiGate', Transport: 'Serial', Protocol: 'None', Address: '/dev/ttyUSB0', Port: '', Baud: 115200, Connected: False
2020-04-04 11:15:01.080 Status: (zg1) Erase Zigate PDM
2020-04-04 11:15:01.081 Status: (zg1) ZigateConf - Setting extPANID : 0x0000000000000000
2020-04-04 11:15:01.081 Status: (zg1) ZigateConf setting Channel(s) to: 0
2020-04-04 11:15:01.081 Status: (zg1) setChannel - Channel set to : 00000000
2020-04-04 11:15:01.081 Status: (zg1) Set Zigate as a Coordinator
2020-04-04 11:15:01.081 Status: (zg1) Set Zigate as a TimeServer
2020-04-04 11:15:01.082 Status: (zg1) Start network
2020-04-04 11:15:01.082 Status: (zg1) Request Disabling Accepting new Hardware
2020-04-04 11:15:01.083 Status: (zg1) Trigger a Topology Scan
2020-04-04 11:15:01.083 Status: (zg1) Trigger a Energy Level Scan
2020-04-04 11:15:01.184 Status: (zg1) Major Version Num: 0003
2020-04-04 11:15:01.184 Status: (zg1) Installer Version Number: 031c
2020-04-04 11:15:10.956 (zg1) Switch Blue Led On
2020-04-04 11:15:10.957 Status: (zg1) Zigate set to Certification : CE
2020-04-04 11:15:10.958 Status: (zg1) Start Web Server connection
2020-04-04 11:15:11.013 Status: (zg1) Web backend for Web User Interface started on port: 9440
2020-04-04 11:15:11.013 Status: (zg1) Plugin with Zigate firmware 031c correctly initialized
2020-04-04 11:15:13.137 (zg1) Start Network status : Success
2020-04-04 11:15:16.349 Status: (zg1) Accepting new Hardware: Disable
2020-04-04 11:15:16.765 Status: (zg1) Accepting new Hardware: Disable
2020-04-04 11:15:16.972 Status: (zg1) Number of devices recently active in Zigate = 0
2020-04-04 11:15:17.177 Status: (zg1) TxPower Attenuation : 0 dBm
2020-04-04 11:15:20.799 Status: (zg1) Start Network - Formed new network
2020-04-04 11:15:20.800 Status: (zg1) Zigate details IEEE: 00158d0001ee8471, NetworkID: 0000, Channel: 12, Status: 01: Success
Jusque là tout va bien, puis si je vais avec le navigateur sur la page zigate:9440
Les erreurs suivantes apparaissent et la page ne vient jamais :
2020-04-04 11:15:20.799 Status: (zg1) Start Network - Formed new network
2020-04-04 11:15:20.800 Status: (zg1) Zigate details IEEE: 00158d0001ee8471, NetworkID: 0000, Channel: 12, Status: 01: Success
2020-04-04 11:17:27.126 Error: (ProcessOutbound) HTTP unable to determine send type. 'Status' or 'Verb' dictionary entries not found, ignored. See Python Plugin wiki page for help.
2020-04-04 11:17:27.126 Error: (ProcessOutbound) HTTP unable to determine send type. 'Status' or 'Verb' dictionary entries not found, ignored. See Python Plugin wiki page for help.
2020-04-04 11:17:27.126 Error: (ProcessOutbound) HTTP unable to determine send type. 'Status' or 'Verb' dictionary entries not found, ignored. See Python Plugin wiki page for help.
2020-04-04 11:17:27.126 Error: (ProcessOutbound) HTTP unable to determine send type. 'Status' or 'Verb' dictionary entries not found, ignored. See Python Plugin wiki page for help.
2020-04-04 11:17:27.127 Error: (ProcessOutbound) HTTP unable to determine send type. 'Status' or 'Verb' dictionary entries not found, ignored. See Python Plugin wiki page for help.
2020-04-04 11:17:27.127 Error: (ProcessOutbound) HTTP unable to determine send type. 'Status' or 'Verb' dictionary entries not found, ignored. See Python Plugin wiki page for help.
2020-04-04 11:17:27.127 Error: (ProcessOutbound) HTTP unable to determine send type. 'Status' or 'Verb' dictionary entries not found, ignored. See Python Plugin wiki page for help.
Dernière modification par dondipietro le 04 avr. 2020, 11:43, modifié 1 fois.
Re: Error: (ProcessOutbound) HTTP unable to determine send type. 'Status' or 'Verb' dictionary entries not found...
Salut,
Je ne suis pas un spécialiste docker, donc je vais pas pouvoir beaucoup t'aider.
A priori, il s'agit d'un message provenant de Domoticz (ce n'est pas encore le plugin, mais c'est juste avant qu'il envoie le message).
Il indique que la trame HTTP ne semble pas correct
Je ne suis pas un spécialiste docker, donc je vais pas pouvoir beaucoup t'aider.
A priori, il s'agit d'un message provenant de Domoticz (ce n'est pas encore le plugin, mais c'est juste avant qu'il envoie le message).
Il indique que la trame HTTP ne semble pas correct
-
dondipietro
- Messages : 6
- Inscription : 30 mars 2018, 16:25
Re: Avec docker : Error: (ProcessOutbound) HTTP unable to determine send type. 'Status' or 'Verb' dictionary entries not
Merci Pipiche pour cette réponse, ce qui m'étonne c'est que tout le reste de domoticz fonctionne bien y compris les pages web de domoticz.
Re: Avec docker : Error: (ProcessOutbound) HTTP unable to determine send type. 'Status' or 'Verb' dictionary entries not
Pour la partie plugin python, il y a une couche qui a été développé pour permettre justement le developpement de plugin en python, c'est celle-ci qui est mise-en-jeu icidondipietro a écrit : 04 avr. 2020, 11:44 Merci Pipiche pour cette réponse, ce qui m'étonne c'est que tout le reste de domoticz fonctionne bien y compris les pages web de domoticz.
Le port de communication est le 9440, au niveau de docker ne faut-il pas faire quelque chose de particulier pour laisser passer ca ? As-tu la possibilité de voir les trames qui passent ?
Re: Avec docker : Error: (ProcessOutbound) HTTP unable to determine send type. 'Status' or 'Verb' dictionary entries not
As-tu pu avancer ?pipiche a écrit : 04 avr. 2020, 11:58Pour la partie plugin python, il y a une couche qui a été développé pour permettre justement le developpement de plugin en python, c'est celle-ci qui est mise-en-jeu icidondipietro a écrit : 04 avr. 2020, 11:44 Merci Pipiche pour cette réponse, ce qui m'étonne c'est que tout le reste de domoticz fonctionne bien y compris les pages web de domoticz.
Le port de communication est le 9440, au niveau de docker ne faut-il pas faire quelque chose de particulier pour laisser passer ca ? As-tu la possibilité de voir les trames qui passent ?
Re: Avec docker : Error: (ProcessOutbound) HTTP unable to determine send type. 'Status' or 'Verb' dictionary entries not
Bonjour,
effectivement il te manque les redirections de port -p 8080:8080 et -p 9440:9440.
je ne connais pas ce container, j 'utilise le miens mais uniquement en arch X86_64 et je n'ai pas de problème avec ce plugin.
tu devrais essayer de build ce container, en passant sur la version branch dev (il faudra éditer le dockerfile)
d ailleurs si tu veux une version arm, tu devrais même modifié l'image de base utilisé dans le Dockerfile,
actuellement la version arm utilise une version local-strech et comme il l'indique dans le Readme :
effectivement il te manque les redirections de port -p 8080:8080 et -p 9440:9440.
je ne connais pas ce container, j 'utilise le miens mais uniquement en arch X86_64 et je n'ai pas de problème avec ce plugin.
tu devrais essayer de build ce container, en passant sur la version branch dev (il faudra éditer le dockerfile)
d ailleurs si tu veux une version arm, tu devrais même modifié l'image de base utilisé dans le Dockerfile,
actuellement la version arm utilise une version local-strech et comme il l'indique dans le Readme :
remplace local-strech par debian:stretch-slim et lance le build sur ta machine cible (ca va durer un ptit moment en fonction d'elle :p )builds locally using local-debian this branch should work on any architecture given debian also runs there (and therefore debootstrap)
-
dondipietro
- Messages : 6
- Inscription : 30 mars 2018, 16:25
Re: Avec docker : Error: (ProcessOutbound) HTTP unable to determine send type. 'Status' or 'Verb' dictionary entries not
Bonjour,
Merci je vais essayer de passer l'image docker sur buster.
Une piste plus facile ne serait pas de partir d'une image docker existante de buster ?
Merci je vais essayer de passer l'image docker sur buster.
Une piste plus facile ne serait pas de partir d'une image docker existante de buster ?
-
dondipietro
- Messages : 6
- Inscription : 30 mars 2018, 16:25
Re: Avec docker : Error: (ProcessOutbound) HTTP unable to determine send type. 'Status' or 'Verb' dictionary entries not
Comme j'utilise --network="host" je ne dois pas utiliser -p 8080:8080 -p 9440:9440 même si cette dernière méthode est surement plus sûre.zaraki673 a écrit : 08 avr. 2020, 22:30
effectivement il te manque les redirections de port -p 8080:8080 et -p 9440:9440.
Re: Avec docker : Error: (ProcessOutbound) HTTP unable to determine send type. 'Status' or 'Verb' dictionary entries not
tu peux essayer la mienne si tu le souhaites, et si il te manques des choses, je la modifierais 
depuis le site officiel de docker :
https://hub.docker.com/repository/docke ... r-domoticz
dernier build il y a 6mois, j ai voulu l y reconstruire,mais il passe en echec, je regarde ASAP
ou sinon depuis mon registry :
https://registry.mydomohome.eu/docker-domoticz:latest
et tu le lances avec la commande :
en remplaçant "/volume1/DockerData/Domoticz" par le chemin ou tu souhaites conservé tes données
le --network="host" est utile uniquement si ton domoticz a besoin de faire des commandes Broadcast sur le réseau (exemple avec la gateway Xiaomi) sinon ce n'est pas nécessaire et par secur :p
depuis le site officiel de docker :
https://hub.docker.com/repository/docke ... r-domoticz
dernier build il y a 6mois, j ai voulu l y reconstruire,mais il passe en echec, je regarde ASAP
ou sinon depuis mon registry :
https://registry.mydomohome.eu/docker-domoticz:latest
et tu le lances avec la commande :
Code : Tout sélectionner
docker run --privileged -d -p 8080:8080 -p 9440:9440 --name=Domoticz -v /volume1/DockerData/Domoticz/scripts:/scripts -v /volume1/DockerData/Domoticz/plugins:/opt/domoticz/plugins -v /volume1/DockerData/Domoticz/floorplans:/opt/domoticz/www/images/floorplans -v /etc/localtime:/etc/localtime:ro -v /volume1/DockerData/Domoticz/www:/opt/domoticz/www/templates -v /volume1/DockerData/Domoticz/domoticz.db:/opt/domoticz/domoticz.db registry.mydomohome.eu/docker-domoticz:latesten remplaçant "/volume1/DockerData/Domoticz" par le chemin ou tu souhaites conservé tes données
le --network="host" est utile uniquement si ton domoticz a besoin de faire des commandes Broadcast sur le réseau (exemple avec la gateway Xiaomi) sinon ce n'est pas nécessaire et par secur :p