-
Notifications
You must be signed in to change notification settings - Fork 163
Sporadically crashes on "Taste" caused by 'Cannot access a disposed object.' #147
Comments
This still happens in the current version. I tried with the debugger attached but visual studio was not able to show what object it tries to access. |
Call stack according to intellitrace
|
This is coming from the embedded server which is no longer supported... |
Would it be easy to replace the server with IIS Express (if the user has that installed?) |
It cannot be embedded currently but we could suggest the user to install it, and use it if it's installed. And for example use a command line parameter to enable the use of iisexpress where taste creates an on disk folder and points iis express to there. |
I don't think having a dependency on a thing as heavy and complex as IIS Express is a good thing. |
https://www.nuget.org/packages/Nancy.Hosting.Self is another option suggested by twitter |
I don't think we need the specificity of Nancy Hosting, we can just use Microsoft.Owin.Host.HttpListener. |
i have lots of love for nancy. perhaps a little too large for this usage, although perhaps that is insignificant compared to getting something stable and well supported in |
Just saw the tweet for this issue. I'll recommend Nowin. We use it in five bigger scale intranet applications. The greatest point is support for web sockets on any platform. Plus its really fast (10000 concurrent requests per second are doable as long as the business logic is fast - on a single process) |
Also, since Nowin doesn't depend on Http.sys, you don't have to fup around with Http ACLs |
Thanks for the advices, I think we'll go with Nowin. |
Cannot get it to crash anymore after the change of #298 |
Thanks for the update. |
I haven't been able to figure out what causes this to happen. I can easly be recreated by simply sending about 100 requests in short a time (keep pressing F5 ;-)) I've attached the full stacktrace. When restarting "taste" everything works again.
Stacktrace
The text was updated successfully, but these errors were encountered: