hoppscotch / hoppscotch

Open source API development ecosystem - https://hoppscotch.io (open-source alternative to Postman, Insomnia)

Home Page:https://hoppscotch.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[bug]: Interceptor not saving selected option

KyleOrth opened this issue · comments

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

As of #4051 the default interceptor has changed to Proxy instead of using the browser extension. This is affecting IP Addresses in requests being made.

Changing the setting back to Use browser extension resolves this issue. But after closing and reopening Hoppscotch, that setting is not saved and it reverts back to the Proxy, which is not working in my scenario.

Steps to reproduce

  1. Go to Settings
  2. Change Interceptor to Use the browser extension to send requests
  3. Send requests as needed
  4. Close and re-open Hoppscotch
  5. Observe settings has reverted back to using the Proxy again

Environment

Production

Version

Cloud

hi @KyleOrth are you a logged-in user or are you using the app without an account?
I reproduced this and found that this issue is only present for non-logged in users, just wanted to confirm

Hi,
I reproduce the issue on PWA.
When I open the app, the option "Use the browser extension to send requests (if present)" is no longer checked even though I checked it before.
Capture d’écran du 2024-05-14 09-31-36

To reproduce :

  1. check "Use the browser extension to send requests (if present)"
  2. close the PWA app, reopen it
  3. see that it is no longer checked.

@JulienPerrin @KyleOrth thank's for reporting the issue, it should be fixed with #4060