Closed wyankx closed 11 months ago
Hi @Magprone what happens if you start the docker container first in a separate terminal, and then run just the code that attempts to navigate the browser to the web page?
$ docker run -d -p 4444:4444 -p 5900:5900 -p 7900:7900 -e SCREEN_WIDTH={width} -e SCREEN_HEIGHT={height} --platform linux/arm64 seleniarm/standalone-chromium
Then in a separate terminal, execute the code:
driver = webdriver.Remote('http://localhost:4444/wd/hub')
print('getting site')
driver.get('https://google.com/')
Do you still have the problem with the system hanging?
Hello @jamesmortensen. It doesn't work for me. But, after I tried this, I was able to fix this problem by reinstalling the seleniarm image. Now I'm worried if this problem reoccurs and what was causing it.
Hi @Magprone it's really hard to say what the issue is without more details. We can keep the issue open a little longer to see if you're able to replicate again. Glad to hear it's working, at least for now. :)
Thank you for support. If it comes up again, I'll let you know.
am having the exact same problem, novnc exists on startup, not sure what's missing, I didn't run the script @jamesmortensen suggested, I don't think this is scalable walk around in my workflow
UPDATE, I found I had START_XVFB=false
, once I had this removed, novnc at :7900 is working
I'm glad you solved this. I hadn't used this parameter, so it is not the cause of my problem.
Closing this as it cannot be reproduced reliably.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
What happened?
noVNC is up and running at http://localhost:7900/ but could not connect to the server. I've tried to start simple VNC, it could not connect too. When I tried to check if the driver is working by
it did not have "getting site" printed, which means it stuck on it. Regardless, it didn't raise any error. When I went to http://localhost:4444/ui#, there was page as if I was running firefox with selenium-docker (which works on my mac)
Command used to start Selenium Grid with Docker
Relevant log output
Operating System
MacOS Ventura 13.2.1 on M1 chip
Docker Selenium version (tag)
112.0 (latest on this moment)