Skip to content

Commit ce935d0

Browse files
committed
docs(readme): add bug fix info about using multiple modules
1 parent 19f89bc commit ce935d0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -725,3 +725,12 @@ $ lmao --configs "configs" --ip "0.0.0.0" --port "1312" --ssl certificate.crt pr
725725
2024-04-19 02:07:02 INFO Press CTRL+C to quit
726726
...
727727
```
728+
729+
----------
730+
731+
## 🐛 How to fix `Failed to establish a new connection` when using multiple modules
732+
733+
1. Open `venv/lib/python3.XX/site-packages/undetected_chromedriver/patcher.py`
734+
2. Add `import secrets` to the imports
735+
3. In `def __init__` change `prefix = "undetected"` to `prefix = f"undetected{secrets.token_hex(4)}"`
736+
4. Save file and reload LMAO

0 commit comments

Comments
 (0)