Troubleshooting GlobalSearch Extensions
Problem
GlobalSearch Extensions is the go-between application that talks to the client and server to allow the use of peripheral hardware or software with the web interface, such as using TWAIN enable scanners to interface with the GlobalCapture Scan Station, or printing documents to a PDF from the web viewer.
There can be issues with GlobalSearch Extensions, however, though most are fairly routine and easily fixable. We've outlined a couple of the most common issues below.
CORS-related error message
Google Chrome <v107
A recent update to Google Chrome and MS Edge introduced an issue where the GlobalSearch Web Client may throw a CORS-related error message when trying to connect to GlobalSearch Extensions. The current workaround is to browse to "chrome://flags" and set the flag "Block insecure private network requests." to "Disabled".
https://developer.chrome.com/blog/private-network-access-update/
Google Chrome v108+
The most recent update to Google Chrome has removed the previous “Block insecure private network requests.” flag and replaced it with “Treat insecure origin as secure”.
chrome://flags/#unsafely-treat-insecure-origin-as-secure
Now in addition to enabling the flag you will also have to whitelist the addresses involved.
Please note that you will have to relaunch Google Chrome any time that you make changes to the chrome://flags page before the changes are applied.
I Can Only See "Scan" in my Extensions Web Page
This is likely an issue with your API address. Correcting this should be fairly simple.
Navigate to the GlobalSearch Extensions web page
This can be done by right clicking on the icon in the system tray and hitting "GlobalSearch Extensions"
It can also be done by hitting the "GlobalSearch Extensions" puzzle piece icon in the web client
Click "Settings" and on the "Square 9 Authentication" Panel, click the ellipses and hit "Edit"
Ensure that the username is that of the user who is using the application, and the domain is correct, along with the password
Ensure the API is pointing to the server - by default this may be set to "localhost"
Once this is done, all modules should show up in the extensions menu
I Can't Scan - Unable to Connect to GlobalSearch Extensions
There's a very good chance that your scanner isn't using ports consistently. Correcting this is fairly straight forward.
Check the ports that GlobalSearch Extensions is using.This can be found in the Extensions Settings -→ Ports
Default ports are 9080 and 9443 for http and https, respectively.
These ports cannot be manually edited. Please select 'Connect' to sync the ports to GlobalSearch. Please also make sure the browser pop up blocker is not blocking this action.
Find your "Scan" Module in the GlobalSearch Extensions Menu
The scan option is built-in and cannot be toggled on/off.
Navigate to "Scan" on the left menu column
Providing your scanner is supported and TWAIN Drivers have been installed, you should see your scanner showing up here. You'll be able to configure its TWAIN profile through here as well.
Navigate to your GlobalCapture Scan Station and hit the "settings" gear in the top right
Hit "Scanner"
If you see an orange error, there's a good chance we have some potential port conflicts
As in the error above, we can see that both the ports are wrong, and SSL is enabled, which is NOT enabled in our extensions menu
If the ports are incorrect, make the requisite changes, as well as turning SSL on or off as necessary for your environment.
Hit save and refresh the page
If everything is done correctly, next time the scanner options are opened, you should see this:
At this point, your scanner should be properly configured to use with GlobalCapture.
Rotating Ports
If you’ve gone through a recent update it’s possible the GlobalSearch Extensions port number has changed.
This is because extensions is designed to use an available port. If you had 9080 it may have switched to 9081. This is easy to correct.
Signs of an incorrect port.
Scan is missing.
You click the puzzle piece and it asks you to download extensions again.
1. Go into your web browser. Google Chrome is this example. Press F12 or go into developer tools.
2. Look for a tab called application. If you don’t see this tab press the double arrow to find it.
3. Go to Storage, local storage, select the name of your computer.
4. You will see on the right the SSL and non SSL port numbers for extensions.
5. You need to update those ports to mark the ports in the extensions menu.
6. To get to the extensions menu go to the bottom right of your screen. Right click on the orange puzzle piece.
7. Select Global Search extensions. It will open in the web browser.
8. My port is 9101, http://localhost:9101/#/appsettings.
9. You can go into settings, Ports and see both ports.
10. If you have updated the ports in your web browser application section and you still can’t try clicking connect here. Then closing out of the web browser and going back in.
11. You should be able to scan now.
12. Information on port bindings file location on a local machine. C:\ProgramData\Square_9_Softworks\GlobalSearch_Extensions\Port_Bindings
You shouldn’t need to go here. But port bindings can be deleted from this folder.
GlobalSearch Extensions Quit and Won't Start
If Extensions quits out and won't restart, it's possible that its helper application, web helper, has hung.
To restart web helper, you'll have to terminate web helper in Task Manager. Do the following:
Open Task Manager
Look for a process named "Square9.ExtensionsWebHelper.exe" and terminate the process
Attempt to restart GlobalSearch Extensions
I'm having Issues With GlobalSearch Extensions - How Can I Do Complete Clean Re-Install?
The important thing to know about GlobalSearch Extensions is that it is an application that operates independently on a user-by-user basis. The application will need to be installed for each user, even if they share a machine. The user running the installation will need rights to write to their temporary directory. It may be necessary to run this installation with temporary administrative permissions.
To Cleanly Uninstall Extensions Do the Following:
From the Task tray, right click the GlobalSearch Extensions Icon and hit "Show Location" - this will bring you to the GlobalSearch Extensions directory in your Temporary directory
Back out one folder level. You will likely see a lot of directories in here with strange names like "glob...tion_dae1244566..." keep this directory open in the background
Turn off the application by right clicking the icon in the system tray and hitting "exit"
Ensure the Square9.ExtensionsWebHelper process is terminated through task manager
Go into the "Add or Remove Programs" menu in the Control Panel
Select GlobalSearch Extensions and when prompted, select "Remove this Application"
Once the installation is done, you will need to check the user's temporary directory to ensure all temp files have been deleted.
Open your file explorer Window that you had navigated to in Steps 1 & 2
If you have closed this window, you can manually navigate to this directory by going into C:\Users\YOURUSER\AppData\Local\Apps\2.0
In the 2.0 Directory, you should see a randomly named alphanumeric directory. Enter it, and into the subdirectory within it. This will bring you to the temporary directory that houses GlobalSearch extensions.
There should no longer be any Files that start with "glob..." - if there are, delete them completely
Navigate to C:\Users\YOURUSER\AppData\Local\Square_9_Softworks
Delete the GlobalSearch_Extensions directory
At this point Extensions should have been completely uninstalled. You should now be able to do a fresh, new install, using the directions as follows.
Properly Installing GlobalSearch Extensions
Download the setup media from your GlobalSearch webpage.
Right click and run the media
The installer should download several files, including a QBFC file and the Extensions media
Let these run and install
Towards the end of the install, a console window should pop up very briefly and quickly disappear. This is the Square9.cert application - if the installation errors out on this step, there are likely permissions issues.
Once that has been done, the installation should complete.
Providing the application boots, the first order of business should be to right click on the application in the system tray and hit "GlobalSearch Extensions" which will bring you to a local website where the user in question should enter their username, password and domain. Also take the time to ensure the URL to the API is correct, as it may be erroneously set to "localhost" instead of the server name.
Once that is done, your user should be able to see extensions on the extension webpage.
GlobalSearch Extensions does not have all of the extensions listed?
This issue is caused by GlobalSearch Extensions running in GlobalCapture Web mode instead of GlobalSearch Web mode.
Switching GlobalSearch Extensions mode
Completely exit GlobalSearch Extensions
Open Settings.config in "%localappdata%\Square_9_Softworks\GlobalSearch_Extensions\Settings.config
Update the "Mode" to match what you require (GSW for GlobalSearch Web mode and GCW is for GlobalCapture Web mode, most people will be using GSE in GSW mode.)
Relaunch GlobalSearch Extensions
Now when you navigate to the settings page you should have a complete list of the available extensions.
You can check what mode GlobalSearch extensions is operating in by checking the Settings.config file located in %localappdata%\Square_9_Softworks\GlobalSearch_Extensions\Settings.config. There should be a "Mode" key on the other side of the colon will be the mode that GSE is operating in, if it is GCW you likely need to change it to GSW in order to get all extensions available.
GlobalCapture Scan Station Often needs to be reconnected
Because of issues outlined earlier on this page (CORS) many versions of the GlobalSearch Web client will default to the non-SSL GlobalSearch Extensions port when the GlobalSearch Web client is loaded on http. If you are using GlobalSearch Extensions with SSL for GlobalCapture Scan Station this can result in the extensions intermittently getting disconnected whenever you load a GlobalSearch page.
Extensions error:
Square9.LoginAgent.ClientUpdate.Exceptions.UpdateInProgressException: Lock file already exists. An update may already be in progress.
This error comes from the extensions log file.
Logfile log.txt location example: C:\Users\JOE\AppData\Local\Square_9_Softworks\GlobalSearch_Extensions\log.txt
Lock file square9.loginclient-update.lock location that is causing the error.
%localappdata%\Apps\Square9_Apps\square9.loginclient-update.lock
Example: C:\Users\JOE\AppData\Local\Apps\Square9_Apps\square9.loginclient-update.lock
Close GlobalSearch Extensions from the tray menu at the bottom right of your screen. End in task manager if it won’t close.
Uninstall GlobalSearch Extensions from control panel.
Delete the lock file: square9.loginclient-update.lock.
Reinstall GlobalSearch Extensions.
You should not get the normal authentication menus and login prompt. If you don’t try disabling the browsers pop up blocker.
Changed your active directory password and are unable to login to GlobalSearch extensions.
Reboot your computer first. When the computer comes back up you should get a prompt to login to GlobalSearch extensions.
If you don’t get a login prompt but instead extensions errors. You can clear out the local users temporary files.
Exit out of GlobalSearch extensions if running. Go to, C:\Users\Square 9\AppData\Local\Square_9_Softworks.
Delete the entire folder: GlobalSearch_Extensions.
Go to the GlobalSearch extensions icon double click.
It will load the web menu for extensions. You will need to re-enter the correct API address along with user name and password.
If the web menu doesn’t load, click on extensions in your Windows tray.
Click GlobalSearch Extension and go into the web menu.
You will need to reenter to login information and your domains API information under authenticaton.
Related articles