You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 25, 2020. It is now read-only.
Repository navigation
This repository was archived by the owner on Jun 25, 2020. It is now read-only.
Sporadically crashes on "Taste" caused by 'Cannot access a disposed object.' #147
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.
I don't think having a dependency on a thing as heavy and complex as IIS Express is a good thing.
Specially since the issue here is not blocking.
I think it should be best to replace Firefly with maybe NHttp or juste 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)
Activity
markvantilburg commentedon Mar 31, 2015
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.
markvantilburg commentedon Mar 31, 2015
Call stack according to intellitrace
laedit commentedon Mar 31, 2015
This is coming from the embedded server which is no longer supported...
We need to replace it but I haven't found any equivalent.
markvantilburg commentedon Apr 23, 2015
Would it be easy to replace the server with IIS Express (if the user has that installed?)
markvantilburg commentedon Apr 23, 2015
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.
laedit commentedon Apr 23, 2015
I don't think having a dependency on a thing as heavy and complex as IIS Express is a good thing.
Specially since the issue here is not blocking.
I think it should be best to replace Firefly with maybe NHttp or juste HttpListener.
JakeGinnivan commentedon Apr 23, 2015
https://www.nuget.org/packages/Nancy.Hosting.Self is another option suggested by twitter
laedit commentedon Apr 23, 2015
I don't think we need the specificity of Nancy Hosting, we can just use Microsoft.Owin.Host.HttpListener.
SimonCropp commentedon Apr 24, 2015
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
damianh commentedon Apr 24, 2015
👎 for depending on IIS.
Firefly http server is well dead. NHttp doesn't support owin and looks old too.
Use Microsoft.Owin.Host.HttpListener or Nowin. An example
pysco68 commentedon Apr 24, 2015
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)
damianh commentedon Apr 24, 2015
Also, since Nowin doesn't depend on Http.sys, you don't have to fup around with Http ACLs
laedit commentedon Apr 24, 2015
Thanks for the advices, I think we'll go with Nowin.
@markvantilburg I don't have the time to work on this right now, but a PR is welcome 😃
markvantilburg commentedon Feb 9, 2016
Cannot get it to crash anymore after the change of #298
markvantilburg commentedon Feb 9, 2016
Maybe #102 can also be closed with the fix of #298
laedit commentedon Feb 9, 2016
Thanks for the update.