INTERACT FORUM

Please login or register.

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

Author Topic: Unable to play from Library Server (.55) over internet.  (Read 4156 times)

stanger89

  • MC Beta Team
  • Junior Woodchuck
  • *****
  • Posts: 67
Unable to play from Library Server (.55) over internet.
« on: March 28, 2011, 03:53:55 pm »

So I've been playing with Beta 16 for a little while now (been using MC trouble free for a very long time now).  Probably my primary use is streaming music to work (it's where I get the most time to listen to music).  Unfortunately I've been unable to get this working with the 16 beta.  I'm using the Library Server as I have for many versions now.  I can connect, download, and browse the library, so that part is working fine, it's the actual streaming that's the problem.

From the UI, I'm just getting the "There was a problem playing the last few files" error, but turning on logging it appears the stream/download of the actual music file is timing out (that seems to be what the 12002 error is from a quick search):

Code: [Select]
0219515: 3816: Reader: CInternetReader::Open: Start
0219515: 3816: Reader: CInternetReader::Open: Opening http://<server>/MCWS/v1/File/GetFile?File=700&conversion=4
0219515: 5336: Reader: CInternetReader::Open: Start
0219515: 5336: Reader: CInternetReader::Open: Opening http://<server>/MCWS/v1/File/GetImage?File=700&Type=Full
0219515: 1568: Reader: CInternetReader::Thread: Start
0219515: 1568: Reader: CInternetReader::Connect: Start
0219515: 4196: Reader: CInternetReader::Thread: Start
0219515: 4196: Reader: CInternetReader::Connect: Start
0219515: 1568: Reader: CInternetReader::Connect: Finish (0 ms)
0219515: 1568: Reader: CInternetReader::DownloadFromHTTPURL: Start
0219515: 4196: Reader: CInternetReader::Connect: Finish (0 ms)
0219515: 4196: Reader: CInternetReader::DownloadFromHTTPURL: Start
0224734: 1568: Reader: CInternetReader::DownloadFromHTTPURL: Success
0224734: 1568: Reader: CInternetReader::DownloadFromHTTPURL: Finish (5219 ms)
0224734: 1568: Reader: CInternetReader::Thread: Finish (5219 ms)
0224750: 3816: Reader: CInternetReader::Open: Finish (5235 ms)
0230219: 4196: Reader: CInternetReader::DownloadFromHTTPURL: Success
0230219: 4196: Reader: CInternetReader::DownloadFromHTTPURL: Finish (10704 ms)
0230219: 4196: Reader: CInternetReader::Thread: Finish (10704 ms)
0230219: 5336: Reader: CInternetReader::Open: Finish (10704 ms)
0234687: 5336: Reader: CInternetReader::Close: Start
0234687: 5336: Reader: CInternetReader::Close: Finish (0 ms)
0245265: 3816: Reader: CInternetReader::Read: InternetReadFile returned false, GetLastError=12002
0245265: 5596: Reader: CInternetReader::Close: Start
0245265: 5596: Reader: CInternetReader::Close: Finish (0 ms)
0249844: 800: Reader: CInternetReader::Open: Start
0249844: 800: Reader: CInternetReader::Open: Opening http://<server>/MCWS/v1/Library/GetRevision
0249844: 5600: Reader: CInternetReader::Thread: Start
0249844: 5600: Reader: CInternetReader::Connect: Start
0249844: 5600: Reader: CInternetReader::Connect: Finish (0 ms)
0249844: 5600: Reader: CInternetReader::DownloadFromHTTPURL: Start
0249937: 5600: Reader: CInternetReader::DownloadFromHTTPURL: Success
0249937: 5600: Reader: CInternetReader::DownloadFromHTTPURL: Finish (93 ms)
0249937: 5600: Reader: CInternetReader::Thread: Finish (93 ms)
0249937: 800: Reader: CInternetReader::Open: Finish (93 ms)
0249937: 800: Reader: CInternetReader::Close: Start
0249937: 800: Reader: CInternetReader::Close: Finish (0 ms)
0249953: 800: Reader: CInternetReader::Open: Start
0249953: 800: Reader: CInternetReader::Open: Opening http://<server>/MCWS/v1/Library/Merge
0249953: 5724: Reader: CInternetReader::Thread: Start
0249953: 5724: Reader: CInternetReader::Connect: Start
0249953: 5724: Reader: CInternetReader::Connect: Finish (0 ms)
0249953: 5724: Reader: CInternetReader::DownloadFromHTTPURL: Start
0250047: 5724: Reader: CInternetReader::DownloadFromHTTPURL: Success
0250047: 5724: Reader: CInternetReader::DownloadFromHTTPURL: Finish (94 ms)
0250047: 5724: Reader: CInternetReader::Thread: Finish (94 ms)
0250047: 800: Reader: CInternetReader::Open: Finish (94 ms)
0250047: 800: Reader: CInternetReader::Close: Start
0250047: 800: Reader: CInternetReader::Close: Finish (0 ms)

Now, here's the weird thing, if I copy the URL from the log (http://<server>/MCWS/v1/File/GetFile?File=700&conversion=4), and paste it Internet Explorer, it opens up WMP and plays fine (though it does appear to download the entire file instead of streaming).  MC14 works fine though.

Any thoughts?  More stuff I can log?

Thanks again for the great product.

Chad
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72444
  • Where did I put my teeth?
Re: Unable to play from Library Server (.55) over internet.
« Reply #1 on: March 30, 2011, 08:56:34 am »

Thanks.  Make sure you're running the Library Server from MC16 and not the one from MC14.  Check your startup settings in both to see which version is running Media Server (which can start Library Server).

Other things that could cause problems.  Firewall and login/password settings on the server.

Have you tried video playback with MadVR renderer?
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42387
  • Shoes gone again!
Re: Unable to play from Library Server (.55) over internet.
« Reply #2 on: March 30, 2011, 09:07:21 am »

Error 12002 is a timeout.

Since the same URL works on the same computer in WMP, it seems to indicate that the server and firewall are not an issue.

We have seen cases of Avast! causing our internet reads to timeout:
http://yabb.jriver.com/interact/index.php?topic=61697.msg413943

Are you using Avast! on the computer in question?

Thanks.
Logged
Matt Ashland, JRiver Media Center

stanger89

  • MC Beta Team
  • Junior Woodchuck
  • *****
  • Posts: 67
Re: Unable to play from Library Server (.55) over internet.
« Reply #3 on: March 30, 2011, 12:11:28 pm »

Jim,

I'm actually manually starting the V16 Media Server right now (that did catch me once or twice).  And I don't have any trouble connecting to the server itself, I can connect to it's "home" webpage, and browse around the MCWS page, here's the Alive info:
Code: [Select]
  <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <Response Status="OK">
  <Item Name="RuntimeGUID">{deleted}</Item>
  <Item Name="LibraryVersion">20</Item>
  <Item Name="ProgramVersion">16.0.55</Item>
  <Item Name="FriendlyName">Sagetv</Item>
  <Item Name="AccessKey">deleted</Item>
  </Response>

MC finds and downloads the library fine, and attempts to play, but then times out on the actual read/download of the file. 

No we're not using Avast here, it's McAfee.  It could be something with the corporate network/filtering, but it seems odd that WMP can download the file OK, and MC14 worked OK.

Sorry Jim, haven't had a chance to try out madVR, do I need to download that (think I looked and didn't see it as an option)?
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72444
  • Where did I put my teeth?
Re: Unable to play from Library Server (.55) over internet.
« Reply #4 on: March 30, 2011, 01:09:44 pm »

You have mail.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72444
  • Where did I put my teeth?
Re: Unable to play from Library Server (.55) over internet.
« Reply #5 on: March 30, 2011, 01:11:50 pm »

I'm actually manually starting the V16 Media Server right now (that did catch me once or twice).  And I don't have any trouble connecting to the server itself, I can connect to it's "home" webpage, and browse around the MCWS page, here's the Alive info:
Maybe you were using a different port with MC14.
Logged

stanger89

  • MC Beta Team
  • Junior Woodchuck
  • *****
  • Posts: 67
Re: Unable to play from Library Server (.55) over internet.
« Reply #6 on: March 30, 2011, 01:44:06 pm »

It's set to 80, just like I believe MC14 was.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72444
  • Where did I put my teeth?
Re: Unable to play from Library Server (.55) over internet.
« Reply #7 on: March 30, 2011, 01:48:39 pm »

Try setting it to the default.  On the server, under Media Network / Advanced in options, set the port to 52199.

If you're using Library Server Sync, you'll need to use login and password.  Set it in the same area.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42387
  • Shoes gone again!
Re: Unable to play from Library Server (.55) over internet.
« Reply #8 on: March 30, 2011, 01:59:02 pm »

Another thought is to disable conversion in Options > Media Network > Client Options

Is it possible the server is asking for UAC permission to install a converter?  This can happen on the first conversion of some types.
Logged
Matt Ashland, JRiver Media Center

stanger89

  • MC Beta Team
  • Junior Woodchuck
  • *****
  • Posts: 67
Re: Unable to play from Library Server (.55) over internet.
« Reply #9 on: March 30, 2011, 07:50:49 pm »

Try setting it to the default.  On the server, under Media Network / Advanced in options, set the port to 52199.

I may have tried that, but I'll give it a shot tomorrow.

Quote
If you're using Library Server Sync, you'll need to use login and password.  Set it in the same area.

I am using Sync, but I do have a password (would never open it up to the interwebs without one).  And it does ask me for logon info when I initially connect, and that all seems to work fine.

Another thought is to disable conversion in Options > Media Network > Client Options

I think I tried that as well, but I'll try it again.

Quote
Is it possible the server is asking for UAC permission to install a converter?  This can happen on the first conversion of some types.

Nope, the server's running XP, and I've tried with conversion within my LAN and it works and plays there, it's something with the work connection causing the timeouts on the download.
Logged

stanger89

  • MC Beta Team
  • Junior Woodchuck
  • *****
  • Posts: 67
Re: Unable to play from Library Server (.55) over internet.
« Reply #10 on: March 31, 2011, 07:26:22 am »

No luck with port 52199, disabling Sync or disabling transcoding, same behavior, everything works in MC except the actual playback, and I can open the URL in WMP just fine.

I tried playing the file from the "Open URL" menu and got some more stuff in the log
Code: [Select]
1131203: 5252: Reader: CInternetReader::Open: Opening http://server_ip:52199/MCWS/v1/File/GetFile?File=2023&conversion=4
1131203: 5064: Reader: CInternetReader::Thread: Start
1131203: 5064: Reader: CInternetReader::Connect: Start
1131203: 5064: Reader: CInternetReader::Connect: Finish (0 ms)
1131203: 5064: Reader: CInternetReader::DownloadFromHTTPURL: Start
1136203: 5252: Reader: CInternetReader::Open: ConnectToURL failed, timed out (5000 ms), URL=http://server_ip:52199/MCWS/v1/File/GetFile?File=2023&conversion=4
1136203: 5252: Reader: CInternetReader::Close: Start
1136203: 5064: Reader: CInternetReader::DownloadFromHTTPURL: HttpSendRequest error: 12030
1136203: 5064: Reader: CInternetReader::DownloadFromHTTPURL: Failed (header status code: -1)
1136203: 5064: Reader: CInternetReader::DownloadFromHTTPURL: Finish (5000 ms)
1136203: 5064: Reader: CInternetReader::Thread: Finish (5000 ms)
1136234: 5252: Reader: CInternetReader::Close: Finish (31 ms)
1136234: 5252: Reader: CInternetReader::Open: Finish (5031 ms)
1136234: 5252: Reader: CInternetReader::Open: Start
1136234: 5252: Reader: CInternetReader::Open: Opening http://server_ip:52199/MCWS/v1/File/GetFile?File=2023&conversion=4
1136234: 4124: Reader: CInternetReader::Thread: Start
1136234: 4124: Reader: CInternetReader::Connect: Start
1136234: 4124: Reader: CInternetReader::Connect: Finish (0 ms)
1136234: 4124: Reader: CInternetReader::DownloadFromHTTPURL: Start
1141234: 5252: Reader: CInternetReader::Open: ConnectToURL failed, timed out (5000 ms), URL=http://server_ip:52199/MCWS/v1/File/GetFile?File=2023&conversion=4
1141234: 5252: Reader: CInternetReader::Close: Start
1141234: 4124: Reader: CInternetReader::DownloadFromHTTPURL: HttpSendRequest error: 12017
1141234: 4124: Reader: CInternetReader::DownloadFromHTTPURL: Failed (header status code: -1)
1141234: 4124: Reader: CInternetReader::DownloadFromHTTPURL: Finish (5000 ms)
1141234: 4124: Reader: CInternetReader::Thread: Finish (5000 ms)
1141250: 5252: Reader: CInternetReader::Close: Finish (16 ms)
1141250: 5252: Reader: CInternetReader::Open: Finish (5016 ms)
1141250: 5252: Reader: CInternetReader::Open: Start
1141250: 5252: Reader: CInternetReader::Open: Opening http://server_ip:52199/MCWS/v1/File/GetFile?File=2023&conversion=4
1141250: 4532: Reader: CInternetReader::Thread: Start
1141250: 4532: Reader: CInternetReader::Connect: Start
1141250: 4532: Reader: CInternetReader::Connect: Finish (0 ms)
1141250: 4532: Reader: CInternetReader::DownloadFromHTTPURL: Start
1146250: 5252: Reader: CInternetReader::Open: ConnectToURL failed, timed out (5000 ms), URL=http://server_ip:52199/MCWS/v1/File/GetFile?File=2023&conversion=4
1146250: 5252: Reader: CInternetReader::Close: Start
1146250: 4532: Reader: CInternetReader::DownloadFromHTTPURL: HttpSendRequest error: 12030
1146250: 4532: Reader: CInternetReader::DownloadFromHTTPURL: Failed (header status code: -1)
1146250: 4532: Reader: CInternetReader::DownloadFromHTTPURL: Finish (5000 ms)
1146250: 4532: Reader: CInternetReader::Thread: Finish (5000 ms)
1146250: 5252: Reader: CInternetReader::Close: Finish (0 ms)
1146250: 5252: Reader: CInternetReader::Open: Finish (5000 ms)
1146250: 5252: Reader: CInternetReader::Open: Start
1146250: 5252: Reader: CInternetReader::Open: Opening http://server_ip:52199/MCWS/v1/File/GetFile?File=2023&conversion=4
1146250: 4392: Reader: CInternetReader::Thread: Start
1146250: 4392: Reader: CInternetReader::Connect: Start
1146250: 4392: Reader: CInternetReader::Connect: Finish (0 ms)
1146250: 4392: Reader: CInternetReader::DownloadFromHTTPURL: Start
1151359: 4392: Reader: CInternetReader::DownloadFromHTTPURL: Success
1151359: 4392: Reader: CInternetReader::DownloadFromHTTPURL: Finish (5109 ms)
1151359: 4392: Reader: CInternetReader::Thread: Finish (5109 ms)
1151359: 5252: Reader: CInternetReader::Open: Finish (5109 ms)
1171875: 5252: Reader: CInternetReader::Read: InternetReadFile returned false, GetLastError=12002
1171875: 5252: Reader: CInternetReader::Close: Start
1171875: 5252: Reader: CInternetReader::Close: Finish (0 ms)

I did see this thread:
http://yabb.jriver.com/interact/index.php?topic=57124.msg387963#msg387963

If I remember correctly it was taking a "while" (more than 10 seconds) for MC14 to start playing so maybe that's the issue? 
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42387
  • Shoes gone again!
Re: Unable to play from Library Server (.55) over internet.
« Reply #11 on: March 31, 2011, 09:14:03 am »

I notice that the log still shows that the client is requesting conversion.

Would you mind trying again with conversion disabled on the client? (Options > Media Network > Client Options)
Logged
Matt Ashland, JRiver Media Center

stanger89

  • MC Beta Team
  • Junior Woodchuck
  • *****
  • Posts: 67
Re: Unable to play from Library Server (.55) over internet.
« Reply #12 on: March 31, 2011, 11:04:07 am »

Sure thing:

Code: [Select]
0024516: 4220: Reader: CInternetReader::DownloadFromHTTPURL: Success
0024516: 4220: Reader: CInternetReader::DownloadFromHTTPURL: Finish (1297 ms)
0024516: 4220: Reader: CInternetReader::Thread: Finish (1297 ms)
0024516: 5348: Reader: CInternetReader::Open: Finish (1297 ms)
0024516: 3336: Reader: CInternetReader::Close: Finish (0 ms)
0024516: 5348: Reader: CInternetReader::Close: Start
0024532: 5348: Reader: CInternetReader::Close: Finish (16 ms)
0026860: 5040: Reader: CInternetReader::Open: Start
0026860: 5040: Reader: CInternetReader::Open: Opening http://server_ip:52199/MCWS/v1/File/GetFile?File=2023
0026860: 5240: Reader: CInternetReader::Thread: Start
0026860: 5240: Reader: CInternetReader::Connect: Start
0026860: 5240: Reader: CInternetReader::Connect: Finish (0 ms)
0026860: 5240: Reader: CInternetReader::DownloadFromHTTPURL: Start
0027203: 548: Reader: CInternetReader::Open: Start
0027203: 548: Reader: CInternetReader::Open: Opening http://server_ip:52199/MCWS/v1/File/GetImage?File=2023&Type=Full
0027203: 2988: Reader: CInternetReader::Thread: Start
0027203: 2988: Reader: CInternetReader::Connect: Start
0027203: 2988: Reader: CInternetReader::Connect: Finish (0 ms)
0027203: 2988: Reader: CInternetReader::DownloadFromHTTPURL: Start
0036235: 5240: Reader: CInternetReader::DownloadFromHTTPURL: Success
0036235: 5240: Reader: CInternetReader::DownloadFromHTTPURL: Finish (9375 ms)
0036235: 5240: Reader: CInternetReader::Thread: Finish (9375 ms)
0036235: 5040: Reader: CInternetReader::Open: Finish (9375 ms)
0036860: 2988: Reader: CInternetReader::DownloadFromHTTPURL: Success
0036860: 2988: Reader: CInternetReader::DownloadFromHTTPURL: Finish (9657 ms)
0036860: 2988: Reader: CInternetReader::Thread: Finish (9657 ms)
0036860: 548: Reader: CInternetReader::Open: Finish (9657 ms)
0040469: 548: Reader: CInternetReader::Close: Start
0040469: 548: Reader: CInternetReader::Close: Finish (0 ms)
0061797: 5040: Reader: CInternetReader::Read: InternetReadFile returned false, GetLastError=12002
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42387
  • Shoes gone again!
Re: Unable to play from Library Server (.55) over internet.
« Reply #13 on: April 04, 2011, 10:24:16 am »

I'm stumped on this one.

It seems like something on the client is preventing connections to the server.  Can you test the same server from a different network (to rule out corporate filtering)?

Logged
Matt Ashland, JRiver Media Center

stanger89

  • MC Beta Team
  • Junior Woodchuck
  • *****
  • Posts: 67
Re: Unable to play from Library Server (.55) over internet.
« Reply #14 on: April 06, 2011, 10:10:47 pm »

Sorry for the delay in replying, I've been distracted a bit (leaving on a trip tomorrow, which hopefully will be a good time to play with Gizmo more :D).

It does work from another house, so it's not totally broken.  Now ironically, this may all be moot, I heard from a friend that sometime after I left work Friday, they "disabled streaming", so it may well be that.  Of course that still doesn't explain why it hasn't worked, or what my problems with Gizmo have been.

Thanks again for the assistance.
Logged

stanger89

  • MC Beta Team
  • Junior Woodchuck
  • *****
  • Posts: 67
Re: Unable to play from Library Server (.55) over internet.
« Reply #15 on: May 17, 2011, 06:39:30 am »

Getting back to this, I played a bit more with this (it seems only certain sites are blocked, and my house isn't one of them :D), when I try to play something from MC it times out, and looking at the windows networking bandwidth graph I see no evidence of any file transfer.  However when I load the same URL (from the log) in WMP, I see effectively instant (<=1 sec delay) traffic.

Unfortunately we're not allowed to run packet sniffers so I can't fire up wireshark to get a better idea what's going on here :(
Logged
Pages: [1]   Go Up