# XMLHttpRequest timeout issue

**URL:** <https://forums.fusetools.com/t/xmlhttprequest-timeout-issue/5649>\
**Category:** Bug Reports\
**Created:** [March 17, 2016, 2:19pm UTC](https://forums.fusetools.com/t/xmlhttprequest-timeout-issue/5649 "2016-03-17T14:19:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tommy](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/tommy/32/136_2.png) [@Tommy](https://forums.fusetools.com/u/Tommy)\
**Post date:** [March 17, 2016, 2:19pm UTC](https://forums.fusetools.com/t/xmlhttprequest-timeout-issue/5649/1 "2016-03-17T14:19:51Z")

</div>

When using `XMLHttpRequest` timeout never fires as it should according to [specs](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest).

- Download project (node \> 4 required. I’m running 5.7.1 but anything \> 4 should work).
- `$ cd timeout-test`
- Start mock server: `$ cd server && npm install && node server.js`
- Run timeout-app
- I’ve also attached a web equivalent of the exact same code. `cd timeout-web && npm install && npm start`. Open browser in localhost:3001 and see console output.

Web times out as expected, while Fuse app fires onload after 3 seconds.

[Download project files](https://www.dropbox.com/s/mgy1i1dvxxsfbmr/timeout-test.zip?dl=0)
