Restoring Network Connections

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
brett1337
Posts: 5
Joined: Wed Nov 10, 2021 6:55 pm

Restoring Network Connections

Post by brett1337 »

I get this error whenever I disconnect my VPN that gives me access to my Z: drive. Error does not popup when everything search is closed. I tried the solution in this thread and it did not work. I am on the latest version (1.4.1009)

Screenshot of the error: https://imgur.com/Y1op9cO

---

Everything search functions normally otherwise. I do not get this error when Everything search is closed.

Thank you.
Last edited by therube on Wed Nov 10, 2021 7:26 pm, edited 1 time in total.
void
Developer
Posts: 16678
Joined: Fri Oct 16, 2009 11:31 pm

Re: Restoring Network Connections

Post by void »

Thank you for the bug report brett1337,

Could you please send me some debug output:
  • Please make sure Everything your VPN is connected.
  • In Everything, type in the following search and press ENTER:
    /debuglog
  • Disconnect your VPN.
  • --wait for the error--
  • In Everything, type in the following search and press ENTER:
    /restart
  • Could you please send your %TEMP%\Everything Debug Log.txt to support@voidtools.com
brett1337
Posts: 5
Joined: Wed Nov 10, 2021 6:55 pm

Re: Restoring Network Connections

Post by brett1337 »

Log emailed

Hopefully I captured it. The errors seem to occur when the vpn connection is broken on the server side (I didn't turn my vpn off, it disconnected unexpectedly). I wasn't able to replicate it purposefully shutting down the VPN.

I hit "OK" on the error here in the debug log and like 5 error windows were popping up repeatedly. I also started and stopped the VPN in the middle of the debugging after that. More errors occurred after restart of Everything completed with VPN off. Hopefully this helps!
void
Developer
Posts: 16678
Joined: Fri Oct 16, 2009 11:31 pm

Re: Restoring Network Connections

Post by void »

Thank you for the debug logs brett1337,
2021-11-15 17:16:27.954: CreateFileW(): 53: Failed to open file Z:\
2021-11-15 17:16:27.957: os_create_file Z:\ 53
Error 53 is ERROR_BAD_NETPATH - The network path was not found.

Everything is failing to create a handle to your Z: drive for ReadDirectoryChangesW (used to monitor your Z: drive for changes).

Strange the error occurred when reconnecting Z: message appears when Everything does not have a handle open to the volume.



Since ReadDirectoryChangesW does not work for your Z: drive, could you please try disabling attempt to monitor changes for your Z: drive:
  • In Everything, from the Tools menu, click Options.
  • Click the Folders tab on the left.
  • Select Z:
  • Uncheck Attempt to monitor changes.
  • Click OK.
Does the issue persist?


Please also make sure Everything is running as a standard user:
  • In Everything, from the Tools menu, click Options.
  • Click the General tab on the left.
  • Check Everything service.
  • Uncheck Run as administrator.
  • Click OK.
  • Exit Everything (right click the Everything tray icon and click Exit).
  • Restart Everything.
brett1337
Posts: 5
Joined: Wed Nov 10, 2021 6:55 pm

Re: Restoring Network Connections

Post by brett1337 »

For the first time ever Everything search hung when I opened it. I had turned off everything and VPN earlier today and booted up everything without VPN (I've done this before no problem) and it didn't respond until I opened VPN.

For your questions:

I have unchecked do not monitor changes in the past, and I did still get the error. Do you need an error log with this setting turned off?

Everything Service was already checked, Run as Administrator was already unchecked (I've never changed these options).
void
Developer
Posts: 16678
Joined: Fri Oct 16, 2009 11:31 pm

Re: Restoring Network Connections

Post by void »

Everything is most likely stuck trying to rescan your Z: drive.


Instead of using folder indexing for your Z: drive, please try using a file list instead:
  • Ensure your Z: drive is connected.
  • In Everything, from the Tools menu, click File List Editor.
  • In the Everything File List Editor, from the Edit menu, click Add folder....
  • Select your Z: drive and click OK.
  • From the File menu, click Save As....
  • Choose a filename and click Save.
  • Close the file list editor.
  • In Everything, from the Tools menu, click Options.
  • Click the Folders tab on the left.
  • Select your Z: drive
  • Click Remove.
  • Click the File Lists tab on the left.
  • Click Add....
  • Select your file list from above.
  • Click OK.
  • Click OK.
Everything will not access the files in your file list.
This includes icons which might be causing the issue.
Does the issue persist when using a file list?



To manually update your Z: drive file list, run the following:

Code: Select all

Everything.exe -create-file-list <output-filename> Z:
brett1337
Posts: 5
Joined: Wed Nov 10, 2021 6:55 pm

Re: Restoring Network Connections

Post by brett1337 »

Ok I will give this a try and test after work. Is it ok to have monitor changes checked?
void
Developer
Posts: 16678
Joined: Fri Oct 16, 2009 11:31 pm

Re: Restoring Network Connections

Post by void »

For file lists, checking Monitor changes is OK.
brett1337
Posts: 5
Joined: Wed Nov 10, 2021 6:55 pm

Re: Restoring Network Connections

Post by brett1337 »

Great, so far so good!
Post Reply