EvoHome stopped working

Post Reply
hans66
Posts: 3
Joined: Thursday 11 January 2018 13:29
Target OS: Linux
Domoticz version:
Contact:

EvoHome stopped working

Post by hans66 » Thursday 11 January 2018 13:45

Hi

I did "install" EvoHome Web API, and all worked fine, till ~Nov 18 2017; since then, I get

Error: (EvoHome) HTTP client error at login!

I am running Domoticz in a docker container, and it gets updated every week to latest git release, hence, one of the changes is an updated Domoticz.

I left poll interface at 60seconds; it did work for one month...till ~ Nov 18.

Any clues?
I noticed that in the code there is still a reference to rs.alarmnet.com, while my understanding is that it should be replaced by tccna.honeywell.com; I did change this, and did a rebuild, it did not help.


Cheers
Hans

gordonb3
Posts: 606
Joined: Friday 22 January 2016 11:15
Target OS: Linux
Domoticz version: custom
Location: The Netherlands
Contact:

Re: EvoHome stopped working

Post by gordonb3 » Thursday 11 January 2018 18:46

I ran some checks, but I'm unable to replicate this error. A Forum search does however show that someone else mentioned this error some time ago as being introduced after version 3.8627. I tried two versions close to that one as well as the current state of the development tree (3.8805) and found no issues. It is probably worth while to note though that I run Domoticz on an unsupported platform and compile it from source myself with the following CMAKE flags:

Code: Select all

		-DCMAKE_BUILD_TYPE="Release"
		-DCMAKE_INSTALL_PREFIX="/opt/domoticz"
		-DBoost_INCLUDE_DIR="OFF"
		-DUSE_STATIC_BOOST="NO"
		-DUSE_PYTHON="NO"
		-DINCLUDE_LINUX_I2C="NO"
		-DINCLUDE_SPI="YES"
		-DUSE_STATIC_OPENZWAVE="NO"
		-DUSE_OPENSSL_STATIC="NO"
PS "rs.alarmnet.com" is only in the send headers of the web request. The request itself is in fact sent to "tccna.honeywell.com". I'm unsure if and or what the Evohome portal does with that header, but as it works with the current value I saw no reason to change it (or experiment with it).
Excito B3 running Gentoo Linux, P1, Rfxtrx433 to read and control TFA, KaKu, EvoHome RFG100
Custom patched Domoticz v3.8000

hans66
Posts: 3
Joined: Thursday 11 January 2018 13:29
Target OS: Linux
Domoticz version:
Contact:

Re: EvoHome stopped working

Post by hans66 » Thursday 11 January 2018 20:24

Any suggestions how to get more debug info?

I did test my access in a shell, but I believe this is the old API, while domoticz uses the new API

curl -X POST -H "Content-Type: application/json" -d '{
"username": "**********",
"password": "***********",
"ApplicationId": "91db1612-73fd-4500-91b2-e63b069b185c"
}' 'https://tccna.honeywell.com/WebAPI/api/Session'

does results in a valid response.

What would be the V2 version of above?

Thanks

gordonb3
Posts: 606
Joined: Friday 22 January 2016 11:15
Target OS: Linux
Domoticz version: custom
Location: The Netherlands
Contact:

Re: EvoHome stopped working

Post by gordonb3 » Friday 12 January 2018 11:20

I'd say the first step is to accomplish that it is actually connecting to the portal and that you receive an answer. You can use tcpdump for that.

Since you hinted you are building Domoticz yourself, you may want to try rebuild with `-DUSE_OPENSSL_STATIC="NO"`. It could be a certificate issue.
Excito B3 running Gentoo Linux, P1, Rfxtrx433 to read and control TFA, KaKu, EvoHome RFG100
Custom patched Domoticz v3.8000

User avatar
waaren
Posts: 148
Joined: Tuesday 03 January 2017 15:18
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Netherlands
Contact:

Re: EvoHome stopped working

Post by waaren » Friday 12 January 2018 13:49

@gordonb3,

forum rule prevents me from attaching dump files created on my PI-3 so I add them as text in code box. I created them with

Code: Select all

tcpdump -A -XX -v host 199.62.84.94 -i  eth0
first one is from a domoticz version 8627 (obtained via ./updatebeta) with this version my evohome hardware and devices are OK in domoticz

Code: Select all

10:59:20.802024 IP (tos 0x0, ttl 64, id 39015, offset 0, flags [DF], proto TCP (6), length 60)
    PI-1.58432 > 199.62.84.94.https: Flags [S], cksum 0x9ca7 (incorrect -> 0xa687), seq 2226410303, win 29200, options [mss 1460,sackOK,TS val 161991512 ecr 0,nop,wscale 7], length 0
	0x0000:  20d5 bfba ab16 b827 eb09 c1c2 0800 4500  .......'......E.
	0x0010:  003c 9867 4000 4006 05dc c0a8 c033 c73e  .<[email protected]@......3.>
	0x0020:  545e e440 01bb 84b4 533f 0000 0000 a002  T^[email protected]?......
	0x0030:  7210 9ca7 0000 0204 05b4 0402 080a 09a7  r...............
	0x0040:  cb58 0000 0000 0103 0307                 .X........
10:59:20.930952 IP (tos 0x0, ttl 244, id 52978, offset 0, flags [DF], proto TCP (6), length 48)
    199.62.84.94.https > PI-1.58432: Flags [S.], cksum 0x210a (correct), seq 1060022735, ack 2226410304, win 8190, options [mss 1360,nop,wscale 4], length 0
	0x0000:  b827 eb09 c1c2 20d5 bfba ab16 0800 4500  .'............E.
	0x0010:  0030 cef2 4000 f406 1b5c c73e 545e c0a8  [email protected]\.>T^..
	0x0020:  c033 01bb e440 3f2e a9cf 84b4 5340 7012  [email protected][email protected]
	0x0030:  1ffe 210a 0000 0204 0550 0103 0304       ..!......P....
10:59:20.931015 IP (tos 0x0, ttl 64, id 39016, offset 0, flags [DF], proto TCP (6), length 40)
    PI-1.58432 > 199.62.84.94.https: Flags [.], cksum 0x9c93 (incorrect -> 0x6b87), ack 1, win 229, length 0
	0x0000:  20d5 bfba ab16 b827 eb09 c1c2 0800 4500  .......'......E.
	0x0010:  0028 9868 4000 4006 05ef c0a8 c033 c73e  .([email protected]@......3.>
	0x0020:  545e e440 01bb 84b4 5340 3f2e a9d0 5010  T^[email protected]@?...P.
	0x0030:  00e5 9c93 0000                           ......
10:59:20.987793 IP (tos 0x0, ttl 64, id 39017, offset 0, flags [DF], proto TCP (6), length 557)
    PI-1.58432 > 199.62.84.94.https: Flags [P.], cksum 0x9e98 (incorrect -> 0x7713), seq 1:518, ack 1, win 229, length 517
	0x0000:  20d5 bfba ab16 b827 eb09 c1c2 0800 4500  .......'......E.
	0x0010:  022d 9869 4000 4006 03e9 c0a8 c033 c73e  [email protected]@......3.>
	0x0020:  545e e440 01bb 84b4 5340 3f2e a9d0 5018  T^[email protected]@?...P.
	0x0030:  00e5 9e98 0000 1603 0102 0001 0001 fc03  ................
	0x0040:  03d2 34ae 9503 8656 c873 7805 9ee1 a043  ..4....V.sx....C
	0x0050:  6847 3484 5784 0253 77ac 1f35 fba2 c2e7  hG4.W..Sw..5....
	0x0060:  2600 008c c030 c02c c028 c024 c014 c00a  &....0.,.(.$....
	0x0070:  00a5 00a3 00a1 009f 006b 006a 0069 0068  .........k.j.i.h
	0x0080:  0039 0038 0037 0036 0088 0087 0086 0085  .9.8.7.6........
	0x0090:  c032 c02e c02a c026 c00f c005 009d 003d  .2...*.&.......=
	0x00a0:  0035 0084 c02f c02b c027 c023 c013 c009  .5.../.+.'.#....
	0x00b0:  00a4 00a2 00a0 009e 0067 0040 003f 003e  [email protected]?.>
	0x00c0:  0033 0032 0031 0030 009a 0099 0098 0097  .3.2.1.0........
	0x00d0:  0045 0044 0043 0042 c031 c02d c029 c025  .E.D.C.B.1.-.).%
	0x00e0:  c00e c004 009c 003c 002f 0096 0041 00ff  .......<./...A..
	0x00f0:  0100 0147 0000 0018 0016 0000 1374 6363  ...G.........tcc
	0x0100:  6e61 2e68 6f6e 6579 7765 6c6c 2e63 6f6d  na.honeywell.com
	0x0110:  000b 0004 0300 0102 000a 001c 001a 0017  ................
	0x0120:  0019 001c 001b 0018 001a 0016 000e 000d  ................
	0x0130:  000b 000c 0009 000a 000d 0020 001e 0601  ................
	0x0140:  0602 0603 0501 0502 0503 0401 0402 0403  ................
	0x0150:  0301 0302 0303 0201 0202 0203 000f 0001  ................
	0x0160:  0133 7400 0000 1000 0b00 0908 6874 7470  .3t.........http
	0x0170:  2f31 2e31 0015 00c3 0000 0000 0000 0000  /1.1............
	0x0180:  0000 0000 0000 0000 0000 0000 0000 0000  ................
	0x0190:  0000 0000 0000 0000 0000 0000 0000 0000  ................
	0x01a0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
	0x01b0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
	0x01c0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
	0x01d0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
	0x01e0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
	0x01f0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
	0x0200:  0000 0000 0000 0000 0000 0000 0000 0000  ................
	0x0210:  0000 0000 0000 0000 0000 0000 0000 0000  ................
	0x0220:  0000 0000 0000 0000 0000 0000 0000 0000  ................
	0x0230:  0000 0000 0000 0000 0000 00              ...........
10:59:21.116112 IP (tos 0x0, ttl 244, id 52980, offset 0, flags [DF], proto TCP (6), length 1400)
    199.62.84.94.https > PI-1.58432: Flags [P.], cksum 0x2ca0 (correct), seq 1:1361, ack 518, win 2166, length 1360
	0x0000:  b827 eb09 c1c2 20d5 bfba ab16 0800 4500  .'............E.
	0x0010:  0578 cef4 4000 f406 1612 c73e 545e c0a8  [email protected]>T^..
	0x0020:  c033 01bb e440 3f2e a9d0 84b4 5545 5018  [email protected]?.....UEP.
	0x0030:  0876 2ca0 0000 1603 030e db02 0000 5c03  .v,...........\.
	0x0040:  035a 588e 32c2 e0a4 f806 3d69 7f76 4c14  .ZX.2.....=i.vL.
	0x0050:  b03a fb17 b652 ac71 0f67 1ee9 e9ff 6aa8  .:...R.q.g....j.
	0x0060:  5320 e148 3936 e2e4 612f a4b6 427c 0e1c  S..H96..a/..B|..
	0x0070:  8de3 e3b5 a067 f2eb 836e d994 5154 d517  .....g...n..QT..
	0x0080:  7e15 0035 0000 14ff 0100 0100 0010 000b  ~..5............
	0x0090:  0009 0868 7474 702f 312e 310b 000e 7300  ...http/1.1...s.
	0x00a0:  0e70 0005 e930 8205 e530 8204 cda0 0302  .p...0...0......
	0x00b0:  0102 0210 077a 5889 84fd 1127 c433 f2cb  .....zX....'.3..
	0x00c0:  65ed c0fd 300d 0609 2a86 4886 f70d 0101  e...0...*.H.....
	0x00d0:  0b05 0030 7031 0b30 0906 0355 0406 1302  ...0p1.0...U....
	0x00e0:  5553 3115 3013 0603 5504 0a13 0c44 6967  US1.0...U....Dig
	0x00f0:  6943 6572 7420 496e 6331 1930 1706 0355  iCert.Inc1.0...U
	0x0100:  040b 1310 7777 772e 6469 6769 6365 7274  ....www.digicert
	0x0110:  2e63 6f6d 312f 302d 0603 5504 0313 2644  .com1/0-..U...&D
	0x0120:  6967 6943 6572 7420 5348 4132 2048 6967  igiCert.SHA2.Hig
	0x0130:  6820 4173 7375 7261 6e63 6520 5365 7276  h.Assurance.Serv
	0x0140:  6572 2043 4130 1e17 0d31 3730 3932 3530  er.CA0...1709250
	0x0150:  3030 3030 305a 170d 3138 3131 3031 3132  00000Z..18110112
	0x0160:  3030 3030 5a30 818d 310b 3009 0603 5504  0000Z0..1.0...U.
	0x0170:  0613 0255 5331 1330 1106 0355 0408 130a  ...US1.0...U....
	0x0180:  4e65 7720 4a65 7273 6579 3116 3014 0603  New.Jersey1.0...
	0x0190:  5504 0713 0d4d 6f72 7269 7320 506c 6169  U....Morris.Plai
	0x01a0:  6e73 3125 3023 0603 5504 0a13 1c48 6f6e  ns1%0#..U....Hon
	0x01b0:  6579 7765 6c6c 2049 6e74 6572 6e61 7469  eywell.Internati
	0x01c0:  6f6e 616c 2049 6e63 2e31 0c30 0a06 0355  onal.Inc.1.0...U
	0x01d0:  040b 1303 4543 4331 1c30 1a06 0355 0403  ....ECC1.0...U..
	0x01e0:  1313 5443 434e 412e 686f 6e65 7977 656c  ..TCCNA.honeywel
	0x01f0:  6c2e 636f 6d30 8201 2230 0d06 092a 8648  l.com0.."0...*.H
	0x0200:  86f7 0d01 0101 0500 0382 010f 0030 8201  .............0..
	0x0210:  0a02 8201 0100 b5d8 bd39 075d 12bb dae1  .........9.]....
	0x0220:  b91a e9c8 9f90 48fd 6898 eacf 0fd9 5d82  ......H.h.....].
	0x0230:  09c2 de4a d24e 8540 a706 2bd7 7a6d 33df  [email protected]+.zm3.
	0x0240:  2872 9d25 2ebd 0282 4686 58ef 166c 50b1  (r.%....F.X..lP.
	0x0250:  31ed b96c a5df cb57 0a82 b7c7 51fb 16ac  1..l...W....Q...
	0x0260:  e32e 91f9 4c81 73ae 88f5 d7bb 000e 9c9c  ....L.s.........
	0x0270:  1f32 4b8a af2e 38e6 ec7a 1d16 73bf 1922  .2K...8..z..s.."
	0x0280:  c7ea 143c 6fdc 635a 736a 4db4 d673 d063  ...<o.cZsjM..s.c
	0x0290:  a2dc fcea e886 5041 af5a 7f39 3e20 95fb  ......PA.Z.9>...
	0x02a0:  92c7 3802 260f 824e e1e7 f2ea 84bf 7c5e  ..8.&..N......|^
	0x02b0:  b871 9ccd e6ee 69c9 3b45 a0a1 5bff 5319  .q....i.;E..[.S.
	0x02c0:  c5eb da0d 4da1 b11c 8e63 0193 8dc6 1faa  ....M....c......
	0x02d0:  7745 9316 8b5c a63b e46d b01d b5db b014  wE...\.;.m......
	0x02e0:  70f1 1e12 9da7 8fe5 dd56 e98a 5582 2a7b  p........V..U.*{
	0x02f0:  53aa 1508 c4d8 d2df 62ec d1c3 c1c0 644c  S.......b.....dL
	0x0300:  35b2 d966 e768 0de7 2b76 16de a338 137b  5..f.h..+v...8.{
	0x0310:  1cc1 bb53 a7d1 0203 0100 01a3 8202 5b30  ...S..........[0
	0x0320:  8202 5730 1f06 0355 1d23 0418 3016 8014  ..W0...U.#..0...
	0x0330:  5168 ff90 af02 0775 3ccc d965 6462 a212  Qh.....u<..edb..
	0x0340:  b859 723b 301d 0603 551d 0e04 1604 14ed  .Yr;0...U.......
	0x0350:  3516 2295 816a 5e6f 3ba6 9061 51fe b20d  5."..j^o;..aQ...
	0x0360:  4e2f a130 818c 0603 551d 1104 8184 3081  N/.0....U.....0.
	0x0370:  8182 1354 4343 4e41 2e68 6f6e 6579 7765  ...TCCNA.honeywe
	0x0380:  6c6c 2e63 6f6d 8213 5443 4345 552e 686f  ll.com..TCCEU.ho
	0x0390:  6e65 7977 656c 6c2e 636f 6d82 1354 4343  neywell.com..TCC
	0x03a0:  4150 2e68 6f6e 6579 7765 6c6c 2e63 6f6d  AP.honeywell.com
	0x03b0:  8214 5443 434e 4153 2e68 6f6e 6579 7765  ..TCCNAS.honeywe
	0x03c0:  6c6c 2e63 6f6d 8214 5443 4345 5553 2e68  ll.com..TCCEUS.h
	0x03d0:  6f6e 6579 7765 6c6c 2e63 6f6d 8214 5443  oneywell.com..TC
	0x03e0:  4341 5053 2e68 6f6e 6579 7765 6c6c 2e63  CAPS.honeywell.c
	0x03f0:  6f6d 300e 0603 551d 0f01 01ff 0404 0302  om0...U.........
	0x0400:  05a0 301d 0603 551d 2504 1630 1406 082b  ..0...U.%..0...+
	0x0410:  0601 0505 0703 0106 082b 0601 0505 0703  .........+......
	0x0420:  0230 7506 0355 1d1f 046e 306c 3034 a032  .0u..U...n0l04.2
	0x0430:  a030 862e 6874 7470 3a2f 2f63 726c 332e  .0..http://crl3.
	0x0440:  6469 6769 6365 7274 2e63 6f6d 2f73 6861  digicert.com/sha
	0x0450:  322d 6861 2d73 6572 7665 722d 6731 2e63  2-ha-server-g1.c
	0x0460:  726c 3034 a032 a030 862e 6874 7470 3a2f  rl04.2.0..http:/
	0x0470:  2f63 726c 342e 6469 6769 6365 7274 2e63  /crl4.digicert.c
	0x0480:  6f6d 2f73 6861 322d 6861 2d73 6572 7665  om/sha2-ha-serve
	0x0490:  722d 6731 2e63 726c 304c 0603 551d 2004  r-g1.crl0L..U...
	0x04a0:  4530 4330 3706 0960 8648 0186 fd6c 0101  E0C07..`.H...l..
	0x04b0:  302a 3028 0608 2b06 0105 0507 0201 161c  0*0(..+.........
	0x04c0:  6874 7470 733a 2f2f 7777 772e 6469 6769  https://www.digi
	0x04d0:  6365 7274 2e63 6f6d 2f43 5053 3008 0606  cert.com/CPS0...
	0x04e0:  6781 0c01 0202 3081 8306 082b 0601 0505  g.....0....+....
	0x04f0:  0701 0104 7730 7530 2406 082b 0601 0505  ....w0u0$..+....
	0x0500:  0730 0186 1868 7474 703a 2f2f 6f63 7370  .0...http://ocsp
	0x0510:  2e64 6967 6963 6572 742e 636f 6d30 4d06  .digicert.com0M.
	0x0520:  082b 0601 0505 0730 0286 4168 7474 703a  .+.....0..Ahttp:
	0x0530:  2f2f 6361 6365 7274 732e 6469 6769 6365  //cacerts.digice
	0x0540:  7274 2e63 6f6d 2f44 6967 6943 6572 7453  rt.com/DigiCertS
	0x0550:  4841 3248 6967 6841 7373 7572 616e 6365  HA2HighAssurance
	0x0560:  5365 7276 6572 4341 2e63 7274 300c 0603  ServerCA.crt0...
	0x0570:  551d 1301 01ff 0402 3000 300d 0609 2a86  U.......0.0...*.
	0x0580:  4886 f70d 0101                           H.....
10:59:21.116218 IP (tos 0x0, ttl 64, id 39018, offset 0, flags [DF], proto TCP (6), length 40)
    PI-1.58432 > 199.62.84.94.https: Flags [.], cksum 0x9c93 (incorrect -> 0x641d), ack 1361, win 250, length 0
	0x0000:  20d5 bfba ab16 b827 eb09 c1c2 0800 4500  .......'......E.
	0x0010:  0028 986a 4000 4006 05ed c0a8 c033 c73e  .([email protected]@......3.>
	0x0020:  545e e440 01bb 84b4 5545 3f2e af20 5010  T^[email protected]?...P.
	0x0030:  00fa 9c93 0000 
	
	etc.....

2nd one is from domoticz version 8799 compiled from source (because ./updatebeta versions gives me fatal errors on my Python plugins ) with this version I see "Error: (Evohome) HTTP client error at login!"in my logfile


Code: Select all

11:09:57.016460 IP (tos 0x0, ttl 64, id 44829, offset 0, flags [DF], proto TCP (6), length 60)
    PI-1.59196 > 199.62.84.94.https: Flags [S], cksum 0x9ca7 (incorrect -> 0x9050), seq 2246339779, win 29200, options [mss 1460,sackOK,TS val 162055134 ecr 0,nop,wscale 7], length 0
	0x0000:  20d5 bfba ab16 b827 eb09 c1c2 0800 4500  .......'......E.
	0x0010:  003c af1d 4000 4006 ef25 c0a8 c033 c73e  .<[email protected]@..%...3.>
	0x0020:  545e e73c 01bb 85e4 6cc3 0000 0000 a002  T^.<....l.......
	0x0030:  7210 9ca7 0000 0204 05b4 0402 080a 09a8  r...............
	0x0040:  c3de 0000 0000 0103 0307                 ..........
11:09:57.145261 IP (tos 0x0, ttl 244, id 42338, offset 0, flags [DF], proto TCP (6), length 48)
    199.62.84.94.https > PI-1.59196: Flags [S.], cksum 0x0a77 (correct), seq 1546880429, ack 2246339780, win 8190, options [mss 1360,nop,wscale 4], length 0
	0x0000:  b827 eb09 c1c2 20d5 bfba ab16 0800 4500  .'............E.
	0x0010:  0030 a562 4000 f406 44ec c73e 545e c0a8  [email protected]>T^..
	0x0020:  c033 01bb e73c 5c33 85ad 85e4 6cc4 7012  .3...<\3....l.p.
	0x0030:  1ffe 0a77 0000 0204 0550 0103 0304       ...w.....P....
11:09:57.145368 IP (tos 0x0, ttl 64, id 44830, offset 0, flags [DF], proto TCP (6), length 40)
    PI-1.59196 > 199.62.84.94.https: Flags [.], cksum 0x9c93 (incorrect -> 0x54f4), ack 1, win 229, length 0
	0x0000:  20d5 bfba ab16 b827 eb09 c1c2 0800 4500  .......'......E.
	0x0010:  0028 af1e 4000 4006 ef38 c0a8 c033 c73e  .([email protected]@..8...3.>
	0x0020:  545e e73c 01bb 85e4 6cc4 5c33 85ae 5010  T^.<....l.\3..P.
	0x0030:  00e5 9c93 0000                           ......
11:09:57.145661 IP (tos 0x0, ttl 64, id 44831, offset 0, flags [DF], proto TCP (6), length 40)
    PI-1.59196 > 199.62.84.94.https: Flags [F.], cksum 0x9c93 (incorrect -> 0x54f3), seq 1, ack 1, win 229, length 0
	0x0000:  20d5 bfba ab16 b827 eb09 c1c2 0800 4500  .......'......E.
	0x0010:  0028 af1f 4000 4006 ef37 c0a8 c033 c73e  .([email protected]@..7...3.>
	0x0020:  545e e73c 01bb 85e4 6cc4 5c33 85ae 5011  T^.<....l.\3..P.
	0x0030:  00e5 9c93 0000                           ......
11:09:57.275372 IP (tos 0x0, ttl 244, id 42340, offset 0, flags [DF], proto TCP (6), length 40)
    199.62.84.94.https > PI-1.59196: Flags [F.], cksum 0x4d20 (correct), seq 1, ack 2, win 2231, length 0
	0x0000:  b827 eb09 c1c2 20d5 bfba ab16 0800 4500  .'............E.
	0x0010:  0028 a564 4000 f406 44f2 c73e 545e c0a8  .([email protected]>T^..
	0x0020:  c033 01bb e73c 5c33 85ae 85e4 6cc5 5011  .3...<\3....l.P.
	0x0030:  08b7 4d20 0000 0000 0000 0000            ..M.........
11:09:57.275520 IP (tos 0x0, ttl 64, id 44832, offset 0, flags [DF], proto TCP (6), length 40)
    PI-1.59196 > 199.62.84.94.https: Flags [.], cksum 0x9c93 (incorrect -> 0x54f2), ack 2, win 229, length 0
	0x0000:  20d5 bfba ab16 b827 eb09 c1c2 0800 4500  .......'......E.
	0x0010:  0028 af20 4000 4006 ef36 c0a8 c033 c73e  .([email protected]@..6...3.>
	0x0020:  545e e73c 01bb 85e4 6cc5 5c33 85af 5010  T^.<....l.\3..P.
	0x0030:  00e5 9c93 0000                           ......
11:10:57.188168 IP (tos 0x0, ttl 64, id 58170, offset 0, flags [DF], proto TCP (6), length 60)
    PI-1.59296 > 199.62.84.94.https: Flags [S], cksum 0x9ca7 (incorrect -> 0x7468), seq 3192207461, win 29200, options [mss 1460,sackOK,TS val 162061151 ecr 0,nop,wscale 7], length 0
	0x0000:  20d5 bfba ab16 b827 eb09 c1c2 0800 4500  .......'......E.
	0x0010:  003c e33a 4000 4006 bb08 c0a8 c033 c73e  .<.:@[email protected]>
	0x0020:  545e e7a0 01bb be45 3865 0000 0000 a002  T^.....E8e......
	0x0030:  7210 9ca7 0000 0204 05b4 0402 080a 09a8  r...............
	0x0040:  db5f 0000 0000 0103 0307                 ._........
11:10:57.316661 IP (tos 0x0, ttl 244, id 21547, offset 0, flags [DF], proto TCP (6), length 48)
    199.62.84.94.https > PI-1.59296: Flags [S.], cksum 0xb9a8 (correct), seq 3213061828, ack 3192207462, win 8190, options [mss 1360,nop,wscale 4], length 0
	0x0000:  b827 eb09 c1c2 20d5 bfba ab16 0800 4500  .'............E.
	0x0010:  0030 542b 4000 f406 9623 c73e 545e c0a8  [email protected]#.>T^..
	0x0020:  c033 01bb e7a0 bf83 6ec4 be45 3866 7012  .3......n..E8fp.
	0x0030:  1ffe b9a8 0000 0204 0550 0103 0304       .........P....
11:10:57.316784 IP (tos 0x0, ttl 64, id 58171, offset 0, flags [DF], proto TCP (6), length 40)
    PI-1.59296 > 199.62.84.94.https: Flags [.], cksum 0x9c93 (incorrect -> 0x0426), ack 1, win 229, length 0
	0x0000:  20d5 bfba ab16 b827 eb09 c1c2 0800 4500  .......'......E.
	0x0010:  0028 e33b 4000 4006 bb1b c0a8 c033 c73e  .(.;@[email protected]>
	0x0020:  545e e7a0 01bb be45 3866 bf83 6ec5 5010  T^.....E8f..n.P.
	0x0030:  00e5 9c93 0000                           ......
11:10:57.317075 IP (tos 0x0, ttl 64, id 58172, offset 0, flags [DF], proto TCP (6), length 40)
    PI-1.59296 > 199.62.84.94.https: Flags [F.], cksum 0x9c93 (incorrect -> 0x0425), seq 1, ack 1, win 229, length 0
	0x0000:  20d5 bfba ab16 b827 eb09 c1c2 0800 4500  .......'......E.
	0x0010:  0028 e33c 4000 4006 bb1a c0a8 c033 c73e  .(.<@[email protected]>
	0x0020:  545e e7a0 01bb be45 3866 bf83 6ec5 5011  T^.....E8f..n.P.
	0x0030:  00e5 9c93 0000                           ......
11:10:57.447324 IP (tos 0x0, ttl 244, id 21551, offset 0, flags [DF], proto TCP (6), length 40)
    199.62.84.94.https > PI-1.59296: Flags [F.], cksum 0xfc51 (correct), seq 1, ack 2, win 2231, length 0
	0x0000:  b827 eb09 c1c2 20d5 bfba ab16 0800 4500  .'............E.
	0x0010:  0028 542f 4000 f406 9627 c73e 545e c0a8  .(T/@....'.>T^..
	0x0020:  c033 01bb e7a0 bf83 6ec5 be45 3867 5011  .3......n..E8gP.
	0x0030:  08b7 fc51 0000 0000 0000 0000            ...Q........
11:10:57.447416 IP (tos 0x0, ttl 64, id 58173, offset 0, flags [DF], proto TCP (6), length 40)
    PI-1.59296 > 199.62.84.94.https: Flags [.], cksum 0x9c93 (incorrect -> 0x0424), ack 2, win 229, length 0
	0x0000:  20d5 bfba ab16 b827 eb09 c1c2 0800 4500  .......'......E.
	0x0010:  0028 e33d 4000 4006 bb19 c0a8 c033 c73e  .([email protected]@......3.>
	0x0020:  545e e7a0 01bb be45 3867 bf83 6ec6 5010  T^.....E8g..n.P.
	0x0030:  00e5 9c93 0000                           ......




Hope you can help
Raspberry (debian stretch via berryboot) on Synology DS916+ , Domoticz 3.9, RFXtrx433e, P1, Youless, Harmony, Hue, HomeWizard, Zwave , dzVents 3.4, Bash, Python plugins, Amazon echo

gordonb3
Posts: 606
Joined: Friday 22 January 2016 11:15
Target OS: Linux
Domoticz version: custom
Location: The Netherlands
Contact:

Re: EvoHome stopped working

Post by gordonb3 » Friday 12 January 2018 16:26

Code: Select all

 PI-1.59196 > 199.62.84.94.https: Flags [S], cksum 0x9ca7 (incorrect -> 0x9050), seq 2246339779, win 29200, options [mss 1460,sackOK,TS val 162055134 ecr 0,nop,wscale 7], length 0
This should not happen. The packages you are sending have an incorrect checksum. Strangely the Evohome portal does not seem bothered by it and still returns a correct response. It seems however that in the version you compiled yourself those answers are discarded (due to the checksum validation failing?) and thus it never completes the handshake.

You should definitely retry compiling with linked Openssl ( -DUSE_OPENSSL_STATIC="NO" )
Excito B3 running Gentoo Linux, P1, Rfxtrx433 to read and control TFA, KaKu, EvoHome RFG100
Custom patched Domoticz v3.8000

User avatar
waaren
Posts: 148
Joined: Tuesday 03 January 2017 15:18
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Netherlands
Contact:

Re: EvoHome stopped working

Post by waaren » Friday 12 January 2018 20:46

@Gordonb3,

many thanks for your advice !

I recompiled domoticz 8805 on my test PI-3 after a complete refresh from git using.

Code: Select all

git clone https://github.com/domoticz/domoticz.git domoticz
cd domoticz
cmake -DUSE_OPENSSL_STATIC="NO" -DCMAKE_BUILD_TYPE=Beta CMakeLists.txt  // this came back with a strange version number
git pull
cmake -DUSE_OPENSSL_STATIC="NO" -DCMAKE_BUILD_TYPE=Beta CMakeLists.txt
make -j3 1>make.log 2>make.error        // Stopped in error at the link step because of memory shortage


/sbin/dphys-swapfile setup
/sbin/dphys-swapfile start
/sbin/dphys-swapfile swapon
/sbin/dphys-swapfile status

sysctl vm.swappiness=100

make                  // now successful result domoticz V3.8805  (-rwxr-xr-x 1 root root 27708448 Jan 12 19:10 domoticz)

result is a working domoticz with Evohome via Web API and working Python plugins. (I still see packages from PI to tccna.honeywell.com with incorrect checksums but honeywell is not complaining so why should I :D )

I assume that using -DUSE_OPENSSL_STATIC="NO" results in dynamic linking of the openssl library.
Does this mean that the library in use at https://github.com/domoticz/domoticz is not fit for this purpose ?
Raspberry (debian stretch via berryboot) on Synology DS916+ , Domoticz 3.9, RFXtrx433e, P1, Youless, Harmony, Hue, HomeWizard, Zwave , dzVents 3.4, Bash, Python plugins, Amazon echo

gordonb3
Posts: 606
Joined: Friday 22 January 2016 11:15
Target OS: Linux
Domoticz version: custom
Location: The Netherlands
Contact:

Re: EvoHome stopped working

Post by gordonb3 » Friday 12 January 2018 21:32

Don't know. If I attempt compile with static openssl it fails because I do not have that library. I'm not exactly sure where that library is supposed to come from, but if it is part of some default build library chances are that the openssl library references outdated certificates or does not know how to read new certificates (changed formatting?). I'm strictly guessing here of course, but on my system I do not see any complaints about checksums in either direction in tcpdump. In any case I'm glad you got it sorted.
Excito B3 running Gentoo Linux, P1, Rfxtrx433 to read and control TFA, KaKu, EvoHome RFG100
Custom patched Domoticz v3.8000

hans66
Posts: 3
Joined: Thursday 11 January 2018 13:29
Target OS: Linux
Domoticz version:
Contact:

Re: EvoHome stopped working

Post by hans66 » Saturday 27 January 2018 15:33

Hi, I got a step closer. I hope someone can still help.

I run Domoticz in a X64 based docker container; works great for me; I build the docker image from scratch, based on an official debian image.
With debian:jessie as base image, all works fine. In Nov, I "upgraded" the Dockerfile to baseimage debian:stretch. When I "downgrade" to jessie, EvoHome works fine again. (note, the packages included for stretch are slightly different from jessie, Dockerfile requires a bit of tinkering).
Building the stretch based Dockerfile does not result in any warnings or errors. Domoticz does work for Hue, WU, and a few other things. Only EvoHome authentication fails....

I can post the stretch based Dockerfile if that helps.

Any clues?

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest