-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not start a new session running FitNesse in container #496
Comments
I have not run into the issue myself, but I saw that the latest release CI run on GitLab ran with chrome 108.0.5359.124 Are you using the images that I create? I guess not because I just saw that the push to docker hub failed (without failing the build :-( ) Can you share an image, or Dockerfile so that I can reproduce the problem? I believe I no longer use a remote docker in my containers, but a local chrome as that gives access to the Chrome developer tools. Are you using a Selenium Hub, or a local chrome also and is the error just misleading? |
It turns out I read the logs incorrectly. The images were pushed after all. So I believe there are images in docker hub (using chrome 108) with my latest fixtures that work: |
I just checked with my separate repo creating docker images. It seems to launch and connect to chrome using driver 113 just fine. So it could be something in your own container (or indeed the Selenium grid, if you use it, do you have logging from that?) (I used the branch that is arm64/Mac native)
|
i have the same issue.. |
(ps with chromium driver 113 and latest alpine edge |
working the option --remote-allow-origins=* Seem to be in the java_opts when fitnesse is started. |
@robvanderboom that should not be necessary when using Selenium 4.9.0. What version of HSAC, Java and Selenium are you using? |
mm the issue is different. But with this latest chrome/alpine version the issue still exists. tried many thinks but don't know where it is comming from. So with the versions mentions as (first:) its working with the older alpine/chromium driver and also with the latest alpine chromium (113) version. But only by changing these 3 dependencies to the newer version, the error occures.. Strange thing is that the error stack trace ends at line getSeleniumHelper as described above and seems not starting the driver in the pod. |
@robvanderboom Can you share your Dockerfile so I can see whether I can reproduce the problem? |
Hi, curently experiencing kinda same issue after upgrading to 5.2.36 (or 5.2.39 also). Method: Doesn't even make a call to remote grid (can be seen in hub and node logs). Might come from "Command: [null"... The only thing required to reproduce issue - upgrade to 5.2.36 or 5.2.39. Other settings were not changed during debuging: |
@Taxanas did you try with Java =>11? Currently you're using "java.version: '1.8.0_231' " |
@fhoeben, the latest stable configuration before the mentioned error occurs is: Raising the Node-Edge version to 113.0 or above will result in the same error mentioned , as will upping the HSAC fixtures version to anything above .35. |
@jayhome I'm unsure of your exact setup (which machines/containers you have running), but your configuration seems strange to me although I have to admit I haven't run with an actual Selenium grid in a while. I would actually not expect browser startup to succeed when version 111 is requested and only 112 or up are available. Does the behaviour change when you commit the version property from the capabilities requested, or change the version value to the value offered by the Selenium node? This issue originally was about docker images running chrome locally no longer functioning, at least I thought it was. Your problem, and the one from @Taxanas, seem different since you are running a Selenium grid and are unable to connect to it. |
@fhoeben, thank you for looking into what seems a selenium hub connection failure since specific browser and hsac-fixture version. Because conditions (running Fitnesse in docker) and errors are the same for me: (EXCEPTION:ABORT_SLIM_TEST:nl.hsac.fitnesse.fixture.slim.StopTestException: Could not start a new session.) and ("Command: [null"...), as described by @timovd and @Taxanas, I thought sharing my config details and findings might help identify the root cause. I ran a check to rule out providing version number as part of 'requested capabilities' affects the behavior/outcome. To find out it DOES affect the behavior. After removing the webdriver version tag from the JSON capabilities, the problem no longer occurs. New configuration: Edge 115 with hsac-fixtures 5.2.40. 💯 (well not version 100, but you get the point). |
Since we're using HSAC Fixtures 5.2.35, we're not able to run FitNesse scripts in our containers anymore. Running scripts locally works fine.
__EXCEPTION__:ABORT_SLIM_TEST:nl.hsac.fitnesse.fixture.slim.StopTestException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure. Host info: host: '****', ip: '*.*.*.*' at nl.hsac.fitnesse.fixture.util.selenium.driverfactory.DriverManager.getSeleniumHelper(DriverManager.java:52)
This is still reproducible with the latest version (5.2.37).
I tried using Selenium-Java 4.8.1 instead of 4.8.3 and the error still occurs.
Are there specific changes in the ChromeDriver (=>112) or Chrome browser that requires changes on our side?
The text was updated successfully, but these errors were encountered: