Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
KCS A128 mqtt disconneting after inputs action
#8
and here logs from version 1.0.27.  As I sed, in this version, the controller doesn't freeze when the MQTT option is enabled – the web panel works. But when I trigger the input action assigned to the output, the controller freezes for a few seconds. In the logs, you can see it performing the input action, and then a connection error with MQTT appears.

Code:
I (12822) mqtt: MQTT_EVENT_CONNECTED
I (12824) mqtt: subscribe KC868_A128/D4D4DAE11FEC/SET .
I (12899) mqtt: MQTT_EVENT_SUBSCRIBED, msg_id=31481
I (15768) web socket: Handshake done, the new connection was opened
I (28105) input: ===>input 1  1
I (28186) input: key 2 type 1.

I (28204) NVS: save board state success.
I (28206) input: ===>input 1  0
I (29497) input: ===>input 1  1
I (29578) input: key 2 type 1.

I (29606) NVS: save board state success.
I (29663) input: ===>input 1  0


Backtrace: 0x40084D55:0x3FFB0B90 0x40082B45:0x3FFB0BB0 0x4000BFED:0x3FFCBBC0 0x4008BF5E:0x3FFCBBD0 0x400897FD:0x3FFCBBF0 0x400FCF56:0x3FFCBC30 0x400F3939:0x3FFCBC60 0x400F3965:0x3FFCBC80 0x400FD3C0:0x3FFCBCA0 0x401641C5:0x3FFCBCC0 0x400ED6B2:0x3FFCBCE0 0x400ECC21:0x3FFCBD00 0x400EDD32:0x3FFCBD20



Backtrace: 0x40084D55:0x3FFB1190 0x40082B45:0x3FFB11B0 0x4000BFED:0x3FFCBCD0 0x4008BF5E:0x3FFCBCE0 0x4008B6A6:0x3FFCBD00 0x4

BaE:0x3ce:BD24
8
0xacktrac0  0x00884D5:0x33FB0B1900xx400B2B4:0x33FC211B 0x4400BF579:033FC280B  0x008DFAD::x33FC280D00

0F1902:0x3FFC2C90 0x4008524D:0x3FFC2CB0 0x40132624:0x3FFC2CE0 0x4012026D:0x3FFC2D00 0x400D7515:0x3FFC2D20



Backtra
       e
        Bax40084e: 0x43F84D19: 03F008B90 0x43F82B1B:0xx40B0B52 :x4008E14B: 03F00D5D0F:0x00FE1ED: 03F00E617 0x4316714D: 0xFFCDE30
0
3FFE14F0 0x400DE5E3:0x3FFE1530



Backtrace: 0x40084D55:0x3FFB0B90 0x40082B45:0x3FFB0BB0 0x4008B179:0x3FFD80B0 0x400DFA36:0x3FFD80D0

Guru Meditation Error: Core  1 panic'ed (LoadStoreAlignment). Exception was unhandled.

Core  1 register dump:
PC      : 0x4008be15  PS      : 0x00060033  A0      : 0x80089d6b  A1      : 0x3ffe1130
A2      : 0x6c616686  A3      : 0xffffffff  A4      : 0x00060420  A5      : 0x00060423
A6      : 0x0000000a  A7      : 0x18000000  A8      : 0x0000abab  A9      : 0x0000abab
A10     : 0x00060020  A11     : 0x0000cdcd  A12     : 0xb33fffff  A13     : 0x00060023
A14     : 0x00ff0000  A15     : 0xff000000  SAR     : 0x0000000c  EXCCAUSE: 0x00000009
EXCVADDR: 0x6c616686  LBEG    : 0x400f3265  LEND    : 0x400f326f  LCOUNT  : 0x00000000


Backtrace: 0x4008be12:0x3ffe1130 0x40089d68:0x3ffe1150 0x400fcd8e:0x3ffe1190 0x400f1bac:0x3ffe11b0 0x400f1fa1:0x3ffe11d0 0x400f3283:0x3ffe1200 0x400d579a:0x3ffe12a0 0x40103daf:0x3ffe1310 0x4016492f:0x3ffe1360 0x40103ad9:0x3ffe1380 0x401648ff:0x3ffe13b0 0x400e0d27:0x3ffe13d0 0x400e0d7e:0x3ffe13f0 0x400e25cd:0x3ffe1410 0x400ddd8a:0x3ffe1450 0x400dde59:0x3ffe1470 0x400dde7b:0x3ffe14d0 0x400de269:0x3ffe14f0 0x400de5e3:0x3ffe1530




ELF file SHA256: b690ef5ed23b941c

Rebooting...
ets Jul 29 2019 12:21:46

rst:0xc (SW_CPU_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:6612
load:0x40078000,len:15060
load:0x40080400,len:3816
entry 0x40080698

It can also throw other errors after subsequent input actions:

Code:
I (91325) NVS: save board state success.
I (91351) input: ===>input 1  0
Guru Meditation Error: Core  0 panic'ed (LoadProhibited). Exception was unhandled.

Core  0 register dump:
PC      : 0x400832ba  PS      : 0x00060032  A0      : 0x800834b1  A1      : 0x3ffb0b30
A2      : 0x00000001  A3      : 0x3ffb1328  A4      : 0x22323974  A5      : 0x0000000e
A6      : 0x00003800  A7      : 0x3ffc4580  A8      : 0x00000008  A9      : 0x00000004
A10     : 0x00000003  A11     : 0x00060023  A12     : 0x3ffb0b78  A13     : 0x3ffc4550
A14     : 0x00000008  A15     : 0x00060723  SAR     : 0x0000001f  EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000008  LBEG    : 0x00000000  LEND    : 0x00000000  LCOUNT  : 0x00000000


Backtrace: 0x400832b7:0x3ffb0b30 0x400834ae:0x3ffb0b70 0x40082be5:0x3ffb0bb0 0x40163a4f:0x3ffc45b0 0x400d469d:0x3ffc45d0 0x4008a11c:0x3ffc45f0




ELF file SHA256: b690ef5ed23b941c

Rebooting...
ets Jul 29 2019 12:21:46

rst:0xc (SW_CPU_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:6612
load:0x40078000,len:15060
load:0x40080400,len:3816
entry 0x40080698

or:
Code:
I (91325) NVS: save board state success.
I (91351) input: ===>input 1  0
Guru Meditation Error: Core  0 panic'ed (LoadProhibited). Exception was unhandled.

Core  0 register dump:
PC      : 0x400832ba  PS      : 0x00060032  A0      : 0x800834b1  A1      : 0x3ffb0b30
A2      : 0x00000001  A3      : 0x3ffb1328  A4      : 0x22323974  A5      : 0x0000000e
A6      : 0x00003800  A7      : 0x3ffc4580  A8      : 0x00000008  A9      : 0x00000004
A10     : 0x00000003  A11     : 0x00060023  A12     : 0x3ffb0b78  A13     : 0x3ffc4550
A14     : 0x00000008  A15     : 0x00060723  SAR     : 0x0000001f  EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000008  LBEG    : 0x00000000  LEND    : 0x00000000  LCOUNT  : 0x00000000


Backtrace: 0x400832b7:0x3ffb0b30 0x400834ae:0x3ffb0b70 0x40082be5:0x3ffb0bb0 0x40163a4f:0x3ffc45b0 0x400d469d:0x3ffc45d0 0x4008a11c:0x3ffc45f0




ELF file SHA256: b690ef5ed23b941c

Rebooting...
ets Jul 29 2019 12:21:46

rst:0xc (SW_CPU_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:6612
load:0x40078000,len:15060
load:0x40080400,len:3816
entry 0x40080698

My network is very simple, all devices are connected to the same switch, there is no routing, no port blocking. Besides this board, I also have an A64 version, which is plugged into the same switch and works correctly with any software, connecting to the MQTT broker on the same address. I also changed the Ethernet cable to a different one, but it makes no difference.

My network is very simple, all devices are connected to the same switch, there is no routing, no port blocking. Besides this board, I also have an A64 version, which is plugged into the same switch and works correctly with any software, connecting to the MQTT broker on the same address. I also changed the Ethernet cable to a different one, but it makes no difference.
Reply


Messages In This Thread
RE: KCS A128 mqtt disconneting after inputs action - by gitbejbe - Yesterday, 07:53 PM

Forum Jump:


Users browsing this thread: