ETP connection drops after toggling main UI

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
Scoox
Posts: 33
Joined: Wed Aug 25, 2010 1:07 am

ETP connection drops after toggling main UI

Post by Scoox »

I have configured a desktop computer as a server without user name or password, settings as follows:

  • Everything version: 1.4.1.873b (x64) on both client and server.
  • ETP server config: Port number: 21 (default), tested both with and without user name and password.
  • Client: Windows 10 Pro 64-bit, Everything running as service.
  • Server: Windows 7 Ultimate 64-bit, Everything running as Administrator.

On the client (a laptop with limited storage) I click Tools > Connect to ETP server..., enter said details and click Connect. Then the client is able to find the files on the server.

But if I minimize Everything to the system tray and open it again, it no longer finds the files. I need to click Connect again for it to work. So basically I need to re-connect each time I toggle the Everything UI. What am I doing wrong?

I've also tested with a user name and password but that makes no difference. I've enabled logging and it does say "Disconnected" so it would seem this is a feature, but it doesn't seem very convenient:

Code: Select all

23/05/2017 12:44: 256: [fe80:0:0:0:758e:cd91:5e5f:b8ca]: Connected.
23/05/2017 12:44: 256: [fe80:0:0:0:758e:cd91:5e5f:b8ca]: USER Scoox
23/05/2017 12:44: 256: [fe80:0:0:0:758e:cd91:5e5f:b8ca]: 331 Password required for Manuel
23/05/2017 12:44: 256: [fe80:0:0:0:758e:cd91:5e5f:b8ca]: PASS testpass
23/05/2017 12:44: 256: [fe80:0:0:0:758e:cd91:5e5f:b8ca]: 230 Logged on.
23/05/2017 12:44: 256: [fe80:0:0:0:758e:cd91:5e5f:b8ca]: OPTS UTF8 ON
23/05/2017 12:44: 256: [fe80:0:0:0:758e:cd91:5e5f:b8ca]: 200 UTF8 mode enabled.
23/05/2017 12:44: 256: [fe80:0:0:0:758e:cd91:5e5f:b8ca]: EVERYTHING SIZE_COLUMN 1
23/05/2017 12:44: 256: [fe80:0:0:0:758e:cd91:5e5f:b8ca]: 200 Size column set to (1).
23/05/2017 12:44: 256: [fe80:0:0:0:758e:cd91:5e5f:b8ca]: EVERYTHING DATE_MODIFIED_COLUMN 1
23/05/2017 12:44: 256: [fe80:0:0:0:758e:cd91:5e5f:b8ca]: 200 Date modified column set to (1).
23/05/2017 12:44: 256: [fe80:0:0:0:758e:cd91:5e5f:b8ca]: EVERYTHING DATE_CREATED_COLUMN 1
23/05/2017 12:44: 256: [fe80:0:0:0:758e:cd91:5e5f:b8ca]: 200 Date created column set to (1).
23/05/2017 12:44: 256: [fe80:0:0:0:758e:cd91:5e5f:b8ca]: EVERYTHING PATH_COLUMN 1
23/05/2017 12:44: 256: [fe80:0:0:0:758e:cd91:5e5f:b8ca]: 200 Path column set to (1).
23/05/2017 12:44: 256: [fe80:0:0:0:758e:cd91:5e5f:b8ca]: EVERYTHING COUNT 38
23/05/2017 12:44: 256: [fe80:0:0:0:758e:cd91:5e5f:b8ca]: 200 Count set to (38).
23/05/2017 12:44: 256: [fe80:0:0:0:758e:cd91:5e5f:b8ca]: EVERYTHING PATH 1
23/05/2017 12:44: 256: [fe80:0:0:0:758e:cd91:5e5f:b8ca]: 200 Path set to (1).
23/05/2017 12:44: 256: [fe80:0:0:0:758e:cd91:5e5f:b8ca]: EVERYTHING SEARCH desktop log .txt
23/05/2017 12:44: 256: [fe80:0:0:0:758e:cd91:5e5f:b8ca]: 200 Search set to (desktop log .txt).
23/05/2017 12:44: 256: [fe80:0:0:0:758e:cd91:5e5f:b8ca]: EVERYTHING SORT NAME_DESCENDING
23/05/2017 12:44: 256: [fe80:0:0:0:758e:cd91:5e5f:b8ca]: 200 Sort set to (NAME_DESCENDING).
23/05/2017 12:44: 256: [fe80:0:0:0:758e:cd91:5e5f:b8ca]: EVERYTHING QUERY
23/05/2017 12:44: 256: [fe80:0:0:0:758e:cd91:5e5f:b8ca]: 200 End.
23/05/2017 12:44: 256: [fe80:0:0:0:758e:cd91:5e5f:b8ca]: Disconnected.
Thanks in advance!
void
Developer
Posts: 16750
Joined: Fri Oct 16, 2009 11:31 pm

Re: ETP connection drops after toggling main UI

Post by void »

Everything will disconnect from your ETP server when you close the current Everything search window.

Please try setting your home search to an ETP server:
  • In Everything, from the Tools menu, click Options.
  • Click the Home tab.
  • Change Index to: ETP Server.
  • Set the ETP server, with the following format: username:password@host:port
  • Set the desired link type.
  • Click OK.
This will automatically connect to your ETP server when you show an Everything search window.

Another option is to use the hide on close feature:
  • In Everything, type in the following search and press ENTER:
    /hide_on_close=1
Now when you close Everything, the window is simply hidden. Running Everything from a shortcut, tray icon or hotkey will simply unhide this window, keeping your ETP connection alive.
Scoox
Posts: 33
Joined: Wed Aug 25, 2010 1:07 am

Re: ETP connection drops after toggling main UI

Post by Scoox »

Aha! I think my confusion came from a misunderstanding on my part. So basically, Everything either uses a local database or the ETP server's database, but not both simultaneously. I intuitively expected Everything would merge local and server results, clearly that's not the case.

It kind of makes sense that it works like this because, since it can only connect to one server at a time, in cases where you need to search more than one server you'd have to constantly connect and disconnect to switch servers. Running multiple instances allows Everything to establish dedicated connections to any number of servers. Is this about right?
void
Developer
Posts: 16750
Joined: Fri Oct 16, 2009 11:31 pm

Re: ETP connection drops after toggling main UI

Post by void »

I intuitively expected Everything would merge local and server results, clearly that's not the case.
This is coming in Everything 1.5. You will be able to add ETP servers to your index.
It kind of makes sense that it works like this because, since it can only connect to one server at a time, in cases where you need to search more than one server you'd have to constantly connect and disconnect to switch servers. Running multiple instances allows Everything to establish dedicated connections to any number of servers. Is this about right?
Yes.
Scoox
Posts: 33
Joined: Wed Aug 25, 2010 1:07 am

Re: ETP connection drops after toggling main UI

Post by Scoox »

Yay! That's super!

One more thing, the help page states "Useful for keeping extended file information cached." I guess what that means is Everything doesn't need to re-run the last search when /home_search=0. With simple searches on a modern computer the difference is minimal, but I suppose complex RegEx searches would benefit from this option. The question is: are there any disadvantages to setting /hide_on_close=0 ?
void
Developer
Posts: 16750
Joined: Fri Oct 16, 2009 11:31 pm

Re: ETP connection drops after toggling main UI

Post by void »

I guess what that means is Everything doesn't need to re-run the last search when /home_search=0.
Yes, the current search will remain active while hidden.
The question is: are there any disadvantages to setting /hide_on_close=0 ?
When the search window is hidden, Everything will use the same CPU / RAM resources as if there was a search window still open.
Post Reply