dgtlmoon / dgtlmoon/changedetection.io

Proxy not working with WebDriver / Selenium

Open
#2,495 2 comments 0 reactions 1 assignee Claimed by @dgtlmoon View on GitHub
triage
Dominant language
Python
Stars
34.1k
Forks
2k
Avg merge
22h 52m
Merged PRs (30d)
70

Description

**DO NOT USE THIS FORM TO REPORT THAT A PARTICULAR WEBSITE IS NOT SCRAPING/WATCHING AS EXPECTED**

This form is only for direct bugs and feature requests todo directly with the software.

Please report watched websites (full URL and _any_ settings) that do not work with changedetection.io as expected [**IN THE DISCUSSION FORUMS**](https://github.com/dgtlmoon/changedetection.io/discussions) or your report will be deleted

CONSIDER TAKING OUT A SUBSCRIPTION FOR A SMALL PRICE PER MONTH, YOU GET THE BENEFIT OF USING OUR PAID PROXIES AND FURTHERING THE DEVELOPMENT OF CHANGEDETECTION.IO

THANK YOU

**Describe the bug**
I’m using ChangeDetection.io with WebDriver and a proxy. I set both the `HTTP_PROXY` ENV and the `HTTPS_PROXY` ENV to `http://192.168.31.72:7890`. However, when ChangeDetection.io checks a website that requires the proxy I set, the website cannot be loaded. The `chrome://version` page says the `Command Line` has a `--proxy-server=http=http://192.168.31.72:7890` flag. Maybe it should be `--proxy-server=http://192.168.31.72:7890` without the `http=` in the middle? I don’t know.

**Version**
*Exact version* in the top right area: v0.45.26

**To Reproduce**

Steps to reproduce the behavior:
1. Set `HTTP_PROXY` and `HTTPS_PROXY`
2. Use WebDriver to check a website

! ALWAYS INCLUDE AN EXAMPLE URL WHERE IT IS POSSIBLE TO RE-CREATE THE ISSUE - USE THE 'SHARE WATCH' FEATURE AND PASTE IN THE SHARE-LINK!

**Expected behavior**
The website loads without problem.

**Screenshots**
![image](https://github.com/user-attachments/assets/cd6dc082-8a3c-4930-bb27-8a9af9afce3d)
![image](https://github.com/user-attachments/assets/91201300-077c-49b3-b2cf-44f632864490)

**Additional context**
Using the `linuxserver/changedetection.io:latest` image with `11c742d806bf` as digest.
Using the `selenium/standalone-chrome:latest` image with `23bfbbcc1301` as digest.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.