# Ignition OPC UA Server Faulted and wont reset

**URL:** <https://forum.inductiveautomation.com/t/ignition-opc-ua-server-faulted-and-wont-reset/66943>\
**Category:** Ignition\
**Created:** [November 26, 2022, 9:29am UTC](https://forum.inductiveautomation.com/t/ignition-opc-ua-server-faulted-and-wont-reset/66943 "2022-11-26T09:29:55Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bradley\_Munro](https://avatars.discourse-cdn.com/v4/letter/b/e19adc/32.png) [@Bradley\_Munro](https://forum.inductiveautomation.com/u/Bradley_Munro)\
**Post date:** [November 26, 2022, 9:29am UTC](https://forum.inductiveautomation.com/t/ignition-opc-ua-server-faulted-and-wont-reset/66943/1 "2022-11-26T09:29:55Z")

</div>

My Ignition was working fine yesterday.  
After shutting down and then starting up today to further create screens etc, I now get the following message on the Ignition OPC UA Server.

UaException: status=Bad\_Timeout, message=timed out waiting for acknowledge  
at org.eclipse.milo.opcua.stack.client.transport.uasc.UascClientAcknowledgeHandler.lambda$startHelloTimeout$0(UascClientAcknowledgeHandler.java:134)  
at io.netty.util.HashedWheelTimer$HashedWheelTimeout.run(HashedWheelTimer.java:715)  
at io.netty.util.concurrent.ImmediateExecutor.execute(ImmediateExecutor.java:34)  
at io.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:703)  
at io.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:790)  
at io.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:503)  
at java.base/java.lang.Thread.run(Unknown Source)

8.1.22 (b2022110109)  
Azul Systems, Inc. 11.0.16.1

I have tried restarting the OPC UA server and still comes up the same and won't go out of faulted state.

---

<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:** [November 27, 2022, 7:18pm UTC](https://forum.inductiveautomation.com/t/ignition-opc-ua-server-faulted-and-wont-reset/66943/2 "2022-11-27T19:18:34Z")

</div>

If you check the logs around the time of a module or gateway restart do you see a message about a failed bind to the default OPC-UA port, 62541? It sounds like the OPC-UA Server may not be listening

---

<div class="post-metadata">

**Author:** ![Bradley\_Munro](https://avatars.discourse-cdn.com/v4/letter/b/e19adc/32.png) [@Bradley\_Munro](https://forum.inductiveautomation.com/u/Bradley_Munro)\
**Post date:** [November 28, 2022, 8:03am UTC](https://forum.inductiveautomation.com/t/ignition-opc-ua-server-faulted-and-wont-reset/66943/3 "2022-11-28T08:03:40Z")

</div>

Thank you for the response, no I cant find one. The first message I can find is about this:

_UascServerHelloHandler 26Nov2022 08:32:35 [remote=/127.0.0.1:59470] Exception caught; sent ErrorMessage{error=StatusCode{name=Bad\_UnexpectedError, value=0x80010000, quality=bad}, reason=Direct buffer memory}_

_java.lang.OutOfMemoryError: Direct buffer memory_

_at java.base/java.nio.Bits.reserveMemory(Unknown Source)_

_at java.base/java.nio.DirectByteBuffer.(Unknown Source)_

_at java.base/java.nio.ByteBuffer.allocateDirect(Unknown Source)_

_at io.netty.buffer.PoolArena$DirectArena.allocateDirect(PoolArena.java:649)_

_at io.netty.buffer.PoolArena$DirectArena.newChunk(PoolArena.java:624)_

_at io.netty.buffer.PoolArena.allocateNormal(PoolArena.java:203)_

_at io.netty.buffer.PoolArena.tcacheAllocateSmall(PoolArena.java:173)_

_at io.netty.buffer.PoolArena.allocate(PoolArena.java:134)_

_at io.netty.buffer.PoolArena.allocate(PoolArena.java:126)_

_at io.netty.buffer.PooledByteBufAllocator.newDirectBuffer(PooledByteBufAllocator.java:396)_

_at io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:188)_

_at io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:179)_

_at io.netty.buffer.AbstractByteBufAllocator.ioBuffer(AbstractByteBufAllocator.java:140)_

_at io.netty.channel.DefaultMaxMessagesRecvByteBufAllocator$MaxMessageHandle.allocate(DefaultMaxMessagesRecvByteBufAllocator.java:120)_

_at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:150)_

_at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:722)_

_at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:658)_

_at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:584)_

_at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:496)_

_at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:995)_

_at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)_

_at java.base/java.lang.Thread.run(Unknown Source)_

I managed to restart the gateway and it came good.  
Why would it throw an error after working ok without having made any changes?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [November 28, 2022, 12:55pm UTC](https://forum.inductiveautomation.com/t/ignition-opc-ua-server-faulted-and-wont-reset/66943/4 "2022-11-28T12:55:29Z")

</div>

Has somebody been restarting the OPC UA module or is this an Ignition Edge gateway that has had the trial reset a number of times?

---

<div class="post-metadata">

**Author:** ![Bradley\_Munro](https://avatars.discourse-cdn.com/v4/letter/b/e19adc/32.png) [@Bradley\_Munro](https://forum.inductiveautomation.com/u/Bradley_Munro)\
**Post date:** [November 28, 2022, 1:06pm UTC](https://forum.inductiveautomation.com/t/ignition-opc-ua-server-faulted-and-wont-reset/66943/5 "2022-11-28T13:06:42Z")

</div>

It is an Edge gateway trial that has been reset a few times. Is this common when doing this?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [November 28, 2022, 1:11pm UTC](https://forum.inductiveautomation.com/t/ignition-opc-ua-server-faulted-and-wont-reset/66943/6 "2022-11-28T13:11:32Z")

</div>

Some "known" issues where the OPC UA module can leak memory when restarted, and resetting the Edge trial also restarts the OPC UA module right now.

---

<div class="post-metadata">

**Author:** ![Bradley\_Munro](https://avatars.discourse-cdn.com/v4/letter/b/e19adc/32.png) [@Bradley\_Munro](https://forum.inductiveautomation.com/u/Bradley_Munro)\
**Post date:** [November 28, 2022, 1:12pm UTC](https://forum.inductiveautomation.com/t/ignition-opc-ua-server-faulted-and-wont-reset/66943/7 "2022-11-28T13:12:55Z")

</div>

Ok no worries, thank you for the information. At least I know the cause now (and what to do to rectify in the mean time).

---

<div class="post-metadata">

**Author:** ![EEI-aloar](https://avatars.discourse-cdn.com/v4/letter/e/f4b2a3/32.png) [@EEI-aloar](https://forum.inductiveautomation.com/u/EEI-aloar)\
**Post date:** [April 3, 2023, 9:46pm UTC](https://forum.inductiveautomation.com/t/ignition-opc-ua-server-faulted-and-wont-reset/66943/8 "2023-04-03T21:46:22Z")

</div>

I am having this same issue. What is the resolution?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [April 3, 2023, 9:56pm UTC](https://forum.inductiveautomation.com/t/ignition-opc-ua-server-faulted-and-wont-reset/66943/9 "2023-04-03T21:56:57Z")

</div>

If it's actually the same issue then the immediate fix would be a gateway restart.

If not then a new topic with a lot more information, or a call to support, is in order.

---

<div class="post-metadata">

**Author:** ![EEI-aloar](https://avatars.discourse-cdn.com/v4/letter/e/f4b2a3/32.png) [@EEI-aloar](https://forum.inductiveautomation.com/u/EEI-aloar)\
**Post date:** [April 4, 2023, 12:18pm UTC](https://forum.inductiveautomation.com/t/ignition-opc-ua-server-faulted-and-wont-reset/66943/10 "2023-04-04T12:18:27Z")

</div>

Thanks for the quick reply. I have a faulted OPC UA Server with the same fault information as the OP with different software versions. It's a Windows 10 PC with Ignition Edge. Restarting the OPC UA module did not help, and restarting the gateway did not help either.

\*UaException: status=Bad\_Timeout, message=timed out waiting for acknowledge  
at org.eclipse.milo.opcua.stack.client.transport.uasc.UascClientAcknowledgeHandler.lambda$startHelloTimeout$0(UascClientAcknowledgeHandler.java:134)  
at io.netty.util.HashedWheelTimer$HashedWheelTimeout.run(HashedWheelTimer.java:715)  
at io.netty.util.concurrent.ImmediateExecutor.execute(ImmediateExecutor.java:34)  
at io.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:703)  
at io.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:790)  
at io.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:503)  
at java.base/java.lang.Thread.run(Unknown Source)

8.1.25 (b2023021409)  
Azul Systems, Inc. 11.0.17\*

---

<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:** [April 4, 2023, 12:25pm UTC](https://forum.inductiveautomation.com/t/ignition-opc-ua-server-faulted-and-wont-reset/66943/11 "2023-04-04T12:25:17Z")

</div>

So, not the same issue. I suggest you follow Kevin's instructions.

---

<div class="post-metadata">

**Author:** ![Bradley\_Munro](https://avatars.discourse-cdn.com/v4/letter/b/e19adc/32.png) [@Bradley\_Munro](https://forum.inductiveautomation.com/u/Bradley_Munro)\
**Post date:** [April 4, 2023, 12:37pm UTC](https://forum.inductiveautomation.com/t/ignition-opc-ua-server-faulted-and-wont-reset/66943/12 "2023-04-04T12:37:55Z")

</div>

I found when I had my issue - using the "Stop-ignition" Batch file and "Start-ignition" Batch files in the Ignition folder under program files to help. Otherwise stopping and starting the service "Ignition" in services.msc under "Run" of windows to help.

---

<div class="post-metadata">

**Author:** ![EEI-aloar](https://avatars.discourse-cdn.com/v4/letter/e/f4b2a3/32.png) [@EEI-aloar](https://forum.inductiveautomation.com/u/EEI-aloar)\
**Post date:** [April 4, 2023, 1:04pm UTC](https://forum.inductiveautomation.com/t/ignition-opc-ua-server-faulted-and-wont-reset/66943/13 "2023-04-04T13:04:44Z")

</div>

Based on your comment I must be missing something. It's the same error so I don't understand how it's not the same issue.

I did restart both the module and gateways per Kevin and mentioned above those things did not work.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [April 4, 2023, 1:07pm UTC](https://forum.inductiveautomation.com/t/ignition-opc-ua-server-faulted-and-wont-reset/66943/14 "2023-04-04T13:07:32Z")

</div>

I think we're both more fixated on the follow up error he posted from the logs.

Can you upload your logs here? As well as screenshots of your OPC UA server settings and the loopback OPC UA connection settings?

---

<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:** [April 4, 2023, 1:13pm UTC](https://forum.inductiveautomation.com/t/ignition-opc-ua-server-faulted-and-wont-reset/66943/15 "2023-04-04T13:13:14Z")

</div>

> [@EEI-aloar](#):
>
> It's the same error

It is an error that is a very generic "something's wrong". The OP was instructed to look for (and found) the real error. Your error isn't going away with restart, so it definitely isn't the same real error. Kevin had specific instructions for that case.

---

<div class="post-metadata">

**Author:** ![EEI-aloar](https://avatars.discourse-cdn.com/v4/letter/e/f4b2a3/32.png) [@EEI-aloar](https://forum.inductiveautomation.com/u/EEI-aloar)\
**Post date:** [April 4, 2023, 1:19pm UTC](https://forum.inductiveautomation.com/t/ignition-opc-ua-server-faulted-and-wont-reset/66943/16 "2023-04-04T13:19:18Z")

</div>

UascServerHelloHandler

[remote=/127.0.0.1:53899] Exception caught; sent ErrorMessage{error=StatusCode{name=Bad\_UnexpectedError, value=0x80010000, quality=bad}, reason=Direct buffer memory}

java.lang.OutOfMemoryError: Direct buffer memory

at java.base/java.nio.Bits.reserveMemory(Unknown Source)

at java.base/java.nio.DirectByteBuffer.(Unknown Source)

at java.base/java.nio.ByteBuffer.allocateDirect(Unknown Source)

at io.netty.buffer.PoolArena$DirectArena.allocateDirect(PoolArena.java:649)

at io.netty.buffer.PoolArena$DirectArena.newChunk(PoolArena.java:624)

at io.netty.buffer.PoolArena.allocateNormal(PoolArena.java:203)

at io.netty.buffer.PoolArena.tcacheAllocateSmall(PoolArena.java:173)

at io.netty.buffer.PoolArena.allocate(PoolArena.java:134)

at io.netty.buffer.PoolArena.allocate(PoolArena.java:126)

at io.netty.buffer.PooledByteBufAllocator.newDirectBuffer(PooledByteBufAllocator.java:396)

at io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:188)

at io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:179)

at io.netty.buffer.AbstractByteBufAllocator.ioBuffer(AbstractByteBufAllocator.java:140)

at io.netty.channel.DefaultMaxMessagesRecvByteBufAllocator$MaxMessageHandle.allocate(DefaultMaxMessagesRecvByteBufAllocator.java:120)

at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:150)

at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:722)

at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:658)

at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:584)

at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:496)

at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:995)

at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)

at java.base/java.lang.Thread.run(Unknown Source)

The OPC UA server and loopback connection settings are all default.

---

<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:** [April 4, 2023, 1:24pm UTC](https://forum.inductiveautomation.com/t/ignition-opc-ua-server-faulted-and-wont-reset/66943/17 "2023-04-04T13:24:52Z")

</div>

Try giving Ignition a larger memory allotment (in `ignition.conf`).

---

<div class="post-metadata">

**Author:** ![EEI-aloar](https://avatars.discourse-cdn.com/v4/letter/e/f4b2a3/32.png) [@EEI-aloar](https://forum.inductiveautomation.com/u/EEI-aloar)\
**Post date:** [April 4, 2023, 2:08pm UTC](https://forum.inductiveautomation.com/t/ignition-opc-ua-server-faulted-and-wont-reset/66943/18 "2023-04-04T14:08:11Z")

</div>

I doubled the initial and max heap memory allotments, restarted ignition, and it doesn't seem to have changed anything.

---

<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:** [April 4, 2023, 2:09pm UTC](https://forum.inductiveautomation.com/t/ignition-opc-ua-server-faulted-and-wont-reset/66943/19 "2023-04-04T14:09:07Z")

</div>

Sounds like time to call support and have them look over your shoulder.

---

<div class="post-metadata">

**Author:** ![EEI-aloar](https://avatars.discourse-cdn.com/v4/letter/e/f4b2a3/32.png) [@EEI-aloar](https://forum.inductiveautomation.com/u/EEI-aloar)\
**Post date:** [April 4, 2023, 2:20pm UTC](https://forum.inductiveautomation.com/t/ignition-opc-ua-server-faulted-and-wont-reset/66943/20 "2023-04-04T14:20:23Z")

</div>

Seems like. Thanks for your time and help.

[Next page](https://forum.inductiveautomation.com/t/ignition-opc-ua-server-faulted-and-wont-reset/66943.md?page=2)
