RUT241 and shelly Cloud

Dear,

i have a shelly I4DC connect via wifi to a RUT241.

The connection to the shelly cloud is unstable, sometimes it works for a day. Then it keeps resetting every 5 seconds. Below is the output on the shelly diagnostics, on my home network the shelly is connecting to the cloud without any issue.

I already checked a lot of configuration option in the teltonika but cannot pinpoint where the problem is situated, are their any ideas about which settings might influence the connectivty to the shelly cloud?

shos_http_client.cp:656 0x3ffde994: Finished; bytes 300, code 101, redir 0/3, auth 0, status -7: WebSocket connection closed (0 )

The websockets keeps closing with the above error.

Brgds,

Rik

Greetings,

Thank you for reaching out.

To confirm, is the initially described issue of unstable Shelly I4DC connection still noticeable? Can you confirm if your RUT241 has a stable internet connection throughout the day and during the mentioned cloud connection disruptions? Additionally, could you verify whether the Wi-Fi signal strength between the Shelly device and the router remains stable during these disruptions?

It would also be helpful to check if there’s any packet loss when pinging the Shelly IP from the router. If there is, you might want to try changing to a less congested 2.4 GHz channel, as an overcrowded wireless environment could cause instability, especially if there are other wireless networks nearby.

For further testing, you can also try the following:

  1. Try reducing the MTU size to e.g., 1400 or lower on WLAN (ifconfig wlan0 mtu 1400)
  2. Try adding the following settings to the /etc/sysctl.d/10-default.conf that might help improve stability:
  • net.ipv4.tcp_keepalive_time = 300
  • net.ipv4.tcp_keepalive_intvl = 60
  • net.ipv4.tcp_keepalive_probes = 5
  1. Check if there’s a “Keep Alive” option in the Shelly app settings and ensure it is enabled.

Also, if your RUT241 has an older firmware version installed, make sure to update it to the latest 7.13.3 release.

Best regards,

Dear,

I do confirm it was unstable all the time, connecting and disconnecting from the Cloud.

As suggested I first updated the router to the last firmware.

I tried pinging the shelly and there was no packet loss.

After performing step 1 from your troubleshooting guide everything was working.

I do confirm that setting MTU on mob1s1a1 on the WAN-page to 1400 seem to have solved the problem.

If any new issue arises again I will reopen this thread.

Brgds,

Rik

1 Like

Hello Rik,

Thank you for the update. I’m glad to hear that setting the initial issue seems to be resolved for now.

If the same problem arises again in the future, please don’t hesitate to let me know in this topic.

Best regards,

Dear,

Issue is now resolved.

Brgds,

Rik

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.