INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: JRemote connection- OK in home, drops out of home  (Read 1587 times)

mosser

  • Recent member
  • *
  • Posts: 28
JRemote connection- OK in home, drops out of home
« on: March 28, 2024, 02:58:12 pm »

Hi, when I try to access content via JRemote app on my phone recently, it won’t connect.  It was fine to use in my car up until a week ago.  Works fine in my home over WiFi.  Pls see attached diagnostic screenshot and advise on a solution if possible?  Thanks in advance!
Logged

mosser

  • Recent member
  • *
  • Posts: 28
Re: JRemote connection- OK in home, drops out of home
« Reply #1 on: May 16, 2024, 02:00:04 pm »

Bumping this in hopes of suggestions/solutions.  Thanks!
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7897
  • Long cold Winter...
Re: JRemote connection- OK in home, drops out of home
« Reply #2 on: May 16, 2024, 02:11:23 pm »

Seeing timed out messages like that sounds like a firewall either on your router or on the device you're using as the MC server is blocking it.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

This2ShallPass

  • World Citizen
  • ***
  • Posts: 239
  • "I picked a helluva day to install MC!"
Re: JRemote connection- OK in home, drops out of home
« Reply #3 on: May 16, 2024, 02:25:44 pm »

Thanks, but it can't be the router - the scenario happens when I leave my home's wifi range. Consistently. Requires a restart of JRemote on my iPhone, and then re-starting the music.

Do others use JRemote in this way? Play music on their phone, then leave home (and consequently their wifi connectivity, switching to cellular service)?
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7897
  • Long cold Winter...
Re: JRemote connection- OK in home, drops out of home
« Reply #4 on: May 16, 2024, 04:38:28 pm »

Well, if you're outside the network did you forward the ports in your firewall/router? It won't work unless you do this and not doing this can cause these issues. And make sure you're using the access key to connect to the server unless you have a static IP address for the server. Trying to use a local IP address to connect outside the network won't work.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

This2ShallPass

  • World Citizen
  • ***
  • Posts: 239
  • "I picked a helluva day to install MC!"
Re: JRemote connection- OK in home, drops out of home
« Reply #5 on: May 17, 2024, 10:29:46 am »

I hope I'm being clear... I can restart JRemote after I've left my home wifi range, and everything works fine. I'm pretty confident that wouldn't be possible without port forwarding, true? The issue is that JRemote cannot make the transition from home wifi to cellular service. It stops working once I leave home wifi, and I need to shut down JRemote (not my Id - just the JRemote app on my iPhone), and restart it. Then it works fine. I'm trying to figure out if it's possible to have the transition from wifi to cellular service work seamlessly, and not have to restart the app. Are using JRemote in this capacity? Start playing to the device while on home wifi, then leaving the wifi range, and JRemote continuing to work?

My only workaround is to remember to shut off wifi on my iPhone BEFORE I launch JRemote.
Logged

mattlovell

  • Galactic Citizen
  • ****
  • Posts: 332
Re: JRemote connection- OK in home, drops out of home
« Reply #6 on: May 17, 2024, 10:42:51 am »

Quote
Start playing to the device while on home wifi, then leaving the wifi range, and JRemote continuing to work?

That transition in connectivity (from your home wifi to the cellular network) would no doubt then require JRemote to switch what IP address it is using to reach your running MC server.  Perhaps iOS / iPadOS provides some sort of trigger for applications to be notified when such a networking change has occurred?  Otherwise, I've no idea how JRemote would even "know" something has changed.

It seems like such a "networking has changed" trigger is currently absent from JRemote?


Edit: spelling
Logged

mattlovell

  • Galactic Citizen
  • ****
  • Posts: 332
Re: JRemote connection- OK in home, drops out of home
« Reply #7 on: May 17, 2024, 02:20:53 pm »

I'm a VLSI developer, not a software guy, but I went googling around for interesting tidbits.  I found the topic being discussed on github for the FireBase software development kit...  Bob is no doubt already aware of all of this!

SCNetworkReachability API deprecations (March 2024)
https://github.com/firebase/firebase-ios-sdk/issues/12593

Quote
At WWDC18, Apple teased the end of reachability by asking everyone to move to NWPathMonitor. Here is the video that will be helpful to identify the replacement that's been around for a while.
https://developer.apple.com/wwdc18/715?time=3459
Logged
Pages: [1]   Go Up