# Verify User Source against Active directory hangs

**URL:** <https://forum.inductiveautomation.com/t/verify-user-source-against-active-directory-hangs/22681>\
**Category:** Ignition Early Access\
**Created:** [February 19, 2019, 5:55pm UTC](https://forum.inductiveautomation.com/t/verify-user-source-against-active-directory-hangs/22681 "2019-02-19T17:55:01Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![sudipta.tripathy](https://avatars.discourse-cdn.com/v4/letter/s/c57346/32.png) [@sudipta.tripathy](https://forum.inductiveautomation.com/u/sudipta.tripathy)\
**Post date:** [February 19, 2019, 5:55pm UTC](https://forum.inductiveautomation.com/t/verify-user-source-against-active-directory-hangs/22681/1 "2019-02-19T17:55:01Z")

</div>

I created a AD authentication profile and when I try to test it with “verify user source”, it gateway portal hangs. I also don’t see any logs wrapper.log file. the last message in the log file is given below.

Could not read license from HASP key. HASP login() failed. Last error = 14.

Attached here is the screenshot of the gateway configuration.

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

---

<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:** [February 19, 2019, 5:57pm UTC](https://forum.inductiveautomation.com/t/verify-user-source-against-active-directory-hangs/22681/2 "2019-02-19T17:57:48Z")

</div>

Can you open another tab and go to the threads page to get a thread dump while this page is hanging?

---

<div class="post-metadata">

**Author:** ![sudipta.tripathy](https://avatars.discourse-cdn.com/v4/letter/s/c57346/32.png) [@sudipta.tripathy](https://forum.inductiveautomation.com/u/sudipta.tripathy)\
**Post date:** [February 19, 2019, 6:37pm UTC](https://forum.inductiveautomation.com/t/verify-user-source-against-active-directory-hangs/22681/3 "2019-02-19T18:37:31Z")

</div>

Well, I got success after a long wait. Is there any settings that I need to turn on to make it respond fast?

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

---

<div class="post-metadata">

**Author:** ![sudipta.tripathy](https://avatars.discourse-cdn.com/v4/letter/s/c57346/32.png) [@sudipta.tripathy](https://forum.inductiveautomation.com/u/sudipta.tripathy)\
**Post date:** [February 19, 2019, 6:50pm UTC](https://forum.inductiveautomation.com/t/verify-user-source-against-active-directory-hangs/22681/4 "2019-02-19T18:50:13Z")

</div>

Here is the thread dump.

[Ignition-mapsxstpwn00001\_thread\_dump20190219-124828.txt](https://us1.discourse-cdn.com/inductiveautomation/original/2X/8/8432f2208ad876e240e7b090da6f8663113b707b.txt) (109.3 KB)

---

<div class="post-metadata">

**Author:** ![ryanjmclaughlin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ryanjmclaughlin/32/4318_2.png) [@ryanjmclaughlin](https://forum.inductiveautomation.com/u/ryanjmclaughlin)\
**Post date:** [February 19, 2019, 6:56pm UTC](https://forum.inductiveautomation.com/t/verify-user-source-against-active-directory-hangs/22681/5 "2019-02-19T18:56:56Z")

</div>

> [@sudipta.tripathy](#):
>
> I got success after a long wait. Is there any settings that I need to turn on to make it respond fast?

If you test a second time right after, is it faster?

How many users are in your AD? Do you have ignition set to import all users?

---

<div class="post-metadata">

**Author:** ![sudipta.tripathy](https://avatars.discourse-cdn.com/v4/letter/s/c57346/32.png) [@sudipta.tripathy](https://forum.inductiveautomation.com/u/sudipta.tripathy)\
**Post date:** [February 19, 2019, 6:59pm UTC](https://forum.inductiveautomation.com/t/verify-user-source-against-active-directory-hangs/22681/6 "2019-02-19T18:59:06Z")

</div>

It would be about 2000 users. No I do set Ignition to import all users.

---

<div class="post-metadata">

**Author:** ![sudipta.tripathy](https://avatars.discourse-cdn.com/v4/letter/s/c57346/32.png) [@sudipta.tripathy](https://forum.inductiveautomation.com/u/sudipta.tripathy)\
**Post date:** [February 19, 2019, 7:12pm UTC](https://forum.inductiveautomation.com/t/verify-user-source-against-active-directory-hangs/22681/7 "2019-02-19T19:12:26Z")

</div>

The second time was faster than the first one. But subsequent tries are getting worse…

---

<div class="post-metadata">

**Author:** ![sudipta.tripathy](https://avatars.discourse-cdn.com/v4/letter/s/c57346/32.png) [@sudipta.tripathy](https://forum.inductiveautomation.com/u/sudipta.tripathy)\
**Post date:** [February 20, 2019, 6:28pm UTC](https://forum.inductiveautomation.com/t/verify-user-source-against-active-directory-hangs/22681/8 "2019-02-20T18:28:16Z")

</div>

It is working for AD hybrid sources.

---

<div class="post-metadata">

**Author:** ![awalker](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/awalker/32/6874_2.png) [@awalker](https://forum.inductiveautomation.com/u/awalker)\
**Post date:** [March 14, 2019, 5:53pm UTC](https://forum.inductiveautomation.com/t/verify-user-source-against-active-directory-hangs/22681/9 "2019-03-14T17:53:09Z")

</div>

Hi Sudipta,

Are you still seeing this issue?

You may need to reach out to support if you haven’t already.
