SignalR and Radcompression

7 posts, 0 answers
  1. Nils C.
    Nils C. avatar
    41 posts
    Member since:
    Oct 2009

    Posted 04 Mar 2013 Link to this post

    Hi,

    we are using SignalR v 1.xx. And sometimes some errors bubble up in connection to Radcompression .

    There are others with the same problem:
    https://github.com/SignalR/SignalR/issues/1535

    Fehlermeldung und Stack-Trace

    Fehlermeldung: Microsoft.Owin.Host.SystemWeb: One or more errors occurred.

    Stack-Trace: Server stack trace: Exception rethrown at [0]: bei Microsoft.Owin.Host.SystemWeb.Utils.<>c__DisplayClass1.b__0(Exception ex) bei Microsoft.Owin.Host.SystemWeb.Utils.RethrowWithOriginalStack(Exception ex) bei Microsoft.Owin.Host.SystemWeb.CallContextAsyncResult.End(IAsyncResult result) bei Microsoft.Owin.Host.SystemWeb.OwinHttpHandler.EndProcessRequest(IAsyncResult result) bei System.Web.HttpApplication.CallHandlerExecutionStep.OnAsyncHandlerCompletion(IAsyncResult ar)

    Innere Fehlermeldung


    Modul

    Datei: , Zeile: 0

    Fehlermeldung und Stack-Trace

    Fehlermeldung: Telerik.Web.UI: Object reference not set to an instance of an object.

    Stack-Trace: bei Telerik.Web.UI.RadCompression.RadGZipStreamNet40.get_IsResposeAjaxRedirect() bei Telerik.Web.UI.RadCompression.RadGZipStreamNet40.Write(Byte[] array, Int32 offset, Int32 count) bei System.Web.HttpWriter.FilterIntegrated(Boolean finalFiltering, IIS7WorkerRequest wr) bei System.Web.HttpResponse.UpdateNativeResponse(Boolean sendHeaders) bei System.Web.HttpResponse.Flush(Boolean finalFlush, Boolean async) bei System.Web.HttpResponse.BeginFlush(AsyncCallback callback, Object state) bei System.Web.HttpResponseWrapper.BeginFlush(AsyncCallback callback, Object state) bei System.Threading.Tasks.TaskFactory`1.FromAsyncImpl(Func`3 beginMethod, Func`2 endFunction, Action`1 endAction, Object state, TaskCreationOptions creationOptions) bei Microsoft.Owin.Host.SystemWeb.CallStreams.OutputStream.d__2.MoveNext()


    Is this a known problem?

    Best 

    Nils
  2. Radoslav
    Admin
    Radoslav avatar
    1564 posts

    Posted 06 Mar 2013 Link to this post

    Hello Nils,

    The described issue is very strange. We have not encountered it so far and we are not sure what could be the reason for experiencing the problem. Could you please try isolating the problem in a simple example and send it to us. You could open a formal support ticket from your Telerik account and attach a ZIP file there. Thus we will be able to gather more details about your scenario debug the application and investigate the problem.

    Looking forward for your reply.

    Kind regards,
    Radoslav
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Anthony
    Anthony avatar
    1 posts
    Member since:
    Mar 2013

    Posted 06 Mar 2013 Link to this post

    Hey guys,

    I am also having this particular issue and have tried investigating what might be causing the problem. This is what I have seen so far:

    It seems that RadCompression is intermittently compressing SignalR's json request string, which I think is being done to the point where certain information needed from the string is missing. I removed RadCompression from the web.config two projects where I was having the error described and have had yet to see another occurrence of the error since that was done about two months ago.  I also found that the page-level RadCompressionSettings attributes won't work in the case of signalR because the request signalR is sending seems to come from code in their SignalR.Hosting.AspNetHandler dll, so the attribute won't help in that case.

    Hope this information helps,

    Anthony
  5. David
    David avatar
    4 posts
    Member since:
    Aug 2011

    Posted 09 Mar 2013 Link to this post

    I have same error
  6. Radoslav
    Admin
    Radoslav avatar
    1564 posts

    Posted 11 Mar 2013 Link to this post

    Hello,

    We tried to reproduce the described issue but to no avail. If you can send us a small runnable example and exact steps for reproducing the problem we can debug the application and the RadCompression and find the reason for the described issue. However without runnable example where the problem could be reproduced it is very hard to say what is causing the problem.

    Regards,
    Radoslav
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  7. Joe Sugden
    Joe Sugden avatar
    52 posts
    Member since:
    Feb 2010

    Posted 11 Apr 2013 Link to this post

    Yeah, the error is very hard to replicate...
    We get it too in IE10 and FF20 on one machine only...
  8. Radoslav
    Admin
    Radoslav avatar
    1564 posts

    Posted 16 Apr 2013 Link to this post

    Hi Joe,

    Unfortunately without having a simple runnable example where the problem could be replicated it is very hard to say what the reason for the described issue.  Could you please try isolating the problem into a small example and send it to us. You could open a formal support ticket from your Telerik account and attach a ZIP file there. Thus we will be able to debug the project and provide you with more to-the-point answer.

    All the best,
    Radoslav
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017