Skip to content

[🐛 Bug]: Fails to start a new session using Firefox v130, v131, v132 for Linux operating system #2473

@prajaktak15

Description

@prajaktak15

What happened?

Not able to run scripts on selenium grid Firefox node 4.25, 4.26 for linux operating system.

It works fine if I start the node on 4.24

Error message while running scripts on firefox node:
[�[1;31mERROR�[m] �[1;31mFailures: �[m
[�[1;31mERROR�[m] �[1;31m RunCukesByFeatureGSGWeb.feature » SessionNotCreated Could not start a new session. Response code 500. Message: Could not start a new session. Could not start a new session. Error while creating session with the driver service. Stopping driver service: Could not start a new session. Response code 400. Message: binary is not a Firefox executable

Command used to start Selenium Grid with Docker (or Kubernetes)

Docker compose file used:

selenium-tst-firefox:
    container_name: firefoxnode
    environment:
      - SE_EVENT_BUS_HOST=<server-host>
      - SE_EVENT_BUS_PUBLISH_PORT=<port>
      - SE_EVENT_BUS_SUBSCRIBE_PORT=<port>
      - SE_NODE_HOST=<node-host>
      - SE_NODE_PORT=<port>
      - REMOTE_HOST=https://${HOSTNAME}:<port>
      - SE_OPTS=<certificate-path>
      - SE_NODE_SESSION_TIMEOUT=600
      - SE_DRAIN_AFTER_SESSION_COUNT=100
      - SE_NODE_MAX_SESSIONS=1
      - SE_NODE_GRID_URL=<Hub-url>
      - JAVA_OPTS=-Djdk.httpclient.websocket.intermediateBufferSize=2000000
    image: node-firefox:4.26.0-20241101
    privileged: true
    logging:
      driver: "none"
    shm_size: 2gb
    ports:
      - <port>:<port>
    restart: always
    volumes:
      - /dev/shm:/dev/shm
      - /opt/grid/cert:/home/seluser

Relevant log output

Error message while running scripts on firefox node:
[�[1;31mERROR�[m] �[1;31mFailures: �[m
[�[1;31mERROR�[m] �[1;31m  RunCukesByFeatureGSGWeb.feature » SessionNotCreated Could not start a new session. Response code 500. Message: Could not start a new session. Could not start a new session. Error while creating session with the driver service. Stopping driver service: Could not start a new session. Response code 400. Message: binary is not a Firefox executable

Operating System

RHEL 8

Docker Selenium version (image tag)

4.26.0-20241101

Selenium Grid chart version (chart version)

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions