INTERACT FORUM

More => Old Versions => JRiver Media Center 24 for Linux => Topic started by: Goatshade on May 28, 2018, 01:58:55 am

Title: [24.0.28; Issue—Solved] Error Loading Library
Post by: Goatshade on May 28, 2018, 01:58:55 am
I just had a friend of mine a state over install MC on her GalliumOS machine. Installation and registration worked like a charm but she can't seem to connect to my server through the cloud via port 52199 or 52200. For the former, I gave her my public-facing IP (XXX.XXX.XXX.XXX:52199), whereas I gave her what I'm assuming is my address as it appears to my ISP (c-XXX-XXX-XXX-XXX.hsd1.co.comcast.net:52200), this being the only way I've ever gotten the SSL connection to work. For the latter, I had her check the Use secure HTTPS connection, if available option in the File > Library > Connect to Remote Library... dialog. The non-secure address throws an Invalid address error, where-as the secure address throws an Error Loading Library. She says that it throws this error before any attempt is made by MC to download the library or any prompt for credentials appears.

I have traffic through ports 52199 to 52201 forwarded to my server's local IP and DHCP address reservation set up to ensure that said server always has that same IP (and indeed, it does). I checked my public-facing IP and it hasn't changed.

Using the secure address, she can access my Panel via her web browser using my read-only credentials. It complains about the untrusted certificate as expected but otherwise functions.

If it means anything, my server is running Windows 10 Pro. I just tried connecting my laptop—also Windows 10 Pro—to my phone's mobile tether and went through the same process above with the secure address but I can't reproduce the problem. Laptop connects as expected. So does the phone itself—Android 8.0.0—using MO 4Media and the same method.

I'm guessing she has some kind of out-bound firewall rule that's screwing around with this but I can't say; I don't have her machine in front of me and I don't know enough about Linux or GalliumOS to know off-hand how it handles connections and with what software. I'm hoping that this is a lot simpler than all of that.

Any ideas?
Title: Re: [24.0.28; Issue] Error Loading Library
Post by: JimH on May 28, 2018, 06:52:34 am
Try using the Access Key, not the IP address.

You only need to forward 52199.

The wiki has a topic on Network Access (http://wiki.jriver.com/index.php/Network_Access) .  You might find something useful there.
Title: Re: [24.0.28; Issue] Error Loading Library
Post by: Goatshade on May 28, 2018, 03:38:50 pm
Try using the Access Key, not the IP address.

You only need to forward 52199.

The wiki has a topic on [url=http://wiki.jriver.com/index.php/Network_Access]Network Access (http://wiki.jriver.com/index.php/Network_Access)[/url] .  You might find something useful there.

Ah, yes. I forgot to mention that the access key is the first thing we tried. It didn't work.
Title: Re: [24.0.28; Issue] Error Loading Library
Post by: BryanC on May 28, 2018, 04:01:46 pm
Sounds like a firewall issue (on the OS).
Title: Re: [24.0.28; Issue] Error Loading Library
Post by: Goatshade on May 28, 2018, 04:51:45 pm
Sounds like a firewall issue (on the OS).

Mine or hers?

If hers, how would she check or configure it?
Title: Re: [24.0.28; Issue] Error Loading Library
Post by: BryanC on May 28, 2018, 04:57:30 pm
Mine or hers?

If hers, how would she check or configure it?

Yours, unless she has also installed a third party outgoing firewall (unlikely).
Title: Re: [24.0.28; Issue] Error Loading Library
Post by: Goatshade on May 28, 2018, 05:59:22 pm
Hmm...

Would enabling communication over public networks help? I doubt that's it; I connect via my own devices through the cloud all the time.
Title: Re: [24.0.28; Issue] Error Loading Library
Post by: Scobie on May 28, 2018, 06:07:48 pm
My guess would be an outbound firewall rule on her machine / network. Can she telnet through on that port?
Title: Re: [24.0.28; Issue] Error Loading Library
Post by: Goatshade on May 28, 2018, 07:43:00 pm
My guess would be an outbound firewall rule on her machine / network. Can she telnet through on that port?

What would be the syntax for this?

I tried having her install telnet and then enter telnet c-73-153-102-93.hsd1.co.comcast.net:52200 as the command but it's telling her telnet: could not resolve c-XXX-XXX-XXX-XXX.hsd1.co.comcast.net:52200/telnet: Name or service not known.

Is it "working" or is the syntax wrong?
Title: Re: [24.0.28; Issue] Error Loading Library
Post by: Scobie on May 28, 2018, 08:22:44 pm
The telnet command is working but it doesn't recognise or cannot resolve that host.

Try using the IP address or adding it to your hosts table.
Title: Re: [24.0.28; Issue] Error Loading Library
Post by: bob on May 29, 2018, 03:34:18 pm
What would be the syntax for this?

I tried having her install telnet and then enter telnet c-73-153-102-93.hsd1.co.comcast.net:52200 as the command but it's telling her telnet: could not resolve c-XXX-XXX-XXX-XXX.hsd1.co.comcast.net:52200/telnet: Name or service not known.

Is it "working" or is the syntax wrong?
I believe you need a space not a colon ( : ).
telnet c-73-153-102-93.hsd1.co.comcast.net 52200
Title: Re: [24.0.28; Issue] Error Loading Library
Post by: Scobie on May 29, 2018, 06:24:23 pm
Quote
I believe you need a space not a colon ( : ).

+1

Yes thanks Bob missed this one..no colon in the telnet command.
Title: Re: [24.0.28; Issue] Error Loading Library
Post by: Goatshade on June 01, 2018, 06:21:19 pm
Code: [Select]
user@galliumos:~$ telnet c-XXX-XXX-XXX-XXX.hsd1.co.comcast.net 52200
Trying XXX.XXX.XXX.XXX...
Connected to c-XXX-XXX-XXX-XXX.hsd1.co.comcast.net.
Escape character is '^]'.
Connection closed by foreign host.

What do you think?
Title: Re: [24.0.28; Issue] Error Loading Library
Post by: bob on June 02, 2018, 03:33:15 pm
Code: [Select]
user@galliumos:~$ telnet c-XXX-XXX-XXX-XXX.hsd1.co.comcast.net 52200
Trying XXX.XXX.XXX.XXX...
Connected to c-XXX-XXX-XXX-XXX.hsd1.co.comcast.net.
Escape character is '^]'.
Connection closed by foreign host.

What do you think?
It connected which means the route and firewall SHOULD be ok.
If you are using https server, is https selected on her side?
Title: Re: [24.0.28; Issue] Error Loading Library
Post by: Goatshade on June 02, 2018, 05:45:11 pm
It connected which means the route and firewall SHOULD be ok.
If you are using https server, is https selected on her side?

If you're referring to the Use secure HTTPS connection, if available option, then yes. I had her check that option and enter c-XXX-XXX-XXX-XXX.hsd1.co.comcast.net:52200 in to the Access key or URL field.
Title: Re: [24.0.28; Issue] Error Loading Library
Post by: Goatshade on June 11, 2018, 08:34:44 pm
Anyone else?
Title: Re: [24.0.28; Issue] Error Loading Library
Post by: bob on June 12, 2018, 08:45:00 am
Anyone else?
PM me the access key.

I'm starting to wonder if this is a IPV6 thing...
Title: Re: [24.0.28; Issue] Error Loading Library
Post by: Goatshade on June 13, 2018, 07:48:21 pm
Hey, sorry.

I just wanted to drop in and state that she was able to successfully connect to my library via access key and with Use secure HTTPS connection, if available unchecked. I'm sort of curious as to why that option causes it to fail when SSL is enabled on my end.
Title: Re: [24.0.28; Issue—Solved] Error Loading Library
Post by: Goatshade on June 14, 2018, 08:07:39 am
Well, either way, problem solved. I appreciate the guidance. :)
Title: Re: [24.0.28; Issue—Solved] Error Loading Library
Post by: bob on June 14, 2018, 08:44:51 am
Well, either way, problem solved. I appreciate the guidance. :)
Thanks for the feedback!