# Extremely Slow opc.browse even when connection is fine

**URL:** <https://forum.inductiveautomation.com/t/extremely-slow-opc-browse-even-when-connection-is-fine/35357>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [June 5, 2020, 1:17pm UTC](https://forum.inductiveautomation.com/t/extremely-slow-opc-browse-even-when-connection-is-fine/35357 "2020-06-05T13:17:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kgamble](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kgamble/32/8019_2.png) [@kgamble](https://forum.inductiveautomation.com/u/kgamble)\
**Post date:** [June 5, 2020, 1:17pm UTC](https://forum.inductiveautomation.com/t/extremely-slow-opc-browse-even-when-connection-is-fine/35357/1 "2020-06-05T13:17:43Z")

</div>

I am using the 8.0.14 nightly, and seem to be having some troubles with a simple OPC Browse

I am trying to look through the folder that I have highlighted, and my script takes absolutely ages to run and then just times out.

Is there some simple thing that I am missing here?

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/c/c00f0cefca10dc8994ae49367ae512f3924e5e55.png)

EDIT: Also tested this on 8.0.12 with another gateway, same issue

---

<div class="post-metadata">

**Author:** ![kgamble](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kgamble/32/8019_2.png) [@kgamble](https://forum.inductiveautomation.com/u/kgamble)\
**Post date:** [June 5, 2020, 1:38pm UTC](https://forum.inductiveautomation.com/t/extremely-slow-opc-browse-even-when-connection-is-fine/35357/2 "2020-06-05T13:38:35Z")

</div>

Even if I add the SLC simulator and run the same example listed in the docs, it does the same thing and eventually times out.  
[https://docs.inductiveautomation.com/display/DOC80/system.opc.browseSimple](https://docs.inductiveautomation.com/display/DOC80/system.opc.browseSimple)

You also cant interrupt it or it will just continue until it times out anyway.

---

<div class="post-metadata">

**Author:** ![MMaynard](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mmaynard/32/3366_2.png) [@MMaynard](https://forum.inductiveautomation.com/u/MMaynard)\
**Post date:** [June 5, 2020, 3:02pm UTC](https://forum.inductiveautomation.com/t/extremely-slow-opc-browse-even-when-connection-is-fine/35357/3 "2020-06-05T15:02:50Z")

</div>

We use browseServer for something like this.

> [@OPC Browse Tree](http://forum.inductiveautomation.com/t/opc-browse-tree/12291):
>
> Hi everyone, Besides dragging items from the OPC Browser into the Tag Browser and then using the Tag Browse Tree component is there any other way to give a client the ability to browse OPC tags? I’m thinking it’s possible with some logic, a bunch of system.opc.browse commands, and a tree view component but didn’t want to write all that if there was something obvious I missed. Thanks, Steve

Steve wrote and documented a nice piece of code for it in the above thread.

---

<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:** [June 5, 2020, 3:25pm UTC](https://forum.inductiveautomation.com/t/extremely-slow-opc-browse-even-when-connection-is-fine/35357/4 "2020-06-05T15:25:16Z")

</div>

Something does seem wrong with this function right now. It’s doing a recursive browse at too early a starting point or something.

As suggested, use `browseServer`, which is always preferred to `browse` or `browseSimple` which should really be marked deprecated.

---

<div class="post-metadata">

**Author:** ![kgamble](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kgamble/32/8019_2.png) [@kgamble](https://forum.inductiveautomation.com/u/kgamble)\
**Post date:** [June 5, 2020, 6:03pm UTC](https://forum.inductiveautomation.com/t/extremely-slow-opc-browse-even-when-connection-is-fine/35357/5 "2020-06-05T18:03:44Z")

</div>

That worked! Thank you guys so much
