I am running Ignition 8.3 and when I open the Designer, any perspective options do not exist. When looking at the designer logs, I see the following error
11:12:11.194 [WebSocket@1596404008-50] INFO com.inductiveautomation.ignition.client.gateway_interface.GatewayConnectionManager -- WebSocket session is connected
11:12:11.554 [Designer-Startup] INFO designer.main -- Downloading... [+0]
11:12:11.873 [Designer-Startup] INFO designer.main -- Cleanup... [+319]
11:12:11.879 [Designer-Startup] INFO designer.main -- Initializing UI... [+325]
11:12:11.980 [DesignerExecEngine-1] INFO tags.subscriptions -- Changing connected quality to 'Good'
11:12:21.342 [Designer-Startup] INFO designer.main -- Starting module: Perspective [+9788]
11:12:22.620 [Designer-Startup] INFO Perspective.Designer -- Starting up Perspective module. Mode: Activated
11:12:23.132 [Designer-Startup] ERROR designer.JXBrowserUtil -- Failed to start Browser Engine with options
com.teamdev.jxbrowser.engine.EngineOptions:
autoplayEnabled: false
chromiumDir: C:\Users\$USER\.ignition\cache\resources\jxbrowser\8.12.1
chromiumSwitches: [ ]
diskCacheSize:
fileAccessFromFilesAllowed: false
isGpuDisabled: false
isIncognitoEnabled:true
language:en-us
passwordStore:
remoteDebugginPort: 9222
renderingMode: OFF_SCREEN
isSandboxDisabled: false
secureOriginWhitelist: [ ]
isTouchMenuEnabled: false
userAgent:
userDataDir:C:\Users\$USER\AppData\Local\Temp\JxBrowser-UserData-558af02d-618a-4645-8e5a-12d613823f1b
webSecurityDisabled: false
.
com.teamdev.jxbrowser.engine.ChromiumProcessStartupFailureException: Process exit code: 0
at com.teamdev.jxbrowser.engine.internal.EngineImpl.newInstance(EngineImpl.java:227)
at com.teamdev.jxbrowser.engine.Engine.newInstance(Engine.java:163)
at com.inductiveautomation.ignition.client.util.JxBrowserUtil.lambda$getOrCreateEngine$2(JxBrowserUtil.java:352)
at com.inductiveautomation.ignition.client.util.JxBrowserUtil.runResourceLockedAction(JxBrowserUtil.java:567)
at com.inductiveautomation.ignition.client.util.JxBrowserUtil.getOrCreateEngine(JxBrowserUtil.java:352)
at com.inductiveautomation.ignition.client.util.JxBrowserUtil.getOrCreateEngine(JxBrowserUtil.java:431)
at com.inductiveautomation.perspective.designer.DesignerHook.startup(DesignerHook.java:233)
at com.inductiveautomation.ignition.designer.IgnitionDesigner$LoadedModule.startup(IgnitionDesigner.java:2004)
at com.inductiveautomation.ignition.designer.IgnitionDesigner.startupModule(IgnitionDesigner.java:1200)
at com.inductiveautomation.ignition.designer.IgnitionDesigner.loadProject(IgnitionDesigner.java:1003)
at com.inductiveautomation.ignition.designer.IgnitionDesigner$StartupProjectDialogHandler.lambda$new$2(IgnitionDesigner.java:2048)
at java.base/java.lang.Thread.run(Unknown Source)
11:12:23.134 [Designer-Startup] INFO designer.main -- Starting module: Vision [+11580]
11:12:23.751 [Designer-Startup] ERROR designer.JXBrowserUtil -- Failed to start Browser Engine with options
com.teamdev.jxbrowser.engine.EngineOptions:
autoplayEnabled: false
chromiumDir: C:\Users\$USER\.ignition\cache\resources\jxbrowser\8.12.1
chromiumSwitches: [ ]
diskCacheSize:
fileAccessFromFilesAllowed: false
isGpuDisabled: false
isIncognitoEnabled:true
language:en-us
passwordStore:
remoteDebugginPort: 9222
renderingMode: OFF_SCREEN
isSandboxDisabled: false
secureOriginWhitelist: [ ]
isTouchMenuEnabled: false
userAgent:
userDataDir:C:\Users\$USER\AppData\Local\Temp\JxBrowser-UserData-477a405f-8e5c-4791-8e34-c42712ac105c
webSecurityDisabled: false
.
com.teamdev.jxbrowser.engine.ChromiumProcessStartupFailureException: Process exit code: 0
at com.teamdev.jxbrowser.engine.internal.EngineImpl.newInstance(EngineImpl.java:227)
at com.teamdev.jxbrowser.engine.Engine.newInstance(Engine.java:163)
at com.inductiveautomation.ignition.client.util.JxBrowserUtil.lambda$getOrCreateEngine$2(JxBrowserUtil.java:352)
at com.inductiveautomation.ignition.client.util.JxBrowserUtil.runResourceLockedAction(JxBrowserUtil.java:567)
at com.inductiveautomation.ignition.client.util.JxBrowserUtil.getOrCreateEngine(JxBrowserUtil.java:352)
at com.inductiveautomation.ignition.client.util.JxBrowserUtil.getOrCreateEngine(JxBrowserUtil.java:431)
at com.inductiveautomation.webbrowser.BrowserInstanceManager.startup(BrowserInstanceManager.java:36)
at com.inductiveautomation.factorypmi.application.FPMIApp.createApp(FPMIApp.java:335)
at com.inductiveautomation.factorypmi.designer.model.VisionDesignerImpl.createRoot(VisionDesignerImpl.java:711)
at com.inductiveautomation.factorypmi.designer.model.VisionDesignerImpl.startup(VisionDesignerImpl.java:371)
at com.inductiveautomation.ignition.designer.IgnitionDesigner$LoadedModule.startup(IgnitionDesigner.java:2004)
at com.inductiveautomation.ignition.designer.IgnitionDesigner.startupModule(IgnitionDesigner.java:1200)
at com.inductiveautomation.ignition.designer.IgnitionDesigner.loadProject(IgnitionDesigner.java:1003)
at com.inductiveautomation.ignition.designer.IgnitionDesigner$StartupProjectDialogHandler.lambda$new$2(IgnitionDesigner.java:2048)
at java.base/java.lang.Thread.run(Unknown Source)
11:12:23.752 [Designer-Startup] ERROR WebBrowser -- BrowserEngine was not initialized. Web Browser Component can not start!
11:12:24.072 [ForkJoinPool.commonPool-worker-1] INFO designer.IdpDesignerSplash -- IdP Proxy Web Server shut down in 20 seconds
11:12:25.289 [Designer-Startup] INFO designer.main -- Starting module: SFC [+13735]
11:12:25.877 [Designer-Startup] INFO designer.main -- Starting module: Event Streams [+14323]
11:12:25.969 [Designer-Startup] INFO designer.main -- Starting module: Reporting [+14415]
11:12:26.051 [Designer-Startup] INFO reporting.Designer -- Starting up Reporting Module. Mode: Trial
11:12:26.252 [Designer-Startup] INFO designer.main -- Starting module: Symbol Factory [+14698]
11:12:26.255 [Designer-Startup] INFO designer.main -- Starting module: Alarm Notification [+14701]
11:12:26.382 [Designer-Startup] INFO designer.main -- Starting module: OPC-UA [+14828]
11:12:26.382 [Designer-Startup] INFO designer.main -- Starting module: Enterprise Administration [+14828]
11:12:26.407 [Designer-Startup] INFO designer.main -- Starting module: Legacy DNP3 Driver [+14853]
11:12:26.407 [Designer-Startup] INFO designer.main -- Starting module: Historian Core [+14853]
11:12:26.407 [Designer-Startup] INFO designer.main -- Starting module: SQL Bridge [+14853]
11:12:26.721 [Designer-Startup] INFO designer.main -- Starting module: Kafka Connector [+15167]
11:12:26.728 [Designer-Startup] INFO designer.main -- Starting module: WebDev [+15174]
11:12:26.747 [Designer-Startup] INFO designer.main -- Initializing Scripting... [+15193]
11:12:26.805 [Designer-Startup] INFO designer.main -- Initializing UI... [+15251]
11:12:26.810 [Designer-Startup] INFO com.inductiveautomation.ignition.designer.querybrowser.QueryBrowser -- No default datasource set for project. Set default in gateway and relaunch project.
The Perspective module is missing because JXBrowser is failing to start.
com.teamdev.jxbrowser.engine.ChromiumProcessStartupFailureException: Process exit code: 0
The most frequent cause for this is AV/security software. Ignition 8.3 includes a newer version of JXBrowser/Chromium than 8.1 currently has, and it could be that this version has some false positive, some real CVE associated with it that the security software objects to, is missing from a whitelist your IT added the previous version to, etc...
Our IT department uninstalled Crowdstrike from my PC and I relaunched the designer, but the error message was still there. Are there any other recommended things to try?
It seems that running Ignition 8.3.1 or any version after that causes this issue. But if I run 8.3.0, perspective shows up as expected in the designer. I also attached a screenshot of 8.3.4 to verify the issue still exists in the newest released version. All these instances were ran as a container on my local laptop.
First, I enabled jxBrowser debugging via the JVM arguments -Dignition.client.jxBrowser.logLevel=DEBUG
That gave me the following error in the log
23:28:12.383 DEBUG [Chromium] [51508:23944:0417/162812.383:ERROR:chrome\browser\chrome_browser_main_win.cc:1025] Since version 138, Chromium launched with admin privileges will automatically remove the admin permissions and restart. The library does not support Chromium restarts. If you need to keep the admin permissions, use the `--do-not-de-elevate` switch.
23:28:12.418 DEBUG Chromium process exit code: 0
My installation is not set to run as admin, so I added the flag it says in the error to the same JVM arguments in the launcher
-Dignition.chromium.switch.do-not-de-elevate
And success! The designer is showing the perspective module now