Skip to content

Commit

Permalink
docs(readme): add bug fix info about using multiple modules
Browse files Browse the repository at this point in the history
  • Loading branch information
F33RNI committed May 15, 2024
1 parent 19f89bc commit ce935d0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -725,3 +725,12 @@ $ lmao --configs "configs" --ip "0.0.0.0" --port "1312" --ssl certificate.crt pr
2024-04-19 02:07:02 INFO Press CTRL+C to quit
...
```
----------
## 🐛 How to fix `Failed to establish a new connection` when using multiple modules
1. Open `venv/lib/python3.XX/site-packages/undetected_chromedriver/patcher.py`
2. Add `import secrets` to the imports
3. In `def __init__` change `prefix = "undetected"` to `prefix = f"undetected{secrets.token_hex(4)}"`
4. Save file and reload LMAO

0 comments on commit ce935d0

Please sign in to comment.