Open CyriacBr opened 2 months ago
Hi @CyriacBr, I've just had a quick test and I think this is because the traffic being sent here isn't HTTP.
When I use the script above (on a device which already trusts my CA certificate generally) I can see quite a few requests sent with garbed HTTP methods like SOT_
and similar, which is probably a message sent as part of some other non-HTTP protocol. Unfortunately that means you're in trouble here, since HTTP Toolkit (and other similar tools) don't support this. It's significantly more challenging to intercept an unknown protocol than to intercept just HTTP specifically. Does that make sense?
You may be able to make some progress with tools like Wireshark which can show the raw bytes back & forth for any protocol (it uses a different mechanism internally, so it's not actually a proxy at all) but you'll need to investigate that yourself, and it can be very significantly more difficult to set up.
Hi @pimterry , thank you so much for looking into this. Really appreciate the implication.
I understand everything you said. However I want to provide the information that HTTPToolkit used to work just fine few months ago (I wasn't playing much in the meanwhile). And even back then I would randomly bump into in game "connection error" prompts with the proxy enabled, which was always solved with turning off then on flight mode.
Also, I want to add that the crash happens during the loading screen while some stuff are being downloaded. I know 100% the game was using HTTP requests when actually playing because I could see everything in HTTPToolkit. It'd really surprise me if the dev scrapped everything for an obscure protocol but I guess that's still possible.
Thank you again.
It's hard to know what might have changed or what could cause this, but for the version I tested at least, there is no way that any of that SOT_
traffic is HTTP - they are definitely using a different protocol. In general I'm not aware of any way that normal HTTP traffic can end up broken inside HTTP Toolkit, so if you see any messages in HTTP Toolkit with HTTP methods that don't make sense and lots of errors shown there, you can safely assume the app is definitely sending something that's not HTTP.
Hello.
There's this game that I think do not handle proxy well. Basically when httptoolkit runs, all in-game request fails. And on httptoolkit it shows
Aborted connection to xxx
.Initially I thought that was a cert pinning issue but uppon trying the scripts in this repo it seems like an issue that the
native-connect-hook.js
is trying to solve, but it crashes with that.Game is
com.chillyroom.soulknightprequel
, error is:Wondering if you could help me on how to procede. Thanks for the great work!