I am seeing Golioth client timeouts. Networking is fine as I can ping continuously and Golioth always reconnects immediately. The only recent change is disabling the Golioth logging backend, so I suspect the lack of logging traffic may have something to do with the issue.
[00:04:06.580,000] <dbg> golioth_system: golioth_system_client_main: Event in eventfd
[00:04:06.584,000] <dbg> golioth_system: golioth_system_client_main: Next timeout: 119990
[00:06:06.583,000] <dbg> golioth_system: golioth_system_client_main: Waiting for client to be started
[00:06:06.583,000] <inf> golioth_system: Starting connect
[00:06:07.734,000] <inf> golioth_system: Client connected!
[00:06:07.734,000] <dbg> golioth_system: golioth_system_client_main: Next timeout: 120000
[00:06:07.984,000] <dbg> golioth_system: golioth_system_client_main: Next timeout: 119996
[00:08:07.981,000] <dbg> golioth_system: golioth_system_client_main: Event in eventfd
[00:08:07.985,000] <dbg> golioth_system: golioth_system_client_main: Next timeout: 120000
[00:10:07.986,000] <dbg> golioth_system: golioth_system_client_main: Event in eventfd
[00:10:07.990,000] <dbg> golioth_system: golioth_system_client_main: Next timeout: 119990
[00:12:07.980,000] <dbg> golioth_system: golioth_system_client_main: Event in eventfd
[00:12:07.980,000] <wrn> golioth_system: Receive timeout
[00:12:07.988,000] <dbg> golioth_system: golioth_system_client_main: Waiting for client to be started
[00:12:07.988,000] <inf> golioth_system: Starting connect
[00:12:08.838,000] <inf> golioth_system: Client connected!
[00:12:08.838,000] <dbg> golioth_system: golioth_system_client_main: Next timeout: 120000
[00:12:09.117,000] <dbg> golioth_system: golioth_system_client_main: Next timeout: 119996
I have the RX timeout set to 360 seconds and the ping interval set to 120 seconds.
CONFIG_GOLIOTH_SYSTEM_CLIENT_RX_TIMEOUT_SEC=360 CONFIG_GOLIOTH_SYSTEM_CLIENT_PING_INTERVAL_SEC=120
This is for Zephyr v3.5 and v0.8.0 (4f1538de21b160f7e8993d8820e32e2f9120ca0e) of GitHub - golioth/golioth-zephyr-sdk: Golioth SDK For Zephyr which isn’t scheduled to be updated to the new repo until July timeframe.