# Setting timeout in servicenow.itsm.now inventory module

**URL:** <https://forum.ansible.com/t/setting-timeout-in-servicenow-itsm-now-inventory-module/38358>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [August 22, 2023, 2:20pm UTC](https://forum.ansible.com/t/setting-timeout-in-servicenow-itsm-now-inventory-module/38358 "2023-08-22T14:20:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kevin\_Knox](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/kevin_knox/32/3926_2.png) [@Kevin\_Knox](https://forum.ansible.com/u/Kevin_Knox)\
**Post date:** [August 22, 2023, 2:20pm UTC](https://forum.ansible.com/t/setting-timeout-in-servicenow-itsm-now-inventory-module/38358/1 "2023-08-22T14:20:32Z")

</div>

I’ve run my inventory source 10 times and it’s failed 9 for timeout. It worked once, by dumb luck, so I know my problem is timeout. I cannot set the timeout. I’ve tried setting it in the environment, in the AWX Job Settings, and in the inventory script. Everywhere I can set it, it becomes a string, and the string is rejected because an integer is required. I have no way to set an integer anywhere.

Do I have to learn IRC to talk to these people? Does anyone here do the IRC?

---

<div class="post-metadata">

**Author:** ![AWX\_Project](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Post date:** [August 25, 2023, 5:37pm UTC](https://forum.ansible.com/t/setting-timeout-in-servicenow-itsm-now-inventory-module/38358/2 "2023-08-25T17:37:11Z")

</div>

do you if the timeout is client side or server side? which exact setting are you attempting to set?

AWX Team

---

<div class="post-metadata">

**Author:** ![AWX\_Project](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Post date:** [August 25, 2023, 5:39pm UTC](https://forum.ansible.com/t/setting-timeout-in-servicenow-itsm-now-inventory-module/38358/3 "2023-08-25T17:39:29Z")

</div>

also you can use element to chat [https://app.element.io/#/room/#awx:ansible.com](https://app.element.io/#/room/#awx:ansible.com) if you don’t want to set up IRC

---

<div class="post-metadata">

**Author:** ![Kevin\_Knox](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/kevin_knox/32/3926_2.png) [@Kevin\_Knox](https://forum.ansible.com/u/Kevin_Knox)\
**Post date:** [August 25, 2023, 6:34pm UTC](https://forum.ansible.com/t/setting-timeout-in-servicenow-itsm-now-inventory-module/38358/4 "2023-08-25T18:34:28Z")

</div>

My company blocks element. ☹ IRC is never going to be easy for us corporate types.

I posted a bug on the servicenow.itsm github. I got a follow up inquiry, but no answer yet. Anyway, I was trying to set the value in the Custom Credential, like I set all the other values. So far as I can tell, it’s a bug in the script that the value cannot be supplied that way. I did figure out about an hour ago the value can be sent in the playbook for the inventory.

```auto
---
plugin: servicenow.itsm.now
table: cmdb_ci_app_server_weblogic
instance:
timeout: 900.5

```

I’d post the rest, but I’m still fighting through bugs. I can download all the hosts, but the inventory script keeps filtering them all out and I cannot figure out why yet. It creates the groups correctly, but filters out every host. Bizarre.

---

<div class="post-metadata">

**Author:** ![Kevin\_Knox](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/kevin_knox/32/3926_2.png) [@Kevin\_Knox](https://forum.ansible.com/u/Kevin_Knox)\
**Post date:** [August 25, 2023, 7:44pm UTC](https://forum.ansible.com/t/setting-timeout-in-servicenow-itsm-now-inventory-module/38358/5 "2023-08-25T19:44:58Z")

</div>

The filtering was due to a debugging filter I’d put on the Inventory Source a few days ago and forgot was there. Removed and became happy. 🙂
