[squid-users] Squid configuration not working to set up connection between local and remote hosts
Yuri
yvoinov at gmail.com
Mon Dec 18 22:33:13 UTC 2017
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 at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: OpenPGP digital signature
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20171219/fe981dca/attachment.sig>
More information about the squid-users
mailing list