Mantis Bugtracker
  

Viewing Issue Simple Details [ Jump to Notes ] [ View Advanced ] [ Issue History ] [ Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005621 [Resin] minor always 12-27-13 07:04 11-10-14 11:19
Reporter cowan View Status public  
Assigned To alex
Priority high Resolution unable to reproduce  
Status closed   Product Version 4.0.37
Summary 0005621: Hmux[{0}] unexpected end of file in IIS
Description 503(Service Unavailable) occurs when connecting Resin via IIS + Resin.IIS.Handler.
503 response is not always happens. It happens when reloading repeatedly by F5 and so on.
The load is not applied a lot. It happens when finishing or just before page loading.
I tried same way without via IIS, then 503 didn't occur.
So I think this issue is a bug of Resin.IIS.Handler.


I putted a logger in Resin.IIS.Handler.dll.
There are a lot of following logs at the end of HandleRequest function in ResinHandler.cs .

Trace.TraceInformation("Hmux[{0}] unexpected end of file", traceId, code);


Code variables in this log are all "-1".
As long as I look at this log, I think following issue happens.

"Hmux[{0}] unexpected end of file" happens.
HandleRequest return error code, then DoHmux that is calling HandleRequest, invoke client.FailSocket().
Then reaching following branch at OpenConnection function in Server.cs and then return 503.


if (_failTime > 0 && (_failTime + _loadBalanceRecoverTime) > now) {


(Resin Pro 4.0.37 (I don't change a setting.) IIS7, 8)
Additional Information Rep by S Nobuaki
Attached Files

- Relationships

- Notes
(0006564)
alex
11-10-14 11:18

Can't reproduce.
 
(0006565)
alex
11-10-14 11:19

Can't reproduce.
 

- Issue History
Date Modified Username Field Change
12-27-13 07:04 cowan New Issue
11-10-14 11:18 alex Note Added: 0006564
11-10-14 11:18 alex Status new => assigned
11-10-14 11:18 alex Assigned To  => alex
11-10-14 11:19 alex Status assigned => closed
11-10-14 11:19 alex Note Added: 0006565
11-10-14 11:19 alex Resolution open => unable to reproduce
11-10-14 11:19 alex Fixed in Version  => 4.0.42


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker