7

I am using SignalR for inform users in realtime.But there is problem.I want to find why there is problem.But in browser when i clik f12 and chose network tab there is no request and response altough SignalR works well here is my chrome console.When jquery I see request but for signalR there is no reuest or response.And also in network tab there is no WS(web socket)..

Here is my chrome console

user1688401
  • 1,851
  • 8
  • 47
  • 83
  • Possible duplicate of [Signalr/hubs js high response time](http://stackoverflow.com/questions/36872509/signalr-hubs-js-high-response-time) – Erkan Demirel Apr 29 '16 at 10:28
  • Sentences may different but actually you are asking same thing you can check my answer this is normal for server sent events. – Erkan Demirel Apr 29 '16 at 10:30
  • @ErkanDemirel my problem is different.There is no WS(web socket) in network tab in my browser – user1688401 Apr 29 '16 at 11:36
  • Because this is server sent events, you will not see ws. – Erkan Demirel Apr 29 '16 at 11:45
  • @ErkanDemirel how can I see Signalr request and response? – user1688401 Apr 29 '16 at 11:48
  • On server sent events there will be one connection your client subscribe itself to server so they use this connection to communicate. If you want to see more detail you can use. You can enable [tracing](http://www.asp.net/signalr/overview/testing-and-debugging/enabling-signalr-tracing#javascript) – Erkan Demirel Apr 29 '16 at 12:39

1 Answers1

2

When you click F12 on Browser,There is one functionality like WS(Web Socket) in Network tab.From that you can check the details of SignalR

Please see below image

enter image description here

Chetan Sanghani
  • 2,058
  • 2
  • 21
  • 36