-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Hi,
when having a MQTT client running for a while, I see a strange behaviour:
In irregular time ranges, following error shows up:
EXCEPTION error.
Connection closed
0: tcp_error_ system/modules/tcp.toit:205:3
1: TcpSocket_.ensure_state_ system/modules/tcp.toit:78:14
2: TcpSocket.read system/modules/tcp.toit:154:14
3: ClientSocketResource.read system/components/network.toit:120:20
4: register_network.<lambda> system/components/network.toit:32:12
5: KernelBroker.register_descriptor_procedure.<lambda> system/kernel/rpc.toit:44:14
6: RpcRequest_.process.<block> <sdk>/rpc/broker.toit:98:26
7: RpcRequest_.process <sdk>/rpc/broker.toit:95:3
8: RpcRequestQueue_.ensure_processing_task_.<lambda>.<block>.<block> <sdk>/rpc/broker.toit:214:20
9: RpcRequestQueue_.ensure_processing_task_.<lambda>.<block> <sdk>/rpc/broker.toit:209:9
10: RpcRequestQueue_.ensure_processing_task_.<lambda> <sdk>/rpc/broker.toit:204:56
Afterwards, following error shows:
EXCEPTION error.
Connection closed
0: Client.start.<lambda> <pkg:mqtt>/client.toit:54:32
1: Client.start.<lambda> <pkg:mqtt>/client.toit:84:30
And finally:
Reset after exiting deep sleep mode.
I used the exact setup for the client as in the example files. I already tried different MQTT brokers, different WiFis and shrinked down the code to only have a client connecting to a broker without any subscription.
Is this something that can be avoided somehow? Or any clue why this could happen?
Thanks in advance!
Metadata
Metadata
Assignees
Labels
No labels