On Thu, May 27, 2010 at 14:08, Qoo Goo <qoo...@gmail.com> wrote: > Hi everybody, > > We are facing a problem with Chrome 5 (5.0.375.55) that is driving us > crazy. > > We have an application that has been working since now in main > browsers, including IE 5 to 8, FF and Chrome. We are migrating the app > to Qx 1.1 (originally in 0.7.4), but the problem arises in both the > new and the old one. > > The error we are getting is: > > "qx.io.remote.Exchange: Unknown status code: 0 (4) > Failed to send data: Error: NETWORK_ERR: XMLHttpRequest Exception 101" > > I've been able to find some people out there that have this same or > similar problem (see > http://code.google.com/p/chromium/issues/detail?id=36869), but I > couldn't find any clue in Qooxdoo's lists, although it seems to be a > common problem in ajax applications using XMLHttpRequest and Webkit > engines. > > This is similar to the issue I was working on a day or two ago, trying to return a more meaningful error message when cross-domain or requesting domain was file://. In those cases, and apparently in this one too, an error occurs in the heart of the browser's networking code, but what gets back to the XHR handler is garbage. The linked bug in the linked bug indicates that the result of the request is:
xhr.onerror is called with xhr.status == 0, xhr.readyState == 4 readyState=4 means that the request is complete, which is when we're supposed to look at the status code. xhr.status=0 is meaningless information. Unfortunately, there's not a lot that qooxdoo can do to help you with this. My suggestion would be to use wireshark or some similar protocol analyzer, and look at exactly what packets are going back and forth (if any) on the wire. If you can build a sample application that causes this problem, that I can reproduce with chromium on Linux (I'm currently using 4.0.249.30 (Ubuntu build 33928)), I do the wireshark trace to see what's going on. Cheers, Derrell
------------------------------------------------------------------------------
_______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel