httptoolkit
httptoolkit copied to clipboard
[Bug]: configured rules could not be activated, so were reset to default
trafficstars
Repro steps
- open httptoolkit
- put device to Sleep
- wake up from sleep
- change mock setting
- press save changes
How often does this bug happen?
Every time
The desktop OS you're using
Windows 11 22H2
Details of other apps/devices
No response
Error screenshot

Any other info?
No response
Ah, interesting, yes that makes sense.
I think there's some internal logic that detects persistent disconnection and shuts down the internal proxy (which would then break the rule configuration here later) and I bet that that's being triggered by device sleep, and causing this problem.
It's going to take a little time to solve this nicely I think, but I'll look into it and see what I can do. In the meantime I think the only workaround is to exit HTTP Toolkit before putting your device to sleep.
Still happens today