httptoolkit icon indicating copy to clipboard operation
httptoolkit copied to clipboard

[Bug]: configured rules could not be activated, so were reset to default

Open ghost opened this issue 3 years ago • 2 comments
trafficstars

Repro steps

  1. open httptoolkit
  2. put device to Sleep
  3. wake up from sleep
  4. change mock setting
  5. 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

Screenshot 2022-10-08 150653

Any other info?

No response

ghost avatar Oct 08 '22 10:10 ghost

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.

pimterry avatar Oct 10 '22 13:10 pimterry

Still happens today

nutterthanos avatar Aug 15 '24 00:08 nutterthanos