Closed vruge closed 10 months ago
one of my colleagues gets the error:
19700101 000000.000 Connect failed, more to try 19700101 000000.000 Could not find client corresponding to socket 3
and finally an exception
MQTT error [-1]: TCP/TLS connect failure
I cannot reproduce the error myself. It works for me. Are there any more options to see more here?
mqtt.cpp-version: 1.2.0
I guess it's more related to paho.mqtt.c. I will create a new issue in paho.mqtt.c
one of my colleagues gets the error:
and finally an exception
I cannot reproduce the error myself. It works for me. Are there any more options to see more here?
mqtt.cpp-version: 1.2.0
(full og)
```bash ========================================================= Trace Output Product name: Eclipse Paho Asynchronous MQTT C Client Library Version: 1.3.11 Build level: 2022-12-21T09:40:14Z OpenSSL version: OpenSSL 1.1.1u 30 May 2023 OpenSSL flags: compiler: arm-pxc-linux-gnueabi-gcc -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map= -fdebug-prefix-map= -fdebug-prefix-map= -fdebug-prefix-map= -DOPENSSL_USE_NODELETE -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_A OpenSSL build timestamp: built on: Tue May 30 12:42:39 2023 UTC OpenSSL platform: platform: linux-armv4 OpenSSL directory: OPENSSLDIR: "/usr/lib/ssl-1.1" /proc/version: Linux version 5.4.193-rt74-pxc (oe-user@oe-host) (gcc version 11.3.0 (GCC)) #1 SMP PREEMPT_RT Wed Nov 30 11:53:25 UTC 2022 ========================================================= 19700101 000000.000 0 commands restored for client clientIDdummy 19700101 000000.000 0 queued messages restored for client clientIDdummy 19700101 000000.000 Connecting to serverURI private.broker.url:8883 with MQTT version 4 19700101 000000.000 New socket 3 for private.broker.url:8883, port 8883 19700101 000000.000 Connect pending 19700101 000000.000 Return code 1 from poll 19700101 000000.000 m->c->connect_state = 1 19700101 000000.000 Removed socket 3 19700101 000000.000 Removed socket 3 19700101 000000.000 Connect failed, more to try 19700101 000000.000 Could not find client corresponding to socket 3 19700101 000000.000 Connecting to serverURI private.broker.url:8883 with MQTT version 3 19700101 000000.000 New socket 3 for private.broker.url:8883, port 8883 19700101 000000.000 Connect pending 19700101 000000.000 Return code 1 from poll 19700101 000000.000 m->c->connect_state = 1 19700101 000000.000 Removed socket 3 19700101 000000.000 Removed socket 3 19700101 000000.000 0 inflight messages deleted for client clientIDdummy 20231215 133327.052 0 responses removed for client clientIDdummy 20231215 133327.052 Calling connect failure for client clientIDdummy 20231215 133327.052 Could not find client corresponding to socket 3 ```