kanseiishikawa opened a new issue, #12632:
URL: https://github.com/apache/trafficserver/issues/12632
I am using Python's selenium to try to use ATS as a proxy. When I set
`--proxy-server` in selenium and try to access ATS using the CONNECT method,
ATS returns a 403 and the connection fails. Is there any additional
configuration I need to do?
I'd appreciate some advice.
my selenium code
```
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
PROXY="PROXY HOST NAME"
options = Options()
options.add_argument("--proxy-server={}".format( PROXY ) )
options.set_capability("acceptInsecureCerts", True)
url = "https://www.google.com/"
driver = webdriver.Chrome(options=options)
driver.get( url )
driver.quit()
```
The request contents displayed in the debug log are:
```
+++++++++ Incoming Request +++++++++
-- State Machine Id: 8
CONNECT www.google.com:443 HTTP/1.1
Host: www.google.com:443
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36
```
squid.blog
```
1762096732.194 0 ERR_PROXY_DENIED/403 419 CONNECT www.google.com/ - NONE/-
text/html
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]