I'm having a crazy error when I run my Flex application on Chrome when the server HTTP response it's an Internal Server Error (500) only. It works perfectly on Firefox and IE.
Using Fiddler, I know the server is giving the correct response. An 500 error with short XML data content holding the error message:
HEADER:
HTTP/1.1 500 LoginFailedException
Cache-Control: private
Content-Type: application/xml
Server: Microsoft-IIS/7.5
X-Powered-By: ServiceStack/3.85 Win32NT/.NET
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Content-Length: 319
DATA:
<LoginDtoResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types"><ResponseStatus><ErrorCode>V2LoginFailedException</ErrorCode><Errors /><Message>Invalid username or password. Please try again.</Message><StackTrace i:nil="true" /></ResponseStatus></LoginDtoResponse>
But back to Chrome the response is totally missing, I'm getting this:
HTTP request error Server.Error.Request Error #2032: Stream Error
Using Flex RPC HTTPService, I've tried changing the call headers and this is how I'm making the calls (GET and POST):
httpService = new HTTPService();
httpService.resultFormat = "e4x";
httpService.concurrency = "single";
httpService.requestTimeout = 90;
httpService.useProxy = false;
httpService.headers["pragma"] = "public";
httpService.headers["DNT"] = "1";
httpService.headers["Cache-Control"] = "no-store";
The system has a crossdomain.xml, I verified and it seems to be OK.
Also I've tried changing the Chrome Flash plugin with the Abobe Flash plugin with no results
And of course tried google it (spent day and half in fact) and it seems it used to happen a long time ago with IE 7, but never with Chrome.
Clearly something dodgy is going on, and it's driving me crazy! Please, any advice is welcome.
Thanks a lot!