INTERACT FORUM

Please login or register.

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

Author Topic: MC21 Library Server fails connections 95% time. MC18 worked great. [Solved]  (Read 2631 times)

ek654389

  • Recent member
  • *
  • Posts: 8

I recently upgraded from MC18 to MC21, and my laptop will now only connect to the server about 5% of the time.  
- Both machines are windows 10 and running 21.0.19.  
- Both machines are on the same 192.168.0.* wired network, which hasn't changed
- Both windows firewalls are disabled.  No 3rd party AV on either machine.
- I can telnet to server:52199 and get a connection, so I'm pretty sure it's not a connectivity issue.
- I have tried both Access Key & ServerIP:52199

The strangest thing is that once in a while it does connect and work normally.  I turned on logging and do see the following:
0007516: 9832: Reader: CWinINetReader::Open: Opening http://192.168.0.163:52199/MCWS/v1/Alive
0007516: 2584: Reader: CWinINetReader::Thread: Start
0007516: 2584: Reader: CWinINetReader::Connect: Start
0007516: 2584: Reader: CWinINetReader::Connect: Finish (0 ms)
0007516: 2584: Reader: CWinINetReader::DownloadFromHTTPURL: Start
0007578: 2584: Reader: CWinINetReader::DownloadFromHTTPURL: Failed (header status code: 400)
0007578: 2584: Reader: CWinINetReader::DownloadFromHTTPURL: Finish (62 ms)
0007578: 2584: Reader: CWinINetReader::Thread: Finish (62 ms)
0007578: 9832: Reader: CWinINetReader::Open: ConnectToURL failed, m_bConnectError=true, URL=http://192.168.0.163:52199/MCWS/v1/Alive
0007578: 9832: Reader: CWinINetReader::Close: Start
0007578: 9832: Reader: CWinINetReader::Close: Finish (0 ms)
0007578: 9832: Reader: CWinINetReader::Open: Finish (62 ms)
0007610: 9832: Database: MCDB::Load: Loading from path:
0007610: 9832: Database: MCDB::Load: Failed
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71666
  • Where did I put my teeth?
Re: MC21 Library Server fails connections 95% time. MC18 worked great.
« Reply #1 on: November 18, 2015, 01:04:24 pm »

Make sure your old server isn't also running.
Logged

ek654389

  • Recent member
  • *
  • Posts: 8
Re: MC21 Library Server fails connections 95% time. MC18 worked great.
« Reply #2 on: November 18, 2015, 02:51:15 pm »

Make sure your old server isn't also running.
I had uninstalled MC18.
I just confirmed now that:
1. MC18 directory doesn't exist (so it did fully uninstall)
2. MC21 client is not running.  The process list indicates the running server as C:\Program Files (x86)\J River\Media Center 21\Media Center 21.exe
3. via Windows services, the execution path is "C:\Program Files (x86)\J River\Media Center 21\JRService.exe"
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13600
Re: MC21 Library Server fails connections 95% time. MC18 worked great.
« Reply #3 on: November 20, 2015, 01:56:08 pm »

I had uninstalled MC18.
I just confirmed now that:
1. MC18 directory doesn't exist (so it did fully uninstall)
2. MC21 client is not running.  The process list indicates the running server as C:\Program Files (x86)\J River\Media Center 21\Media Center 21.exe
3. via Windows services, the execution path is "C:\Program Files (x86)\J River\Media Center 21\JRService.exe"
Try connecting to the indicated URL in the log with a browser when the connection fails, does it work?
Logged

ek654389

  • Recent member
  • *
  • Posts: 8
Re: MC21 Library Server fails connections 95% time. MC18 worked great.
« Reply #4 on: November 21, 2015, 10:34:08 am »

OK,  just figured it out.  A little digging with netstat told me that when upgrading MC (and other software at the same time), I mixed up the ports and set another server to 52199.  So telnet worked, but obviously JRiver wasn't going to connect.  And it worked "some of the time" depending on which server managed to initialize and grab the port first.

Thanks for the advise!
Logged
Pages: [1]   Go Up