# Internal Error when try to connect internal opc UA

**URL:** <https://forum.inductiveautomation.com/t/internal-error-when-try-to-connect-internal-opc-ua/29727>\
**Category:** Ignition Early Access\
**Created:** [November 6, 2019, 5:22pm UTC](https://forum.inductiveautomation.com/t/internal-error-when-try-to-connect-internal-opc-ua/29727 "2019-11-06T17:22:09Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [November 6, 2019, 5:22pm UTC](https://forum.inductiveautomation.com/t/internal-error-when-try-to-connect-internal-opc-ua/29727/1 "2019-11-06T17:22:09Z")

</div>

Hello  
I setup OPC UA server of ignition as below:

 ![opc%20ua%20setup](https://us1.discourse-cdn.com/inductiveautomation/original/2X/3/3c938cdab16e43c04fed2a70b79238b777ad1ac0.jpeg)  
But when I try to define new OPC client connection (opc.tcp://localhost:62541/discovery) in ignition I get internal error:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/6/6c924d5e59c28905030dd0cb6925afc2578fc3b2.png)  
and this one when use opc.tcp://10.3.141.1:62541/discovery. The 10.3.141.1 is my IP address of the network card.  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/f/fe4f59b505c17a3d629332e7b72819b9b9f07df0.png)

This happen after I try to enable expose tag in ignition OPC UA server.  
I use v8.0.6RC1.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [November 6, 2019, 5:41pm UTC](https://forum.inductiveautomation.com/t/internal-error-when-try-to-connect-internal-opc-ua/29727/2 "2019-11-06T17:41:20Z")

</div>

Can you go to the gateway logs and see what error is being logged when you get that ‘Internal Error’ page?

---

<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 6, 2019, 5:53pm UTC](https://forum.inductiveautomation.com/t/internal-error-when-try-to-connect-internal-opc-ua/29727/3 "2019-11-06T17:53:19Z")

</div>

You need to add that IP address as a Bind Address as well.

edit: or, better if you intend to allow connections from other machines, just use 0.0.0.0 as a bind address.

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [November 6, 2019, 6:20pm UTC](https://forum.inductiveautomation.com/t/internal-error-when-try-to-connect-internal-opc-ua/29727/4 "2019-11-06T18:20:01Z")

</div>

Hi  
I did that before and get OK connection with other PC as I told this error happen suddenly after I reset my device. I delete my opc connection and reset my device and create new one.  
here is my log:  
[Raspberry PI\_Ignition\_logs\_20191106-2145.idb](https://us1.discourse-cdn.com/inductiveautomation/original/2X/3/36205e9e6a5616188f37cf54a7ddf5062ee7a26b.idb) (1.8 MB)

```auto
org.apache.wicket.markup.MarkupNotFoundException: Markup of type 'html' for component 'com.inductiveautomation.ignition.gateway.opcua.client.connection.web.discovery.wizardsteps.ChooseDiscoveryServerStep' not found. Enable debug messages for org.apache.wicket.util.resource to get a list of all filenames tried: [ChooseDiscoveryServerStep [Component id = view]]

at org.apache.wicket.MarkupContainer.getAssociatedMarkup(MarkupContainer.java:426)

at org.apache.wicket.markup.html.panel.AssociatedMarkupSourcingStrategy.getMarkup(AssociatedMarkupSourcingStrategy.java:94)

at org.apache.wicket.MarkupContainer.getMarkup(MarkupContainer.java:447)

at org.apache.wicket.Component.getMarkup(Component.java:742)

at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.getMarkup(DefaultMarkupSourcingStrategy.java:82)

at org.apache.wicket.MarkupContainer.getMarkup(MarkupContainer.java:447)

at org.apache.wicket.Component.getMarkup(Component.java:742)

at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.getMarkup(DefaultMarkupSourcingStrategy.java:82)

at org.apache.wicket.MarkupContainer.getMarkup(MarkupContainer.java:447)

at org.apache.wicket.Component.getMarkup(Component.java:742)

at org.apache.wicket.markup.html.list.ListView.getMarkup(ListView.java:664)

at org.apache.wicket.Component.getMarkup(Component.java:742)

at org.apache.wicket.Component.getMarkupTag(Component.java:1379)

at org.apache.wicket.Component.getMarkupIdFromMarkup(Component.java:751)

at org.apache.wicket.Component.getMarkupIdImpl(Component.java:1436)

at org.apache.wicket.Component.getMarkupId(Component.java:1464)

at org.apache.wicket.Component.getMarkupId(Component.java:1534)

at com.inductiveautomation.ignition.gateway.opcua.client.connection.web.discovery.wizardsteps.ChooseDiscoveryServerStep$1.populateItem(ChooseDiscoveryServerStep.java:56)

at org.apache.wicket.markup.html.list.ListView.onPopulate(ListView.java:524)

at org.apache.wicket.markup.repeater.AbstractRepeater.onBeforeRender(AbstractRepeater.java:116)

at org.apache.wicket.Component.internalBeforeRender(Component.java:922)

at org.apache.wicket.Component.beforeRender(Component.java:990)

at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1680)

at org.apache.wicket.Component.onBeforeRender(Component.java:3830)

at org.apache.wicket.Component.internalBeforeRender(Component.java:922)

at org.apache.wicket.Component.beforeRender(Component.java:990)

at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1680)

at org.apache.wicket.Component.onBeforeRender(Component.java:3830)

at org.apache.wicket.markup.html.form.Form.onBeforeRender(Form.java:1734)

at org.apache.wicket.Component.internalBeforeRender(Component.java:922)

at org.apache.wicket.Component.beforeRender(Component.java:990)

at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1680)

at org.apache.wicket.Component.onBeforeRender(Component.java:3830)

at org.apache.wicket.Component.internalBeforeRender(Component.java:922)

at org.apache.wicket.Component.beforeRender(Component.java:990)

at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1680)

at org.apache.wicket.Component.onBeforeRender(Component.java:3830)

at org.apache.wicket.markup.html.form.Form.onBeforeRender(Form.java:1734)

at org.apache.wicket.Component.internalBeforeRender(Component.java:922)

at org.apache.wicket.Component.beforeRender(Component.java:990)

at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1680)

at org.apache.wicket.Component.onBeforeRender(Component.java:3830)

at org.apache.wicket.extensions.wizard.Wizard.onBeforeRender(Wizard.java:332)

at org.apache.wicket.Component.internalBeforeRender(Component.java:922)

at org.apache.wicket.Component.beforeRender(Component.java:990)

at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1680)

at org.apache.wicket.Component.onBeforeRender(Component.java:3830)

at org.apache.wicket.Component.internalBeforeRender(Component.java:922)

at org.apache.wicket.Component.beforeRender(Component.java:990)

at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1680)

at org.apache.wicket.Component.onBeforeRender(Component.java:3830)

at org.apache.wicket.Page.onBeforeRender(Page.java:802)

at com.inductiveautomation.ignition.gateway.web.pages.BasePage.onBeforeRender(BasePage.java:291)

at com.inductiveautomation.ignition.gateway.web.pages.AuthenticatedPage.onBeforeRender(AuthenticatedPage.java:96)

at org.apache.wicket.Component.internalBeforeRender(Component.java:922)

at org.apache.wicket.Component.beforeRender(Component.java:990)

at org.apache.wicket.Component.internalPrepareForRender(Component.java:2204)

at org.apache.wicket.Page.internalPrepareForRender(Page.java:247)

at org.apache.wicket.Component.render(Component.java:2289)

at org.apache.wicket.Page.renderPage(Page.java:1021)

at org.apache.wicket.request.handler.render.WebPageRenderer.renderPage(WebPageRenderer.java:116)

at org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:244)

at org.apache.wicket.core.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:165)

at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:814)

at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)

at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:97)

at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:253)

at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:210)

at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:281)

at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:188)

at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:245)

at com.inductiveautomation.ignition.gateway.bootstrap.GatewayFilter.doFilter(GatewayFilter.java:74)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1629)

at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:533)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)

at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)

at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:190)

at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595)

at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188)

at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253)

at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168)

at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473)

at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564)

at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166)

at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)

at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:61)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)

at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:335)

at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:61)

at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)

at org.eclipse.jetty.server.Server.handle(Server.java:530)

at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:347)

at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:256)

at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279)

at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:102)

at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124)

at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:247)

at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:140)

at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)

at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:382)

at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:708)

at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:626)

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

Caused by: org.apache.wicket.WicketRuntimeException: Expected to find in base markup: jar:file:/usr/local/ignition/data/jar-cache/com.inductiveautomation.opcua/ __1526797994__ opc-ua-gateway-8.0.6-rc1.jar!/com/inductiveautomation/ignition/gateway/opcua/client/connection/web/discovery/wizardsteps/AbstractDiscoveryWizardStep.html

at org.apache.wicket.markup.MergedMarkup.merge(MergedMarkup.java:246)

at org.apache.wicket.markup.MergedMarkup.(MergedMarkup.java:85)

at org.apache.wicket.markup.loader.InheritedMarkupMarkupLoader.loadMarkup(InheritedMarkupMarkupLoader.java:82)

at org.apache.wicket.markup.loader.DefaultMarkupLoader.loadMarkup(DefaultMarkupLoader.java:52)

at org.apache.wicket.markup.MarkupFactory.loadMarkup(MarkupFactory.java:412)

at org.apache.wicket.markup.MarkupCache.loadMarkup(MarkupCache.java:448)

at org.apache.wicket.markup.MarkupCache.loadMarkupAndWatchForChanges(MarkupCache.java:541)

at org.apache.wicket.markup.MarkupCache.getMarkup(MarkupCache.java:305)

at org.apache.wicket.markup.MarkupFactory.getMarkup(MarkupFactory.java:236)

at org.apache.wicket.markup.MarkupFactory.getMarkup(MarkupFactory.java:194)

at org.apache.wicket.MarkupContainer.getAssociatedMarkup(MarkupContainer.java:401)

... 105 common frames omitted

```

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [November 6, 2019, 6:22pm UTC](https://forum.inductiveautomation.com/t/internal-error-when-try-to-connect-internal-opc-ua/29727/5 "2019-11-06T18:22:03Z")

</div>

`another error log:

> Error while reading the markup jar:file:/usr/local/ignition/data/jar-cache/com.inductiveautomation.opcua/\_\_1526797994\_\_opc-ua-gateway-8.0.6-rc1.jar!/com/inductiveautomation/ignition/gateway/opcua/client/connection/web/discovery/wizardsteps/ChooseDiscoveryServerStep.html

> `java.util.concurrent.ExecutionException: UaException: status=Bad\_ConnectionRejected, message=io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: /10.3.141.1:62541
> 
> at java.base/java.util.concurrent.CompletableFuture.reportGet(Unknown Source)
> 
> at java.base/java.util.concurrent.CompletableFuture.get(Unknown Source)
> 
> at com.inductiveautomation.ignition.gateway.opcua.client.connection.web.discovery.wizardsteps.DiscoveryServerLookupStep.findServers(DiscoveryServerLookupStep.java:106)
> 
> at com.inductiveautomation.ignition.gateway.opcua.client.connection.web.discovery.wizardsteps.DiscoveryServerLookupStep.next(DiscoveryServerLookupStep.java:87)
> 
> at org.apache.wicket.extensions.wizard.dynamic.DynamicWizardModel.next(DynamicWizardModel.java:126)
> 
> at com.inductiveautomation.ignition.gateway.opcua.client.connection.web.discovery.EndpointWizardButtonBar$NextButton.onClick(EndpointWizardButtonBar.java:28)
> 
> at org.apache.wicket.extensions.wizard.WizardButton.onSubmit(WizardButton.java:88)
> 
> at org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:1237)
> 
> at org.apache.wicket.markup.html.form.Form.process(Form.java:923)
> 
> at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:769)
> 
> at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:702)
> 
> at jdk.internal.reflect.GeneratedMethodAccessor36.invoke(Unknown Source)
> 
> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> 
> at java.base/java.lang.reflect.Method.invoke(Unknown Source)
> 
> at org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:258)
> 
> at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:216)
> 
> at org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.invokeListener(ListenerInterfaceRequestHandler.java:240)
> 
> at org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:226)
> 
> at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:814)
> 
> at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
> 
> at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:253)
> 
> at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:210)
> 
> at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:281)
> 
> at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:188)
> 
> at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:245)
> 
> at com.inductiveautomation.ignition.gateway.bootstrap.GatewayFilter.doFilter(GatewayFilter.java:74)
> 
> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1629)
> 
> at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:533)
> 
> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
> 
> at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
> 
> at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
> 
> at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:190)
> 
> at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595)
> 
> at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188)
> 
> at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253)
> 
> at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168)
> 
> at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473)
> 
> at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564)
> 
> at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166)
> 
> at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155)
> 
> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
> 
> at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:61)
> 
> at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
> 
> at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:335)
> 
> at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:61)
> 
> at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126)
> 
> at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
> 
> at org.eclipse.jetty.server.Server.handle(Server.java:530)
> 
> at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:347)
> 
> at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:256)
> 
> at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279)
> 
> at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:102)
> 
> at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124)
> 
> at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:247)
> 
> at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:140)
> 
> at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
> 
> at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:382)
> 
> at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:708)
> 
> at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:626)
> 
> at java.base/java.lang.Thread.run(Unknown Source)
> 
> Caused by: org.eclipse.milo.opcua.stack.core.UaException: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: /10.3.141.1:62541
> 
> at org.eclipse.milo.opcua.stack.client.transport.uasc.ClientChannelFsm$ClientChannelActions.lambda$connect$0(ClientChannelFsm.java:130)
> 
> at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:502)
> 
> at io.netty.util.concurrent.DefaultPromise.notifyListeners0(DefaultPromise.java:495)
> 
> at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:474)
> 
> at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:415)
> 
> at io.netty.util.concurrent.DefaultPromise.setValue0(DefaultPromise.java:540)
> 
> at io.netty.util.concurrent.DefaultPromise.setFailure0(DefaultPromise.java:533)
> 
> at io.netty.util.concurrent.DefaultPromise.tryFailure(DefaultPromise.java:114)
> 
> at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.fulfillConnectPromise(AbstractNioChannel.java:327)
> 
> at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:343)
> 
> at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:665)
> 
> at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:612)
> 
> at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:529)
> 
> at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:491)
> 
> at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:905)
> 
> ... 1 common frames omitted
> 
> Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: /10.3.141.1:62541
> 
> at java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
> 
> at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source)
> 
> at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:327)
> 
> at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:340)
> 
> ... 6 common frames omitted
> 
> Caused by: java.net.ConnectException: Connection refused
> 
> ... 10 common frames omitted

---

<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 6, 2019, 6:43pm UTC](https://forum.inductiveautomation.com/t/internal-error-when-try-to-connect-internal-opc-ua/29727/6 "2019-11-06T18:43:21Z")

</div>

Did you fix the “Bind Addresses” setting for the OPC UA server and restart yet?

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [November 6, 2019, 6:52pm UTC](https://forum.inductiveautomation.com/t/internal-error-when-try-to-connect-internal-opc-ua/29727/7 "2019-11-06T18:52:48Z")

</div>

No, first I did reset and every thing working for now. and after that I add that.  
This problem happens today two time for me, specially after reset the device.  
I As docs said IA make discovery extremely hard compare to 7.9.  
I will update post if this problem happens again.

---

<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 6, 2019, 6:56pm UTC](https://forum.inductiveautomation.com/t/internal-error-when-try-to-connect-internal-opc-ua/29727/8 "2019-11-06T18:56:31Z")

</div>

> [@nader.chinichian](#):
>
> specially after reset the device.

Is your devices IP address changing or something? I'm not sure I understand what you're doing to trigger this.

If this is an OPC UA connection to the local server why are you using anything but localhost?

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [November 6, 2019, 7:02pm UTC](https://forum.inductiveautomation.com/t/internal-error-when-try-to-connect-internal-opc-ua/29727/9 "2019-11-06T19:02:05Z")

</div>

No it’s dedicated.

I use both. I try to connect ignition to node red in Raspberry PI locally and I see some difficulty so I try first connect first ignition to kepware Opc UA client on another computer. At this time after I reset my device I notice the internal OPC UA connection that is made default my ignition is faulty.  
May this because of missing bind address.  
Now it work for the time.
