# XHR Timeout error message

**URL:** <https://forum.openwrt.org/t/xhr-timeout-error-message/46696>\
**Category:** Installing and Using OpenWrt\
**Created:** [October 18, 2019, 7:04am UTC](https://forum.openwrt.org/t/xhr-timeout-error-message/46696 "2019-10-18T07:04:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nk72772](https://forum.openwrt.org/letter_avatar/nk72772/32/5_5575768a8748004e209b776fc1b2916d.png) [@nk72772](https://forum.openwrt.org/u/nk72772)\
**Post date:** [October 18, 2019, 7:04am UTC](https://forum.openwrt.org/t/xhr-timeout-error-message/46696/1 "2019-10-18T07:04:08Z")

</div>

Message - XHR Timeout on certain functions. Maybe this is posted in a nother thread but I'm posting this again anyway. Simply because it was so annoying I dont want others to not be able to fix it quickly.

> **[r/openwrt - Luci timeouts + delays](https://www.reddit.com/r/openwrt/comments/dcsssk/luci_timeouts_delays/)**
>
> 1 vote and 3 comments so far on Reddit

User stated: I fixed it disabling the uHTTPd Connection Reuse.

You can find it in Luci under `> Services > uHTTPd > Advanced Settings > Connection reuse = 0`

or through SSH `> nano /etc/config/uhttpd > option http_keepalive '0'`

Maybe consider setting default to 0 in other images? Unless theres a good reason to keep it at 20

---

<div class="post-metadata">

**Author:** ![wrtpat](https://forum.openwrt.org/letter_avatar/wrtpat/32/5_5575768a8748004e209b776fc1b2916d.png) [@wrtpat](https://forum.openwrt.org/u/wrtpat)\
**Post date:** [October 19, 2019, 2:54am UTC](https://forum.openwrt.org/t/xhr-timeout-error-message/46696/2 "2019-10-19T02:54:05Z")

</div>

Thank you @nk72772  
This has been driving me nuts for months now.  
Only seems to happen frequently with Chrome browser (both Mac and Windows). But not Firefox or Safari.  
Anyhow, after making the setting change... now Chrome works too.  
Thanks again.

---

<div class="post-metadata">

**Author:** ![nk72772](https://forum.openwrt.org/letter_avatar/nk72772/32/5_5575768a8748004e209b776fc1b2916d.png) [@nk72772](https://forum.openwrt.org/u/nk72772)\
**Post date:** [October 19, 2019, 5:05am UTC](https://forum.openwrt.org/t/xhr-timeout-error-message/46696/3 "2019-10-19T05:05:58Z")

</div>

> [@nk72772](#):
>
> User stated: I fixed it disabling the uHTTPd Connection Reuse.
> 
> You can find it in Luci under `> Services > uHTTPd > Advanced Settings > Connection reuse = 0`
> 
> or through SSH `> nano /etc/config/uhttpd > option http_keepalive '0'`

Glad I could help. Also, do not fear searching in Google or wherever else. Do not suffer unnecessarily.

---

<div class="post-metadata">

**Author:** ![wrtpat](https://forum.openwrt.org/letter_avatar/wrtpat/32/5_5575768a8748004e209b776fc1b2916d.png) [@wrtpat](https://forum.openwrt.org/u/wrtpat)\
**Post date:** [October 19, 2019, 10:22am UTC](https://forum.openwrt.org/t/xhr-timeout-error-message/46696/4 "2019-10-19T10:22:54Z")

</div>

Indeed, it was a Google search that lead me to your post here on this forum 😉

---

<div class="post-metadata">

**Author:** ![system](https://forum.openwrt.org/uploads/default/original/3X/7/4/740520c71f00039bbf001045c682f0ecb25e905a.png) [@system](https://forum.openwrt.org/u/system)\
**Post date:** [October 29, 2019, 10:25am UTC](https://forum.openwrt.org/t/xhr-timeout-error-message/46696/5 "2019-10-29T10:25:47Z")

</div>

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
