From 7bfbb9bed8311692d178a36e044648812b8eba58 Mon Sep 17 00:00:00 2001 From: Sudharsan Selvaraj Date: Wed, 24 Jan 2024 22:36:40 +0530 Subject: [PATCH] Add troubleshooting section to readme Added adb command to reset proxy configuration when session is terminated unexpectedly. --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e5b5532..8d19513 100644 --- a/README.md +++ b/README.md @@ -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` @@ -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. \ No newline at end of file +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.