-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add SSL keylogfile support for advanced network troubleshooting #2037
Comments
Even i had similar issue with the oauth , were you using It was a small fix that has been merged here !
Also if you wish to examine the calls made by bruno i think something like wireshark is overkill. You could easily use a proxy and debug your traffic there, i have used this to fix the auth issue above ! |
For me the issue was that I put in the url with the unique oauth string a the and as well, and Bruno was probably appending it again. |
You can use a simple proxy tool like https://httptoolkit.com/ as a proxy to check what calls are being made by bruno. |
Well, See e.g. #645. With
It depends. Network packets are the ultimate answer:) Also, it depends on user's preferences/background/environment—e.g. I feel comfortable with Wireshark, and installing a proxy to debug traffic seems a bit overkill:)) |
Some related explanations from the HTTP Toolkit author—Tim Perry—is in httptoolkit/httptoolkit#311. Basically, that is why I prefer to use Wireshark—no traffic mangling, I see what is really going on. I would definitely recommend to also look at mitmproxy. Bruno has all needed settings (disabling certificate verification, adding custom CA cert, using proxy of any kind), so it just works too (like HTTP Toolkit does), but without hacking magick in the background:D And it's interface (especially the text one) is a bit wiresharky, yeah;DD Don't get me wrong, I don't say that HTTP Toolkit is not good—it's awesome, especially for intercept proxy-unaware applications. Any complex tool has its specific caveats and edge cases, so they all complement each other. |
As far as I understand we want --tls-keylog=file Node.js option to be somehow supported:
Exactly. Unfortunately, if I run
it says
and keylog file is not created… |
I've tried sslkeylog, but with no luck: require('sslkeylog').hookAll(); leads to Maybe I should use Specific connections approach, or even better—'keylog' event of @Its-treason Could you look? I suspect I'm missing something obvious:( |
Bruno uses I'm not a fan of Axios either, its way to limited for debugging, so I implemented my own code for handling requests in my fork that is using |
Bruno could support SSLKEYLOGFILE so that network monitoring and troubleshooting tools like Wireshark could be used with it.
Use case:
I was setting up oauth credentials and the requests were failing. The window in Bruno did not show me the request and response flow as it was inside the authentication tab, so I had no way to properly troubleshoot. I needed to know the exact url that was queried as well as the payload and server response, but it was nowhere to be found.
I figured I could intercept the traffic via Wireshark like I can do with Chrome via the SSLKEYLOGFILE that allows the intercepted traffic to be decrypted locally so that I can inspect what is going wrong.
Nope, Bruno dues not support that even thou it is running Chrome version 106.
Is this something that could be added or enabled? Maybe its just one switch you need to toggle in Electron.
The text was updated successfully, but these errors were encountered: