firecamp icon indicating copy to clipboard operation
firecamp copied to clipboard

[Feature Request] Make firecamp a proxy debugger which shows ws messages and events at the moment, they are fired inside a browser

Open sla-te opened this issue 5 years ago • 2 comments

I have been looking for a solution like this for a long time already, apparently, there is none at all on the market. The only one I know of is HTTP debugger, but this one is also not able to decompress any binary traffic. Then there would be Fiddler but configuring this one for convenient websocket debugging is imo not really worth it, same goes for wireshark (both of these are as well not able to decompress).

This would be how it looks like in the developer tab of Chrome browser for instance: 746-567-max What we see here are zlib-compressed ws messages, which display all the events, that are currently happening in this opened connection, in this example on wss://gateway.discord.gg?encoding=json&v=6&compress=zlib-stream.

It would be an enormous timesaver, if there would be a software, able to fetch this opened connection, decompress the zlib stream and show the payloads, as a pretty printed json inside firecamp.

See this example from Discord's docs regarding how to decompress a zlib stream: https://discord.com/developers/docs/topics/gateway#transport-compression-transport-compression-example

As a motivation, most bigger services use compression to reduce traffic load, when in production making debugging of it a real hustle.

sla-te avatar Aug 04 '20 17:08 sla-te

Welcome to the Firecamp! Thanks and congrats for opening your very first issue in Firecamp. Join the Discord community here https://discord.gg/8hRaqhK Hope you have a great time here :)

welcome[bot] avatar Aug 04 '20 17:08 welcome[bot]

Thank you @chwba I am looking for it now 👍

Nishchit14 avatar Aug 05 '20 05:08 Nishchit14