Enumerating servers on network... still not working

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
arkid
Posts: 54
Joined: 29 May 2015 11:53

Enumerating servers on network... still not working

Post by arkid »

After clicking into the Network part of the folder tree and a long wait nothing is ever returned.

I've seen various posts about this over time in the forum although many posts seem to end with no concrete answer or no interest/time in resolving it as the problem is assumed to be a one off.

So all I can do is add my name that I am yet another user experiencing these issues although I'm rather cynical that more robust networking functionality is going to appear in the program. I am however very willing to assist in any troubleshooting if anyone has any ideas.

I have no complex network setup. A simple standard windows workgroup. In fact this problem occurs on all networks I've tried and isn't specific to a single computer. I have btw tried every combination of the two network related settings under "configuration/Controls & More" and have constantly updated to the latest version.

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Enumerating servers on network... still not working

Post by admin »

Well, thanks for the report. As you already guessed the problem with network issues is that they usually cannot be reproduced. There are so many factors here, it's impossible to even come up with a theory of what might be causing the issue. All I know is that it appears to work for most users. A shitty answer for you, I'm aware of that. :|

arkid
Posts: 54
Joined: 29 May 2015 11:53

Re: Enumerating servers on network... still not working

Post by arkid »

Understood it must work for others but I'm sure I can't be alone with this problem. Is there not a debug feature or some kind of log that can be enabled in the program that can assist this though? I'm willing to put in a lot of my own time if need be to assist resolving this.

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Enumerating servers on network... still not working

Post by admin »

Run these two lines through the Address bar. Does any of them list your servers?

Code: Select all

::text get("network", 0);

Code: Select all

::text get("network", 1);

arkid
Posts: 54
Joined: 29 May 2015 11:53

Re: Enumerating servers on network... still not working

Post by arkid »

Ah interesting, the second one with a value of 1 DOES work!

It does cause the program to freeze (windows states Program not responding in the title briefly as well)

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Enumerating servers on network... still not working

Post by admin »

arkid wrote:Ah interesting, the second one with a value of 1 DOES work!

It does cause the program to freeze (windows states Program not responding in the title briefly as well)
Uhm, does it work or does it freeze the program? :?

highend
Posts: 15016
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Enumerating servers on network... still not working

Post by highend »

On my network:

All three tests used a fresh instance of XY

Configuration | Controls and More | Network | Cache network servers
Checked or unchecked doesn't matter in terms of time or results of each command

::text get("network", 0);
30 sec on first run ("Keine Rückmeldung")
5 seconds on second run ("Keine Rückmeldung")
instant on each following run

first run:
\\UK-DT-01

second run:
\\POGOPLUG
\\UK-DT-01

=================================================

::text get("network", 1);
12 sec on every run ("Keine Rückmeldung")

on every run:
\\POGOPLUG
\\UK-DT-01

=================================================

Executing both commands right after another:
::text get("network", 1);
::text get("network", 0);

The second command still does not find
\\POGOPLUG
on the first run

Only the second run of it lists both servers
One of my scripts helped you out? Please donate via Paypal

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Enumerating servers on network... still not working

Post by admin »

Hmm, interesting (thanks! :tup: ), but not nice.

Since ::text get("network", 1); seems to see all servers reliably, it's probably the better choice, although it's slower (or rather: never fast). Well, that's why XY has a way to cache the servers.

arkid
Posts: 54
Joined: 29 May 2015 11:53

Re: Enumerating servers on network... still not working

Post by arkid »

admin wrote:
arkid wrote:Ah interesting, the second one with a value of 1 DOES work!

It does cause the program to freeze (windows states Program not responding in the title briefly as well)
Uhm, does it work or does it freeze the program? :?
Well it frroze for a second or so whilst its enumerating the list. Obviously its thinking very hard so to say but as I'm sure you've seen yourself in other software occasionally, its doing it in a way that WIndows itself for a second thinks the program has hung.

Anyway, I rebooted this morning and the program title bar DIDN't do that.

So I wouldn't worry about that bit too much, it does in effect work and the list is reliably appearing every single time I run the text get("network", 1); command

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Enumerating servers on network... still not working

Post by admin »

OK, looks like I know what to do now.

It all started here:

Code: Select all

v10.70.0207 - 2012-01-12 18:39
    * Network: Experimentally implemented a radically new way to 
      enumerate the servers that are listed under the Network special 
      folder in the Tree.
      Purpose is to get a more complete and probably also faster listing 
      than with the previous method.
      Note that to test this function you have to turn off Configuration 
      | Startup & Exit | Cache network servers.
      In case you prefer to stick with the previous method use this new 
      tweak:
        NetworkNetServerEnum=1
Now this seems to have been not such a good idea. I will revert to the old way (while keeping the tweak to allow you to use the new way).

All will be good in the next beta. :)

arkid
Posts: 54
Joined: 29 May 2015 11:53

Re: Enumerating servers on network... still not working

Post by arkid »

Ok thank you..... so I can add NetworkNetServerEnum=1 to the ini file manually to resolve this for now ?

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Enumerating servers on network... still not working

Post by admin »

arkid wrote:Ok thank you..... so I can add NetworkNetServerEnum=1 to the ini file manually to resolve this for now ?
Yes, that should do. Or wait for the next beta, where this will be done for you automatically.

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: Enumerating servers on network... still not working

Post by TheQwerty »

FYI, fresh v16 (not *.0003 with the changes).

Test 0, 78 msecs, 234 servers
Test 1, 4742 msecs, 228 servers
In Windows Explorer the network node shows 179 items.

:veryconfused:

I don't think we have any configured to prompt for credentials, so I cannot be of any help with Filehero's issue in the other thread.

EDIT: And fresh v16.00.0004:
Test 0, 109 msecs, 203 servers
Test 1, 4680 msecs, 190 servers
WE shows 206.

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Enumerating servers on network... still not working

Post by admin »

I don't like this. :|

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: Enumerating servers on network... still not working

Post by TheQwerty »

admin wrote:I don't like this. :|
I'm not actually experiencing any network issues but I tend to have them mapped or am typing them into the address bar, thus no enumeration.

Was just providing some more data points. ;)
Actually I was trying to see if I could help in that other thread but no luck.

Post Reply