View Issue Details

IDProjectCategoryView StatusLast Update
0014345MMW 5FileMonitor / Find Missingpublic2019-02-05 20:23
Reporterrusty Assigned To 
PriorityimmediateSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version5.0 
Target Version5.0Fixed in Version5.0 
Summary0014345: Issues scanning network folders to the library
DescriptionWhen attempting to add network folders to the library:

1) A windows sign-in dialog appears every-time even if access has already been granted. Attempting to sign in results in failure, and the user must press cancel to bypass the dialog and continue to use MMW (which then successfully scans the network location).

2) If attempting to add > 1 network folder to the Scan Folders list (e.g. NAS/Dir/Audiobooks and NAS/Dir/Music), only 1 folder gets added (note: I tested with 3 local folders already added--the issue might be that > 4 folders aren't supported to be added).

3) In order to add network storage, the user must first click 'Local media' in the 'Add media' dialog! This is already specced in #14272, so I suppose it's just waiting for that to be resolved?
Additional Informationhttp://www.mediamonkey.com/forum/viewtopic.php?f=30&t=93694
TagsNo tags attached.
Attached Files
Fixed in build2151

Relationships

related to 0014546 closedpetr MMW 5 Scanning for files has no effect (regression) 
related to 0013971 feedbackrusty MMW 5 Improve tree structure for Network / Cloud Services 
related to 0010726 closedpeke MMW 5 Network: No ability to access Network Shares using different credentials 
related to 0012365 closedLudek MMW v4 Unexpected "The operation has been completed successfully" error message  

Activities

petr

2017-11-23 13:21

developer   ~0049259

Last edited: 2017-11-23 18:35

item 1) i cannot reproduce with my network drive .. did it work when you sign-in in explorer (trying to open network drive) ?
item 2) in current implementation it's not limited
item 3) currently Network entry is right in 'Add media' dialog

rusty

2017-11-26 18:44

administrator   ~0049281

In build 2085,
1) this still occurs for me as follows
1 In the Add network folder dialog, enter \\192.168.xxx.xxx
-->
a) Enter network credentials dialog appears (see attached) even though this PC already is logged into the network
b) The dialog indicates 'access denied' even though access hasn't even been attempted (i.e. at this point there's just an attempt to see the folder hierarchy)!
c) If the user clicks elsewhere in the UI, then the dialog gets hidden in back of MM and there's no way to get it to re-appear

Issues 2) and 3) appear to be resolved.

petr

2018-02-23 13:01

developer   ~0049646

Last edited: 2018-02-23 13:03

I cannot reproduce item 1 (Michal tested as well with same results as me). Is it working when you log-in in exlorer and then open network folder in MM5 ?

peke

2018-05-02 16:03

developer   ~0050163

Like both Petr and Michal I'm also not being able to replicate as I'm getting same results

Added multiple relations to bugs risen in the past there should be a way to inject credentials on connection to UNC path.

rusty

2018-05-11 15:47

administrator   ~0050258

Here's a video that illustrates problems 1a/b/c:
https://www.screencast.com/t/KQFaTbRbHK

Associated debug log is attached

Once that one is resolved, I'll re-examine the others since they may be a consequence of this.

petr

2018-09-13 12:06

developer   ~0051091

Is this issue just MM5 related or is same in MM4 ? Did you check access rights for MM.exe/MME.exe ?

rusty

2018-09-18 04:46

administrator   ~0051143

I can't replicate this issue with MM4 (regular or portable). The 'security' tab for MM/MME show identical permissions to MMW.

With MMW, double-clicking on //192.168.xxx.xxx expands the tree in the dialog to show all shares.
With MM5, double-clicking on //192.168.xxx.xxx causes the hourglass to appear as the 'enter network credentials' dialog appears (often behind the active dialog).

peke

2018-09-18 21:03

developer   ~0051154

I wonder is there any way to preserve and fill credentials within MM5 automatically like I initially thought would be good in 0010726 and detailed in #13743

rusty

2018-11-20 18:42

administrator   ~0051590

In build 2133, the bug occurs as previously. Just redocumentating with a bit more detail:
1)
1 In the Add network folder dialog, 'Add location' and attempt to expand the entry for (or enter) \\192.168.xxx.xxx
-->
a) Enter network credentials dialog appears (see attached) even though this PC already is logged into the network
b) The dialog indicates 'access denied' even though access hasn't even been attempted (i.e. at this point there's just an attempt to see the folder hierarchy)!
c) If the user clicks elsewhere in the UI, then the dialog gets hidden in back of MM and there's no way to get it to re-appear
d) if the user enters credentials, then MM5 proceeds to scan the directory

peke

2018-12-06 02:53

developer   ~0051675

As Service is run under different credentials/user MMx should be able to auto authorize itself due the lack of Frontend and no way to see credentials dialog

https://www.mediamonkey.com/forum/viewtopic.php?f=20&t=92868

There should be possibility to store credentials for UNC shares that can be used to auto authorize in way something like described at 0010726

NOTE: This also apply to MMS

Ludek

2019-01-21 13:56

developer   ~0052146

Last edited: 2019-01-21 15:51

Already reported here: http://www.mediamonkey.com/forum/viewtopic.php?f=30&t=93694

In the user log I see:
ConnectPath: \\NAS-PRIMOS01\music , error code: 1219 , error string: Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed. Disconnect all previous connections to the server or shared resource and try again

Solution could be http://backupchain.com/i/how-to-fix-error-1219-multiple-connections-to-a-server-or-shared-resource-by-the-same-user
i.e. Instead of using the network name of the target server, use its IP address. That way Windows will interpret the IP address as a separate entry in its network connection list and there won’t be an issue.

BTW: We should probably return the error message box, it used to be there, but was removed in course of fixing 0012365
=> added back in build 2050

peke

2019-01-21 18:12

developer   ~0052152

NOTE: Using \\<NAS IP>\music always worked and I have never needed to enter credentials again.

I'll update 0013971 as I have found way to Log on/access Network share using different credentials.

Ludek

2019-01-22 21:07

developer   ~0052184

Last edited: 2019-01-22 21:09

I am starting to understand it, this explains both the issues experienced by Rusty and by Barry:

In MM4 you cannot even expand the manually added share, i.e. you need to add "//myserver/myshare/" manually in MM4 and then you cannot expand it in case you enter just the //myserver/ part like this:
https://www.dropbox.com/s/bdr23ehco0r18nw/Untitled.png?dl=0

In MM5 when you enter "//myserver/myshare/" it adds '//myserver/' node that is expandable, and then (upon expanding) goes through all the shares and requires credentials for it.
In Barryr's case:
\\NAS-PRIMOS01\homes
\\NAS-PRIMOS01\music

So I guess that the solution is either:
- silently skip the subnodes (shares) where you don't have access (like home and music in your case) when listing
- list only the entered share as subnode

Both solutions would work

Ludek

2019-01-22 22:02

developer   ~0052187

Fixed in build 2151.

The bug was just that easy that just listing the shares unnecessarily asked credentials for each share, while the credentials are needed just when browsing the share.

peke

2019-01-26 00:27

developer   ~0052254

Verified 2151

rusty

2019-02-05 20:23

administrator   ~0052403

Veridfied 2154.