Skip to content

Commit 7bfbb9b

Browse files
Add troubleshooting section to readme
Added adb command to reset proxy configuration when session is terminated unexpectedly.
1 parent 94fcd5e commit 7bfbb9b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ Please refer to the [commands](/docs/commands.md) sections for detailed usage.
4545

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

48+
## Troubleshooting
49+
50+
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.
51+
52+
`adb shell settings put global http_proxy :0`
53+
4854
## Build local
4955

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

5460
## Credits
5561

56-
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.
62+
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 commit comments

Comments
 (0)