Skip to content

Commit

Permalink
Add troubleshooting section to readme
Browse files Browse the repository at this point in the history
Added adb command to reset proxy configuration when session is terminated unexpectedly.
  • Loading branch information
sudharsan-selvaraj authored Jan 24, 2024
1 parent 94fcd5e commit 7bfbb9b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ Please refer to the [commands](/docs/commands.md) sections for detailed usage.

Refer Examples [here](./test/plugin.spec.js)

## Troubleshooting

In certain instances where the session terminates abruptly, the device proxy state may persist without being cleared, leading to a non-functional network connection. To rectify this issue and reset the device proxy state, execute the following adb command.

`adb shell settings put global http_proxy :0`

## Build local

`npm install`
Expand All @@ -53,4 +59,4 @@ Refer Examples [here](./test/plugin.spec.js)

## Credits

A special thanks to creators and maintainers of [node-http-mitm-proxy](https://github.com/joeferner/node-http-mitm-proxy). Their efforts have laid the foundation for the capabilities embedded in this plugin.
A special thanks to creators and maintainers of [node-http-mitm-proxy](https://github.com/joeferner/node-http-mitm-proxy). Their efforts have laid the foundation for the capabilities embedded in this plugin.

0 comments on commit 7bfbb9b

Please sign in to comment.