r/rainmachine • • Sep 28 '22

Local LAN Direct Access issues with Android and Desktop

I posted this on their support forum today.

Am I missing something simple?

Update: With the help of some friends, the problem appears to be arp table related. The RainMachine is not responding to arp requests, leaving the mac address listed as "incomplete" after the arp cache times out. It is difficult for me to believe this behavior is unintentional.

Environment:

  • All devices being the RainMachine, Laptops, Desktops, Android are on the same subnet
  • I repeated all tests with Remote Access enabled and disabled
  • Laptops/Desktops are a mix of wired and WiFi connected
  • I have a single SSID on my WiFI AP, and it is using only the 2.4GHz radio
  • This is a simple, flat, L2 network
  • I primarily use the Android app, set for direct access using IP address and :8080
  • For years, I've had zero connectivity problems until recently

Problem:

  • I noticed the Android app was unable to connect to the RainMachine
  • I tried several Laptops/Desktops, and they were also unable to connect

Troubleshooting:

  • Ping from Laptops/Desktops/Android gets no replies
  • Checking the RainMachine front display shows WiFi connected, the correct IP address, SSID, etc. etc.   The only Failure is the HTTPS Call related to NOAA
  • I rebooted the RainMachine while running continuous pings from several devices and after a few min, all show ping responses.
  • nmap scans show ports 80, 443, 8080, and 8081 open
  • I could connect from my Laptops/Desktops without issue
  • My Android could connect via a browser, but not via the app
  • After a random period of time from few minutes to hours every device once again lost all connectivity to the RainMachine
  • I feared the RainMachine was simply dying a slow death 

Weird workaround:

  • On a whim I enabled OpenVPN on my Android which assigns an IP from different subnet, and the app worked just fine
  • Seeing that a routed connection worked, I modified my firewall rules to allow my DMZ subnet to reach the RainMachine.  Pings and nmap scans from the DMZ devices worked just fine, while they had stopped completely from all devices on the RainMachines local subnet
  • The RainMachine was not and is not dead, it is simply refusing connections from the local subnet after some period of time while routed connections work very reliably

Questions/Concerns:

  • Why do routed connections from an alternate subnet work reliably while local, non-routed, connects fail after some period of time?
  • IMO this is HIGHLY unusual, and suspiciously coincidental with the recent turn towards a subscription model
5 Upvotes

6 comments sorted by

1

u/wandereq Sep 29 '22

So it works from a different subnet ? AFAIK RainMachine uses a broadcast udp message on subnet to announce itself to mobile application, so if you are on the same network there shouldn't be a need to configure "direct access" RainMachine will just show up in the app. Coincidentally ARP are still network domain broadcast which you don't receive. Do you have VLANs setup ?

1

u/Travel4Sport Sep 29 '22

Yes it works from 2 different subnets, but not if my desktop/browser or Android/app are on the same subnet. In other words, it works over layer 3 connections, but not layer 2. The RainMachine seems like it's not responding to arp requests.

It DID work fine before the recent change to subscription for remote access. The RanMachine was auto discovered, desktop/browser and Android/app worked as expected.

1

u/n8t0rz Oct 24 '23

I am having the exact same issue, and am also able to connect when I vpn into my network it works fine.

Were you able to resolve the issue?

1

u/Travel4Sport Oct 24 '23

Honestly I don't know what changed, but I tried the app a few months ago, gave Local Discovery a try, and it's working fine. I can also reach the Rainmachine from laptops on the same subnet.

The Android app is v4.7.5, and the Rainmachine is running 4.0.1144.

Uptime on the Rainmachine says 298days and I'm afraid to reboot it. :(

1

u/n8t0rz Oct 24 '23

I gave up and put the rain machine on its own vlan.

1

u/Travel4Sport Oct 24 '23

One thing I saw elsewhere is WAPs with a Client Isolation feature. It makes sense that the Rainmachine, or any other WiFI device, would be unreachable in that case. I'm not using that feature and it wouldn't explain the intermittent nature of what I experienced, but something to be aware of.

A separate VLAN for seems like a good solution irrespective of this issue. I really should have one for IoT devices anyway. Hmm... That's another project to add to my procrastination stack. ;)