Ekahau AI Pro Proxy issue
Fresh installation of Ekahau AI Pro on macOS, company issue laptop, running the usual pre-installed security software suite, including Zscaler.
Ekahau installed fine
However, attempting to launch ekahau throws an error.
"There was a problem while connecting to Ekahau Cloud. Please check your internet connection. Contact helpdesk support in case the problem persists."
- Tried restarting the laptop
- Tried uninstalling Ekahau, re-installing
But met with the same error
We looked at the log file:
~/USER/Library/Ekahau AI Pro/log
The Library folder is hidden by default, you should load Finder, click 'Go' hold option
that way Library reveals itself.
Examination of the logs reveals
2024-01-29 15:20:50,941 [main] INFO com.ekahau.sitesurvey.ui.EssLauncher - Finished loading ODA libraries.
2024-01-29 15:20:51,361 [JavaFX Application Thread] INFO com.ekahau.sitesurvey.ui.EssApplication - Setting open file handler
2024-01-29 15:20:52,801 [JavaFX Application Thread] INFO com.ekahau.#SERIAL#.a.Y - Initialization started for version 11.5.0.1
2024-01-29 15:20:52,802 [JavaFX Application Thread] INFO User Interface - OS: OSX
2024-01-29 15:20:52,811 [JavaFX Application Thread] INFO User Interface - Max Memory: 9832 MB
2024-01-29 15:20:52,812 [JavaFX Application Thread] INFO User Interface - JVM: Amazon.com Inc. 17.0.8
2024-01-29 15:20:52,812 [JavaFX Application Thread] INFO User Interface - Parsing command line
2024-01-29 15:20:53,592 [JavaFX Application Thread] INFO com.ekahau.x.Dj - Using proxy server for "https://ekahau.com": http = 127.0.0.1:9000
2024-01-29 15:20:53,629 [JavaFX Application Thread] INFO com.ekahau.x.Dj - No proxy server configured for "https://ekahau.cloud"
2024-01-29 15:20:53,943 [JavaFX Application Thread] INFO com.ekahau.x.Dj - Using proxy server for "https://eka-prod-xxx.s3.eu-west-1.amazonaws.com": http = 127.0.0.1:9000
2024-01-29 15:20:55,099 [pool-2-thread-1] WARN com.ekahau.x.GB - Product is not activated. Error code is: ERR_#103
2024-01-29 15:20:55,101 [JavaFX Application Thread] INFO com.ekahau.sitesurvey.project.DefaultCloudService - Resetting auth tokens
2024-01-29 15:20:55,663 [pool-2-thread-1] ERROR com.ekahau.x.Cn - I/O exception when accessing Ekahau Cloud
javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
This indicates that Ekahau is looking to connect to the cloud, but is getting redirected to the local proxy.
The important line:
2024-01-29 15:20:53,592 [JavaFX Application Thread] INFO com.ekahau.x.Dj - Using proxy server for "https://ekahau.com": http = 127.0.0.1:9000
Long story short, this Ekahau failure to launch / activate is caused by proxy settings within macOS
from Ekahau support page:
https://support.ekahau.com/hc/en-us/articles/202429294-Why-am-I-getting-a-network-error-when-trying-to-activate-my-license-
We can download system.properties
file which should be placed into
~/USER/Library/Ekahau Pro/.settings/
This directory is hidden, you can show / reveal hidden files within Finder using the keyboard shortcut command + control + period
Check within macOS System Settings
System Settings > Network > active Network > Details > Proxies
Make a note of the URL
Next, you need to edit the downloaded system.properties file
Copy the URL from System Settings and add it to the ekahau.proxy.customUrl=
field.
Change from:
ekahau.proxy.defaultTrustStore=false
glass.win.uiScale=NaN
ekahau.proxy.authorization=haxx0r\:swordfish
ekahau.proxy.disable=false
ekahau.proxy.customUrl=localhost:8080
ekahau.proxy.skipAuth=false
to:
ekahau.proxy.defaultTrustStore=false
glass.win.uiScale=NaN
ekahau.proxy.authorization=haxx0r\:swordfish
ekahau.proxy.disable=false
ekahau.proxy.customUrl=127.0.0.1\:9000/localproxy-edc301a6.pac
ekahau.proxy.skipAuth=false
Finally, quit Ekahau if it is still running, then try again.
This worked for Danny Ruiz and I, while on a customer site in February 2024, with help from Ekahau Support.