Page 1 of 2

Device only syncs if started as soon as MMW started

Posted: Sat Nov 24, 2018 11:07 am
by daryan
I have a really interesting issue: I use MMA to sync from MMW and it is all set up and working (I am a long time user of MM and have been through many different devices / versions). However; I am now seeing a problem where phones will only connect to MMW if you initiate the sync immediately after starting MMW. If you miss that small window to initiate the sync then it doesn't accept the connection. I am baffled! I have obviously looked at the firewall and switching it off doesn't allow the connection, plus the connection is able to go through in that small window after the MMW app has started so the rules are obviously working. It seems to me that there is something in the MMW app (a service of some sort) that creates an application firewall that blocks the connection but that this doesn't start immediately with the app. When it has started though, there is nothing I seem to be able to do to initiate the connection from the MMW devices (I have tried multiple) to get the sync working. All suggestions gratefully received

Re: Device only syncs if started as soon as MMW started

Posted: Sat Nov 24, 2018 1:36 pm
by Lowlander
Which version of MMA and MMW?

Re: Device only syncs if started as soon as MMW started

Posted: Sat Nov 24, 2018 4:22 pm
by daryan
MMA 1.3.2.0824
MMW 4.1.23

Sorry, I should have included that above

Re: Device only syncs if started as soon as MMW started

Posted: Sat Nov 24, 2018 4:59 pm
by JeffV64
I have been having trouble getting MMA to connect to MMW, but I was able to get it to work by shutting MMW down and then as the program was loading, pressing sync. It took a couple of attempts, and syncing has been working intermittently for me, but I did get a sync started this way. Hopefully this will help others, and help the devs sort the problem. ~ Jeff

MMW 4.1.23.1881 and MMA 1.3.2.0824, Pixel 3

Re: Device only syncs if started as soon as MMW started

Posted: Sat Nov 24, 2018 5:13 pm
by Lowlander
Related: https://www.mediamonkey.com/support/ind ... ork-at-all

They've been working on this, not sure if the fix was on MMW or MMA (would be 1.3.3).

If you want to help troubleshoot you can capture a debug log (step 4b) for MMW: viewtopic.php?f=12&t=69 Does MMA also fail using MMW Library over UPnP when wifi sync fails?

Re: Device only syncs if started as soon as MMW started

Posted: Sat Nov 24, 2018 9:55 pm
by daryan
JeffV64 wrote: Sat Nov 24, 2018 4:59 pm I have been having trouble getting MMA to connect to MMW, but I was able to get it to work by shutting MMW down and then as the program was loading, pressing sync. It took a couple of attempts, and syncing has been working intermittently for me, but I did get a sync started this way.
Yes, this is exactly what I have to do and provided you get the timing right the sync connects and then completes. It sometimes takes a few attempts but always seems to work. I have tried changing the port numbers, including the 4000 number that is supposed to display the media server in MMW. Nothing.

I also ran a port scan with the app running and the port isn't open.

Re: Device only syncs if started as soon as MMW started

Posted: Sat Nov 24, 2018 9:57 pm
by daryan
Lowlander wrote: Sat Nov 24, 2018 5:13 pm
Does MMA also fail using MMW Library over UPnP when wifi sync fails?
Yes, the UPnP server is not visible in MMA. I'll work on getting a debug log sent through - it won't be for a couple of days though as I am away from home.

Re: Device only syncs if started as soon as MMW started

Posted: Mon Nov 26, 2018 12:26 pm
by Peke
Hi,
When you get back please test this steps. After MMA shows Scanning -> Start MMW and confirm that you access server?

Re: Device only syncs if started as soon as MMW started

Posted: Tue Nov 27, 2018 9:44 pm
by JeffV64
Peke, I don't know if this is what you mean, but I can verify the following (100% reproducible) in my environment:

If I have MMW running and initiate a sync on MMA, connection fails. I also cannot access the MMW media server via MMA, even though I can play access it via my Sonos app.

If I initiate either a sync or a search for the MMW server in MMA and then launch MMW, the action is successful.

I hope this helps.~ Jeff

Re: Device only syncs if started as soon as MMW started

Posted: Thu Nov 29, 2018 9:20 am
by JeffV64
I just submitted a ticket with debug logs showing a successful sync and a failed sync, and also my MMA log.

Jeff

Re: Device only syncs if started as soon as MMW started

Posted: Tue Dec 18, 2018 4:59 am
by daryan
Ok, I have what I think may be an update to this. Completely by chance I moved my database from a network share to a local drive on the computer because I was seeing some fairly serious performance issues with MMW and I thought this might help. It did but it also appears to have let the sync start working

@JeffV64: have you by any chance got your database on a network share?

DLNA server running but disappears from some clients

Posted: Wed Dec 19, 2018 6:39 am
by dfaa@mor19.uu.gl
I have used MediaMonkey for several years and haven't had this issue until the past few weeks. My DLNA server is visible to some devices on my network, but not others. I am currently unable to see it from either the MediaMonkey app or BubbleUPNP on my Android phone. After a reboot, it usually appears again and I can connect to it, but then it eventually disappears from the list again. The same problem occurs using certain other devices on my network as well, like my Panasonic smart TV. On the other hand, my Yamaha AV Receiver still sees the DLNA server and can connect and play music from it without issue. Nothing has changed in my configuration over the past few weeks that I am aware of. Does anyone have any idea what could cause this sort of behavior? Is there any debugging I can do or log I can access which might tell me why some devices can't consistently see the server anymore?

Re: DLNA server running but disappears from some clients

Posted: Wed Dec 19, 2018 12:35 pm
by Lowlander
Which version of MediaMonkey and Windows?

Re: Device only syncs if started as soon as MMW started

Posted: Thu Mar 07, 2019 11:57 am
by mccracken02
I've been having this exact same problem for what seems like about a year now. I can confirm this happens with MMW: 4.1.23.1881 and MMA:1.3.3.0842

The proceedure I need to use almost every time is as follows:

Turn off wifi on android device
Close MMW
Go to MMA UPnP, which prompts me to enable wifi, enable wifi
Start MMW and then it shows up as a UPnP source
Use wireless sync

Re: Device only syncs if started as soon as MMW started

Posted: Fri Mar 08, 2019 1:09 pm
by Peke
mccracken02 wrote: Thu Mar 07, 2019 11:57 am Turn off wifi on android device
Close MMW
Go to MMA UPnP, which prompts me to enable wifi, enable wifi
Start MMW and then it shows up as a UPnP source
Use wireless sync
You do not need first step, just start MMW when MMA is searching for Server.

HINT: If you use latest beta after first time MMA finds MMW server you can save that setting and that will directly contact MMW instead of searching Network for available MMW servers.

HINT 2: SAme behavior is when you in options start search for MMW sync server.