Iris Seaman

Results 17 comments of Iris Seaman

Selenium grid is running remotely on another machine. The script is in a docker image is built locally and running

So my friend was the one who set up the selenium grid. I just took a look at it. He has it running on Google Cloud Run. The URL is...

That may be my issue. I just assumed if I could ping the ip address that it would be enough. I will respond once I can get the port number...

@sanjeevtrz According to this: [Publishing container ports](https://cloud.google.com/compute/docs/containers/configuring-options-to-run-containers#publishing_container_ports) "Container ports have a one-to-one mapping to the host VM ports. For example, a container port 80 maps to the host VM port...

If I change 'addr' to 0.0.0.0 ``` selenium_options = { 'auto_config': False, 'proxy': { 'http': 'http://'+username+':'+password+'@'+ip_assignment["ip-address"]+':'+str(ip_assignment["port"]), 'https': 'https://'+username+':'+password+'@'+ip_assignment["ip-address"]+':'+str(ip_assignment["port"]), 'no_proxy': 'localhost,127.0.0.1' # excludes }, 'addr': '0.0.0.0', 'port': vm_port } ``` and...

@wkeeling Do you know why I'm getting 'Address family for hostname not supported' when my external ip address is open to the network (I tested it using an online ping...

@wkeeling I don’t have it with me right now, but off the top of my head, I traced it backed to server.py in selenium-wire/third party/server I believe. In the init...

@wkeeling ``` Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/seleniumwire/thirdparty/mitmproxy/server/server.py", line 41, in __init__ super().__init__( File "/usr/local/lib/python3.10/site-packages/seleniumwire/thirdparty/mitmproxy/net/tcp.py", line 624, in __init__ self.socket.bind(self.address) socket.gaierror: [Errno -9] Address family for hostname not supported...

@sanjeevtrz > I work in similar set up. I never pass `addr` because it would take localhost. You need only `port` isn't that the same as this change I made...

> No `0.0.0.0` works for Mac only for Linux '127.0.0.1' > So it better to leave it to be default as this would be 'localhost' Interesting then, that it still...