I built server and client code that uses SignalR. The website is working perfectly, but I can't see the web traffic in any browser (chrome, IE, Firefox). I know the web traffic is there because the website is working.
Is there a way to view SignalR Traffic in a browser? If not what is the best external tool for viewing SignalR traffic?
I built server and client code that uses SignalR. The website is working perfectly, but I can't see the web traffic in any browser (chrome, IE, Firefox). I know the web traffic is there because the website is working.
Is there a way to view SignalR Traffic in a browser? If not what is the best external tool for viewing SignalR traffic?
Share Improve this question edited Apr 21, 2015 at 12:40 GeographicPerspective asked Apr 21, 2015 at 12:01 GeographicPerspectiveGeographicPerspective 2193 silver badges8 bronze badges 1- possible duplicate of Debugging WebSocket in Google Chrome – haxtbh Commented Apr 21, 2015 at 12:04
3 Answers
Reset to default 17Yes, you can view SignalR traffic in Developer Tools (Tested with Chrome).
Open Network Tab.
Click on "WS" to filter out all except Web Socket traffic.
Refresh Page. You will see something like this that shows you the connection was established. Note that you will only see this one line as it only shows that the web socket was connected. Additional traffic is not shown here like you might expect (see below)
- Then click on that row, and it will show you the details. Then select the 'Messages' tab. It will then show the messages that are being sent and received in real time. Click on the message to see the binary information.
Firefox has builtin support since January 2020 https://hacks.mozilla.org/2020/01/firefox-72-our-first-song-of-2020/
you can use Fiddler, see this article :
https://github.com/SignalR/SignalR/wiki/Using-fiddler-with-signalr