# Edge Gateway fails to start

**URL:** <https://forum.inductiveautomation.com/t/edge-gateway-fails-to-start/68848>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [January 20, 2023, 1:25pm UTC](https://forum.inductiveautomation.com/t/edge-gateway-fails-to-start/68848 "2023-01-20T13:25:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jrod](https://avatars.discourse-cdn.com/v4/letter/j/e480ec/32.png) [@jrod](https://forum.inductiveautomation.com/u/jrod)\
**Post date:** [January 20, 2023, 1:25pm UTC](https://forum.inductiveautomation.com/t/edge-gateway-fails-to-start/68848/1 "2023-01-20T13:25:04Z")

</div>

I have an edge gateway installed (v8.1.3) on a Windows 10 PC. Yesterday I had the gateway and project running just fine. I restarted the PC, windows failed to start and brought up the windows recovery screen. I hit the restart button on the recovery screen and the PC restarted and booted up just fine. Since then the PC has been restarted numerous times without a problem. The problem now is that the Edge gateway never starts. If you go to the gateway web page it just Gateway is starting and never gets past that. Also, this PC is not able to receive Windows updates and Edge has been installed and working for a couple of months with a vision project.

I've attached the full log file, I believe the problem happens at or right around 2023/01/19 11:27:30

[wrapper.log](https://forum.inductiveautomation.com/uploads/short-url/ApY02oB59YJpxysOycQKSn1tKcW.log) (5.0 MB)

INFO | jvm 1 | 2023/01/19 11:27:29 | I [IgnitionGateway] [16:27:29]: Starting Ignition 8.1.3 (b2021030309)  
INFO | jvm 1 | 2023/01/19 11:27:29 | I [IgnitionGateway] [16:27:29]: Reloading JDBC classloader.  
INFO | jvm 1 | 2023/01/19 11:27:29 | I [o.a.w.p.h.WebApplication] [16:27:29]: [WicketFilter] Started Wicket version 6.30.0 in DEPLOYMENT mode  
INFO | jvm 1 | 2023/01/19 11:27:29 | I [R.S.S.InternalDb] [16:27:29]: Internal db synchronizer disk cache initialized. State id=9a6f3603-6b9c-4b52-87f2-56cb872d062d  
INFO | jvm 1 | 2023/01/19 11:27:29 | I [R.StateMonitoring] [16:27:29]: Redundancy state changed: Role=Independent, Activity level=Active, Project state=Good, History level=Full  
INFO | jvm 1 | 2023/01/19 11:27:29 | I [o.e.j.s.h.ContextHandler] [16:27:29]: Started c.i.c.MainWebAppContext@258e295a{Ignition,/,file:///C:/Users/HMI/Desktop/Ignition-Edge-windows-64-8.1.3/webserver/webapps/main/,AVAILABLE}  
INFO | jvm 1 | 2023/01/19 11:27:30 | I [o.e.j.s.AbstractConnector] [16:27:30]: Started ServerConnector@6e91e801{HTTP/1.1,[http/1.1]}{0.0.0.0:8088}  
INFO | jvm 1 | 2023/01/19 11:27:30 | WARNING: An illegal reflective access operation has occurred  
INFO | jvm 1 | 2023/01/19 11:27:30 | WARNING: Illegal reflective access by com.inductiveautomation.ignition.gateway.util.IgnitionSocketImplFactory (file:/C:/Users/HMI/Desktop/Ignition-Edge-windows-64-8.1.3/lib/core/gateway/gateway-8.1.3.jar) to constructor java.net.SocksSocketImpl()  
INFO | jvm 1 | 2023/01/19 11:27:30 | WARNING: Please consider reporting this to the maintainers of com.inductiveautomation.ignition.gateway.util.IgnitionSocketImplFactory  
INFO | jvm 1 | 2023/01/19 11:27:30 | WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations  
INFO | jvm 1 | 2023/01/19 11:27:30 | WARNING: All illegal access operations will be denied in a future release  
INFO | jvm 1 | 2023/01/19 11:27:30 | I [g.InternalDatabaseManager] [16:27:30]: Starting up...  
INFO | jvm 1 | 2023/01/19 11:27:30 | I [P.InternalDatabase] [16:27:30]: Looking for existing internal database "config.idb"...  
INFO | jvm 1 | 2023/01/19 11:27:30 | I [P.InternalDatabase] [16:27:30]: ... found existing.  
INFO | jvm 1 | 2023/01/19 11:27:30 | I [o.e.j.s.AbstractConnector] [16:27:30]: Started ServerConnector@2d54a9c3{SSL,[ssl, http/1.1]}{0.0.0.0:8060}  
INFO | jvm 1 | 2023/01/19 11:27:30 | I [o.e.j.s.Server] [16:27:30]: Started @6717ms  
INFO | jvm 1 | 2023/01/19 11:27:30 | I [P.InternalDatabase] [16:27:30]: internal database "config.idb" started up successfully.  
INFO | jvm 1 | 2023/01/19 11:27:30 | I [P.InternalDatabase] [16:27:30]: Registering autobackup task [owner=Internal DB Autobackup, name=internal database "config.idb"]  
INFO | jvm 1 | 2023/01/19 11:27:30 | E [C.BasicExecutionEngine] [16:27:30]: One-shot task com.inductiveautomation.ignition.gateway.IgnitionGateway$$Lambda$314/0x00000001003c9840@2cba80a7 threw uncaught exception.  
INFO | jvm 1 | 2023/01/19 11:27:30 | java.lang.InternalError: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.SSLContextImpl$DefaultSSLContext)  
INFO | jvm 1 | 2023/01/19 11:27:30 | at java.net.http/jdk.internal.net.http.HttpClientImpl.(Unknown Source)  
INFO | jvm 1 | 2023/01/19 11:27:30 | at java.net.http/jdk.internal.net.http.HttpClientImpl.create(Unknown Source)  
INFO | jvm 1 | 2023/01/19 11:27:30 | at java.net.http/jdk.internal.net.http.HttpClientBuilderImpl.build(Unknown Source)  
INFO | jvm 1 | 2023/01/19 11:27:30 | at com.inductiveautomation.ignition.gateway.licensing.LicenseManagerImpl.createLeasedActivationStrategy(LicenseManagerImpl.java:154)  
INFO | jvm 1 | 2023/01/19 11:27:30 | at com.inductiveautomation.ignition.gateway.licensing.LicenseManagerImpl.(LicenseManagerImpl.java:118)  
INFO | jvm 1 | 2023/01/19 11:27:30 | at com.inductiveautomation.ignition.gateway.modules.ModuleManagerImpl.init(ModuleManagerImpl.java:357)  
INFO | jvm 1 | 2023/01/19 11:27:30 | at com.inductiveautomation.ignition.gateway.IgnitionGateway.startupInternal(IgnitionGateway.java:865)  
INFO | jvm 1 | 2023/01/19 11:27:30 | at com.inductiveautomation.ignition.gateway.redundancy.RedundancyManagerImpl.startup(RedundancyManagerImpl.java:293)  
INFO | jvm 1 | 2023/01/19 11:27:30 | at com.inductiveautomation.ignition.gateway.IgnitionGateway.initRedundancy(IgnitionGateway.java:724)  
INFO | jvm 1 | 2023/01/19 11:27:30 | at com.inductiveautomation.ignition.gateway.IgnitionGateway.lambda$initInternal$0(IgnitionGateway.java:658)  
INFO | jvm 1 | 2023/01/19 11:27:30 | at com.inductiveautomation.ignition.common.execution.impl.BasicExecutionEngine$ThrowableCatchingRunnable.run(BasicExecutionEngine.java:538)  
INFO | jvm 1 | 2023/01/19 11:27:30 | at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)  
INFO | jvm 1 | 2023/01/19 11:27:30 | at java.base/java.util.concurrent.FutureTask.run(Unknown Source)  
INFO | jvm 1 | 2023/01/19 11:27:30 | at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)  
INFO | jvm 1 | 2023/01/19 11:27:30 | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)  
INFO | jvm 1 | 2023/01/19 11:27:30 | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)  
INFO | jvm 1 | 2023/01/19 11:27:30 | at java.base/java.lang.Thread.run(Unknown Source)  
INFO | jvm 1 | 2023/01/19 11:27:30 | Caused by: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.SSLContextImpl$DefaultSSLContext)  
INFO | jvm 1 | 2023/01/19 11:27:30 | at java.base/java.security.Provider$Service.newInstance(Unknown Source)

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [January 20, 2023, 2:00pm UTC](https://forum.inductiveautomation.com/t/edge-gateway-fails-to-start/68848/2 "2023-01-20T14:00:10Z")

</div>

That's not the only possible fatal error, but the situation isn't clear. I suspect the event that caused Windows to go through the Recovery process also corrupted the Ignition install. You very likely need to re-install.

---

<div class="post-metadata">

**Author:** ![avaughn](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/avaughn/32/38972_2.png) [@avaughn](https://forum.inductiveautomation.com/u/avaughn)\
**Post date:** [January 20, 2023, 2:14pm UTC](https://forum.inductiveautomation.com/t/edge-gateway-fails-to-start/68848/3 "2023-01-20T14:14:57Z")

</div>

This looks familiar. I believe the trust store was corrupted. You should be able to follow the steps below to get back into a working state.

1. Navigate to the `C:\Program Files\Inductive Automation\Ignition\lib\runtime\jre-win\lib\security` directory.
2. Make a copy of the cacerts and cacerts.bak files and place in another directory. (They shouldn't be needed but I like to make copies before deleting files)
3. Delete the cacerts file from its original directory.
4. Re-name the cacerts.bak file to cacerts.
5. Use the stop-ignition.bat file to stop the Ignition service.
6. Use the start-ignition.bat file to start the Ignition service again.

For steps 5 and 6, you can also stop/start the service from Windows Services.

---

<div class="post-metadata">

**Author:** ![jrod](https://avatars.discourse-cdn.com/v4/letter/j/e480ec/32.png) [@jrod](https://forum.inductiveautomation.com/u/jrod)\
**Post date:** [January 20, 2023, 2:40pm UTC](https://forum.inductiveautomation.com/t/edge-gateway-fails-to-start/68848/4 "2023-01-20T14:40:32Z")

</div>

That did the trick. Thank you so much!
