Most probably firewall issues. ALso not fact virtualized invironments permit TCP exchange between apps/instances without special settings. 19.12.2017 04:28, Amos Jeffries пишет: > On 19/12/17 09:45, tappdint wrote: >> Amos Jeffries wrote >>> ^^ localnet and localhost are permitted, nothing else. >>> >>> You need to find out what other access Selenium requires and how it can >>> reliably be identified. Then add http_access rules here to allow it. >>> >>> >>>> # And finally deny all other access to this proxy >>>> http_access deny all >>>> >>>> >>>> # Squid normally listens to port 3128 >>>> http_port 3128 >>>> >>>> debug_options rotate=1 ALL,2/ >>>> >>>> Any ideas what I should look at for more information? Thanks! >>>> >>> >>> >>> The access.log records the connection details for the failed requests. >>> You should usually be able to find most of the details necessary there. >> >> Sorry could you clarify what is meant by /what other access Selenium >> requires and how it can >> reliably be identified/? > > To let something through the proxy, you need to know what that thing > is and either what its TCP connections or HTTP messages look like when > it contacts the proxy. > > Whatever those details are is what you need to find out before you can > make any meaningful squid.conf changes. > > (I don't know that test system to be any more specific.) > > >> In order for Selenium to run the tests I have to >> set up the proxy address in the java code that creates the driver. >> In that >> code I use my inet address that I get from ifconfig. So the proxy >> address is >> "INET_IP:3128". The script that runs the test requires the host and port >> where Selenium is located (external_host_address with port 443 since >> it is >> https). As for the logs, I tried to look at the access logs after the >> tests >> failed to run but unfortunately access.log was empty. > > Empty access.log means it is not going through the proxy. Or maybe > using a CONNECT tunnel which is still open when you checked. > > Amos > _______________________________________________ > squid-users mailing list > squid-users@xxxxxxxxxxxxxxxxxxxxx > http://lists.squid-cache.org/listinfo/squid-users
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users