INTERACT FORUM

Please login or register.

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

Author Topic: Connection Failure Using Access Key [Solved]  (Read 3383 times)

goberre

  • Recent member
  • *
  • Posts: 35
Connection Failure Using Access Key [Solved]
« on: February 17, 2021, 06:30:31 am »

Hi,
A couple of years ago Gizmo was working fine for audio on my Android phone with my W10 laptop as the server, then it stopped connecting on the LAN and I could not fix it and gave up. In the last year my config has changed to, in the office, a new router and W10 desktop as the server and upstairs the laptop as the client which is working great, love your software.
I am now trying to resurrect Gizmo. I have removed and reinstalled Gizmo on the phone, input the access key but it will not connect by LAN or internet, although I'm not fussed about internet connection at present. I assume it is a firewall issue and I am trying to set a rule to allow Gizmo through the firewall in my Kaspersky security software but so far failed. Should I expect to see Gizmo listed in the schedule of app network rules (attached)? Thanks.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72413
  • Where did I put my teeth?
Re: Connection Failure Using Access Key
« Reply #1 on: February 17, 2021, 07:00:57 am »

Open ports 52100 to 52200. 

See the Network Access topic on our wiki.
Logged

goberre

  • Recent member
  • *
  • Posts: 35
Re: Connection Failure Using Access Key
« Reply #2 on: February 19, 2021, 08:49:59 am »

Hello again, sorry for the delay in reply but being of an age that when at school we used sliderules because there were no calculators I thought I would get a Microsoft qualified network engineer in to help with this problem. He has just left scratching his head. He assures me ports 52199, 52100 and 52200 are open both internally and externally. He managed to get access to the JRiver DLNA device from his laptop internally as I can on mine. He also downloaded Gizmo onto his Android phone and logged in first time but my LG G5SE phone Android version 7.0 still won't log in. We cleared the Gizmo data and cache, forced a stop and uninstalled Gizmo, rebooted the phone, reinstalled Gizmo but to no avail. Gizmo attempts connections internally and externally 10 times and then reports there was a problem connecting to the server even though wifi is fine. Have you any advise how I can get Gizmo to connect to my JRiver DLNA server. We are at a loss to understand the problem.  ?
Logged

goberre

  • Recent member
  • *
  • Posts: 35
Re: Connection Failure Using Access Key
« Reply #3 on: February 19, 2021, 08:57:31 am »

PS    I can supply you with the external address to my JRiver DLNA server if you want to test access.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72413
  • Where did I put my teeth?
Re: Connection Failure Using Access Key
« Reply #4 on: February 19, 2021, 09:14:36 am »

He managed to get access to the JRiver DLNA device from his laptop internally as I can on mine. He also downloaded Gizmo onto his Android phone and logged in first time but my LG G5SE phone Android version 7.0 still won't log in.
It's probably a problem with your phone then.  That's unusual.

Try another Android device if you have one.

Are you entering the Access Key on your phone?  You can generate a new one on the server.
Logged

avpman

  • Galactic Citizen
  • ****
  • Posts: 445
  • Dad to three beatuiful Boxers by rescue.
Re: Connection Failure Using Access Key
« Reply #5 on: February 19, 2021, 10:09:15 am »

By any chance do you have a mobile VPN or Virus protection/firewall on your phone? I.E. Bitdefender Mobile, NordVPN, or another?
Logged

goberre

  • Recent member
  • *
  • Posts: 35
Re: Connection Failure Using Access Key
« Reply #6 on: February 19, 2021, 11:36:16 am »

Dear JimH,
As I mentioned the network engineer downloaded Gizmo onto his Android phone and logged in first time by entering the access key.
I have tried generating a new access key on the server and logging in to Gizmo with that but no joy. I have tried logging in to Gizmo using my internal address 192.168.1.?:52199 but no joy.

Dear avpman,
I have a licensed Kaspersky Internet Security on my phone, I do not use a VPN and to my knowledge Android Kaspersky Internet Security does not use a firewall.
Logged

goberre

  • Recent member
  • *
  • Posts: 35
Re: Connection Failure Using Access Key
« Reply #7 on: February 20, 2021, 07:52:36 am »

Hi guys,
I found this thread while trawling the forum for answers;
https://yabb.jriver.com/interact/index.php?topic=118771.0#lastPost
This is virtually identical to my issue so I followed RoderickGI's testing procedure
Quote
If you use this link http://jriver.com/webgizmo.html, and enter your Access Key, select "Inside my network", does JRiver Panel open successfully, after asking for authentication credentials?
Answer when executed on server pc is yes.
Answer when executed on phone is "can't reach http://192.168.1.183:52199 ERROR_ADDRESS_UREACHABLE
Quote
If you go to the address: http://webplay.jriver.com/libraryserver/lookup?id=[access code] replacing [access code] with your Access Key, are you shown a page with your Public IP Address, and a list of one or more local IP Addresses, and are they correct?
Answer on server pc yes. "<Response Status="OK">"
Answer on phone yes. "<Response Status="OK">"
Quote
Your phone is connected to your home WiFi network when you are trying all this, correct?
Yes
Quote
If that doesn't work, or maybe before trying that, just delete the MC Server from Gizmo and then add it back in and test again. In Gizmo, just press and hold on the existing listed server, and then select Delete. Then add the server back in again using your Access Key.
My answer would be the same as GHubbard's
Quote
My WI-FI is on and my S9 is connected
The phone App I have installed is called Gizmo supplied by JRiver
When I select/open this App, It displays the following:
  A symbol of a home and next to it the word Gizmo and on a second line under it,"Connect to a server".
  Under this is a line of text which reads:  "Enter a JRiver Library Server access key:"
  Under this text are three Boxes:  the first box outlined in red has the curser (ready to input the access key).  The next box "Go" and the third "Help"
  Under this is a picture of two fingers touching, and under this the text "Gizmo" and under this, the text "You're on the bus"
There is nothing else on the screen!
  So my only options are to input the access key, which I do and then select Go. Then it try's to connect and after 10 times trying it returns a message "There was a problem connecting to the server"
  I have tried pushing and holding on several things and nothing happens! What am I missing?
I then tried RoderickGI's next procedure;
In Andriod settings-Apps-Gizmo I forced a stop then cleared the data and cache then rebooted started Gizmo and entered the server access key and wait for the fanfare, I got the login window. I entered the usrename and password correctly and got the holding window "looking up access key" but much to my disappointment Gizmo went into its ten attempts to connect to the server both internally and externally using the correct addresses.
Quote
Could be firewall related.   Make sure port 1900 is open for SSDP.
As I have not a scooby what that means I then tried turning off both Windows and Kaspersky firewalls together but still the same 10 attempts to login to the server bur no success.
So I thought I would check out what worked for Ghubbard
Quote
A breakthrough, I have made connection to the server!  I think it was Firewall related as I did find some related JRiver programs and changed them to "open to all devices".
So in Kaspersky where all JRiver apps were set under Network to "inherit" I went through and changed them all to "allow".
Sadly no joy.
I am at a loss to know what to do next. I have an extensive 2TB collection of FLAC, and now I have worked out how to use a DLNA media server, I would love to access my music through Gizmo on my phone from in the car, on foot, cycling and on holiday. I do not subscribe to streaming services because I have no need, my growing collection does me. I chose my phone because it is one of the best for audio out there, an LG G5SE with the optional 32bit B&O DAC and do not wish to change it.
If I or you cannot get Gizmo to work I may have to opt for the nuclear option, suggested in some of the audiophile groups I follow, and ditch JRiver, which I love and have bought every update since Media Centre 16 back in 2011, for something like Roon which gets recommended in these groups.
Please help, I do not want to abandon my investment in JRiver.


Logged

avpman

  • Galactic Citizen
  • ****
  • Posts: 445
  • Dad to three beatuiful Boxers by rescue.
Re: Connection Failure Using Access Key
« Reply #8 on: February 20, 2021, 08:11:00 am »

I wouldn't dump MC just yet. Since your network engineer got it to work on his phone, it has to be something on your phone. PM me if you would like for me to try and help from my phone. Also, for testing, I wouldn't just "allow" programs in Kaspersky as much as I would remove it completely. You can always re-install it and any other manuf provided protection. I had a similar problem with Bitdefender blocking access to one of my devices from my PC. Drove me crazy for days. I thought I had allowed everything, but it took removing BD to narrow down the problem.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72413
  • Where did I put my teeth?
Re: Connection Failure Using Access Key
« Reply #9 on: February 20, 2021, 08:56:55 am »

Also, for testing, I wouldn't just "allow" programs in Kaspersky as much as I would remove it completely. You can always re-install it and any other manuf provided protection. I had a similar problem with Bitdefender blocking access to one of my devices from my PC. Drove me crazy for days. I thought I had allowed everything, but it took removing BD to narrow down the problem.
Kaspersky could easily be the problem and, as avpman says, uninstalling it is the only true test.
Logged

goberre

  • Recent member
  • *
  • Posts: 35
Re: Connection Failure Using Access Key
« Reply #10 on: February 20, 2021, 10:14:16 am »

I see both of you are suggesting I uninstall Kaspersky. I take it as my MC client on my laptop works fine accessing my MC server on my PC you mean uninstall Kaspersky from my phone and test Gizmo?
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72413
  • Where did I put my teeth?
Re: Connection Failure Using Access Key
« Reply #11 on: February 20, 2021, 10:53:26 am »

Yes.
Logged

goberre

  • Recent member
  • *
  • Posts: 35
Re: Connection Failure Using Access Key
« Reply #12 on: February 20, 2021, 11:10:10 am »

I have just stripped all Kaspersky apps off the phone after forcing stop and clearing data and cache, uninstalled Gizmo, rebooted, reinstalled Gizmo from PlayStore, rebooted, opened Gizmo and entered the access key to receive the error message "There was a problem connecting to the server". No 10 attempts to connect as there used to be. I tried resetting my server access key but same response.
On the server when I use the option to "test this connection to the server" I get the response attached.
Logged

goberre

  • Recent member
  • *
  • Posts: 35
Re: Connection Failure Using Access Key
« Reply #13 on: February 20, 2021, 11:35:44 am »

Found something interesting.
I thought I would use "Add or configure DLNA servers" in Media Network options to remove the existing DLNA server and replace it to see what happens. I removed the one DLNA server listed and added an "Audiophile 24 bit DAC" profile DLNA server as the one I removed was and called it "JRiver DLNA Server". I the went to Network in File Explorer to find three DLNA devices all with the same model number and the same device webpage. Is this normal. See attachment.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72413
  • Where did I put my teeth?
Re: Connection Failure Using Access Key
« Reply #14 on: February 20, 2021, 11:37:17 am »

I removed your attachment since it had your access key and login displayed.
I tried the access key.  It got the address but wouldn't connect so the server isn't visible from outside your LAN.

Reread Network Access on our wiki.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72413
  • Where did I put my teeth?
Re: Connection Failure Using Access Key
« Reply #15 on: February 20, 2021, 01:05:21 pm »

Gizmo uses Library Server, not DLNA.  I think your port forwarding on your router isn't right.
Logged

goberre

  • Recent member
  • *
  • Posts: 35
Re: Connection Failure Using Access Key
« Reply #16 on: February 20, 2021, 01:15:44 pm »

 http://webplay.jriver.com/libraryserver/lookup?id=[access code] works fine and returns
<Response Status="OK">
<keyid>xxxxxx</keyid>
<ip>host-78-146-0-xxx.asxxxxx.net</ip>
<port>52199</port>
<localiplist>192.168.1.183</localiplist>
<macaddresslist>xxxxxxxxxxxxxxxxxxxxxxxx</macaddresslist>
</Response>
So I assume the server is visible outside my LAN.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72413
  • Where did I put my teeth?
Re: Connection Failure Using Access Key
« Reply #17 on: February 20, 2021, 06:23:41 pm »

The test from your server when you click on the Access Key in MC's options for Media Network will tell you if your IP address will work from outside. 
Logged

goberre

  • Recent member
  • *
  • Posts: 35
Re: Connection Failure Using Access Key
« Reply #18 on: February 21, 2021, 12:30:48 pm »

Here is a screenshot of the info returned within MC Tools->Options->MediaNetwork.
Logged

goberre

  • Recent member
  • *
  • Posts: 35
Re: Connection Failure Using Access Key
« Reply #19 on: February 21, 2021, 12:32:00 pm »

Here is a screenshot of the of the router's port forwarding page clearly showing that port forwarding is enabled for both external and internal hosts on external and internal ports 52199 with protocol TCP.
Logged

Wheaten

  • Guest
Re: Connection Failure Using Access Key
« Reply #20 on: February 22, 2021, 05:07:55 am »

The IP 78.146.0.163 is what you get as a result from "https://whatismyipaddress.com/"?
As there are no open ports on that IP
Logged

goberre

  • Recent member
  • *
  • Posts: 35
Re: Connection Failure Using Access Key
« Reply #21 on: February 22, 2021, 07:10:16 am »

Great news, my network engineer discovered that even though the router page said 52199 was open internally and externally it was not. He has sorted it and I am now able to use Gizmo on my phone. He used this website which test your ports https://www.yougetsignal.com/tools/open-ports/
Sadly I wonder why I bothered as in Gizmo's audio quality the best choice is "high" at 320kbps, high to me is 3200kbps. I don't do mp3 but hey it is a useful remote.
Thanks to you all for your assistance.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72413
  • Where did I put my teeth?
Re: Connection Failure Using Access Key [Solved]
« Reply #22 on: February 22, 2021, 07:17:18 am »

You could use any remote now that the port is open.  Panel, JRemote2, etc.
Logged

Wheaten

  • Guest
Re: Connection Failure Using Access Key [Solved]
« Reply #23 on: February 22, 2021, 07:38:03 am »

Panel has a great feature, that you can turn off all conversion.

Can't tell anything on JRemote2 as there is unfortunately no trial or demo available. For some strange reason the conversion to euros went the wrong way in the app store. (we need to pay 30% more)
Logged

DJLegba

  • Citizen of the Universe
  • *****
  • Posts: 995
Re: Connection Failure Using Access Key [Solved]
« Reply #24 on: February 22, 2021, 08:04:34 am »

Panel has a great feature, that you can turn off all conversion.

Can't tell anything on JRemote2 as there is unfortunately no trial or demo available. For some strange reason the conversion to euros went the wrong way in the app store. (we need to pay 30% more)

JRemote2's local playback converts to mp3.

MO 4Media is a great Android remote that will let you disable conversion. The search feature works very well too, and it will let you view album extras such as booklets.
Logged

Wheaten

  • Guest
Re: Connection Failure Using Access Key [Solved]
« Reply #25 on: February 22, 2021, 08:16:04 am »

Certainly like the interface of MO 4Media and it's options.
Currently using Gizmo as display on my HTPC, but using mconnect as remote, as they have integrated Qobuz and Tidal. And mconnect can also play everything in hi-res.
So Goberre has some home work to do  :D
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7799
  • Autumn shade...
Re: Connection Failure Using Access Key [Solved]
« Reply #26 on: February 22, 2021, 08:48:27 am »

JRemote2's local playback converts to mp3.

Actually JRemote2 has a Use native audio format option. It works for specific formats like FLAC, MP3, M4A AAC, Ogg Vorbis and ALAC so there's no local conversion to MP3 - just make sure in your MC server's Options > Media Network has the audio conversion set to either Don't convert audio or Convert audio if necessary. Gapless audio playback even works with FLAC this way. ;)
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

DJLegba

  • Citizen of the Universe
  • *****
  • Posts: 995
Re: Connection Failure Using Access Key [Solved]
« Reply #27 on: February 22, 2021, 09:00:50 am »

Actually JRemote2 has a Use native audio format option. It works for specific formats like FLAC, MP3, M4A AAC, Ogg Vorbis and ALAC so there's no conversion to MP3 (make sure in your MC server's Options > Media Network has the audio conversion set to either Don't convert audio or Convert audio if necessary). Gapless even works with FLAC this way. ;)

That's good to know. I even have "Use native audio format" selected. But right under that the "Audio quality" setting has three options - Low (64 Kbps), Medium (128 Kbps), and High (320 Kbps). A more intuitive layout would be to remove the "Use native audio format" switch and add it as a fourth option to the Audio quality list. And while he's tweaking the layout, he could change it from Kbps to kb/s, as K is correctly used as the abbreviation for Kelvin, not for kilo.
Logged

Wheaten

  • Guest
Re: Connection Failure Using Access Key [Solved]
« Reply #28 on: February 22, 2021, 09:05:59 am »

DJLegba knows his SI units :D
Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2592
Re: Connection Failure Using Access Key [Solved]
« Reply #29 on: February 22, 2021, 10:24:17 am »

And while he's tweaking the layout, he could change it from Kbps to kb/s, as K is correctly used as the abbreviation for Kelvin, not for kilo.

That's just, like, your opinion man  ;D

SI Units for computing are notoriously badly enforced. If you wanted to use proper SI units you would need to use the binary KiB/MiB/etc prefixes, which no one really likes.
The K has been used in computing since the start, and since there's no context overlap with temperatures no one really confuses it with Kelvin. Same thing with "m" for both metre and minutes.

Historically, the case of the K doesn't matter as much as the case of the B:
KB = Kilobyte
Kb or kb = Kilobit
KBps or KB/s = Kilobytes per second
Kbps or kbps or kb/s or Kb/s = Kilobits per second

I think we could use the LoC/s which is much more standartized (Libraries of Congress per second).
Logged

Wheaten

  • Guest
Re: Connection Failure Using Access Key [Solved]
« Reply #30 on: February 22, 2021, 10:34:04 am »

minute is not a SI unit, not even a derived one.
The SI unit for time is s.  :P
Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2592
Re: Connection Failure Using Access Key [Solved]
« Reply #31 on: February 22, 2021, 10:38:09 am »

Neither is kilo, it's a prefix not a unit. Whether it's capitalized or not depends only on context and grammar. Nanotechnology in caps at the start of a sentence, nanometers in the middle.
Logged

Wheaten

  • Guest
Re: Connection Failure Using Access Key [Solved]
« Reply #32 on: February 22, 2021, 10:46:23 am »

kilo is an official multiple, see paragraph 4.3 of NIST. (as this is an US site).   
Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2592
Re: Connection Failure Using Access Key [Solved]
« Reply #33 on: February 22, 2021, 10:49:52 am »

I didn't say it was not official. I said it's a "prefix", not a "unit". As such, the case is not fixed, it depends on where/how the full prefixed word is used.
Logged

Wheaten

  • Guest
Re: Connection Failure Using Access Key [Solved]
« Reply #34 on: February 22, 2021, 11:15:56 am »

Correct (missed that), to be fully and completely off topic, binary values should (IEC guidelines) be written like:
KiB (kibi Byte),
MiB (mibi Byte),
GiB (gibi Byte).

As k indicates 1000 and Ki indicates 1024.
While spitting this out, I am glad that I changed roles and no longer have to follow these ISO 17025 guidelines.
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10925
Re: Connection Failure Using Access Key [Solved]
« Reply #35 on: February 23, 2021, 03:01:16 am »

just make sure in your MC server's Options > Media Network has the audio conversion set to either Don't convert audio or Convert audio if necessary. Gapless audio playback even works with FLAC this way. ;)

These options have no influence on JRemote audio streaming, the "native" option in JRemote is all that controls that.

The options apply to clients that we have no control over, eg. DLNA.
Logged
~ nevcairiel
~ Author of LAV Filters
Pages: [1]   Go Up