# Parse doesn't time out

**URL:** https://forums.fusetools.com/t/parse-doesnt-time-out/4078
**Category:** Bug Reports
**Created:** [September 21, 2015, 11:09pm UTC](https://forums.fusetools.com/t/parse-doesnt-time-out/4078 "2015-09-21T23:09:36Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Eivind](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/eivind/32/575_2.png) [@Eivind](https://forums.fusetools.com/u/Eivind)
#### Post date: [September 21, 2015, 11:09pm UTC](https://forums.fusetools.com/t/parse-doesnt-time-out/4078/1 "2015-09-21T23:09:36Z")

</div>

I’m using the parse Javascript SDK and it’s working quite well, but there is one problem:

The Parse Javascript SDK doesn’t seem to implement a timeout on requests to the server. (I think it assumes that the execution environment, usually a web-browser, provides a timeout.) Fuse doesn’t provide a timeout either, and the result is that the app gets stuck forever.

I’m unable to come up with a viable workaround or recovery from this hang, and it happens whenever internet connection is patchy or non-existant

---

<div class="post-metadata">

### Author: ![Anders\_Bondehagen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_bondehagen/32/98_2.png) [@Anders\_Bondehagen](https://forums.fusetools.com/u/Anders_Bondehagen)
#### Post date: [September 22, 2015, 12:07pm UTC](https://forums.fusetools.com/t/parse-doesnt-time-out/4078/2 "2015-09-22T12:07:27Z")

</div>

I will add timeout support to XMLHttpRequest, that should to it.

---

<div class="post-metadata">

### Author: ![Cristian\_Karmy1](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/cristian_karmy1/32/480_2.png) [@Cristian\_Karmy1](https://forums.fusetools.com/u/Cristian_Karmy1)
#### Post date: [March 1, 2016, 4:47pm UTC](https://forums.fusetools.com/t/parse-doesnt-time-out/4078/3 "2016-03-01T16:47:38Z")

</div>

This is solved?

I’m trying to implement the `TimeOut` but is not working… I’m tryng like this:

```auto
http.timeout = 1000; 
http.ontimeout = function () { 
    debug_log("timeout");
}

```

---

<div class="post-metadata">

### Author: ![jveres](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/jveres/32/545_2.png) [@jveres](https://forums.fusetools.com/u/jveres)
#### Post date: [March 1, 2016, 6:01pm UTC](https://forums.fusetools.com/t/parse-doesnt-time-out/4078/4 "2016-03-01T18:01:46Z")

</div>

It never worked for me either. I had to make my own timeout promise helper.
