!zyIwMfkvlwblbZsUty:matrix.org

selenium

2228 Members
6 Servers

Load older messages


SenderMessageTime
18 Jun 2024
@_slack_seleniumhq_U0BHPTPDY:matrix.orgtitusfortner need more information about your specific problem, ideally using the latest version of Selenium 19:57:01
@holla1:matrix.org@holla1:matrix.org left the room.19:57:52
@_slack_seleniumhq_U06RMT5SJCE:matrix.orgManoj Kumar titusfortner thanks. This is the template I am using,
version: "1"
services:
  selenium-hub:
    image: selenium/hub:4.16.1-20231219
    container_name: selenium-hub
    ports:
      - "4442:4442"
      - "4443:4443"
      - "4444:4444"
    healthcheck:
      test: /usr/bin/check-grid4.sh --host localhost --port 4444
      interval: 15s
      timeout: 60s
      retries: "5"
    volumes:
      - /home/seluser:/home/seluser
  chrome_\${LEAF_TEST_NAME}_\${TEST_UUID}:
    image: selenium/node-chrome:120.0.6099.109
    shm_size: 2gb
    depends_on:
      - selenium-hub
    environment:
      - SE_EVENT_BUS_HOST=selenium-hub
      - SE_EVENT_BUS_PUBLISH_PORT=4442
      - SE_EVENT_BUS_SUBSCRIBE_PORT=4443
      - JAVA_OPTS=-Dwebdriver.chrome.whitelistedIps=
    volumes:
      - /home/seluser:/home/seluser
      
  chrome_video_\${LEAF_TEST_NAME}_\${TEST_UUID}:
    image: selenium/video:ffmpeg-6.1-20240328
    depends_on:
      - chrome_\${LEAF_TEST_NAME}_\${TEST_UUID}
    volumes:
      - /home/seluser/videos/\${LEAF_TEST_NAME}:/videos
    environment:
      - DISPLAY_CONTAINER_NAME=chrome_\${LEAF_TEST_NAME}_\${TEST_UUID}
      - SE_VIDEO_UPLOAD_ENABLED=true
      - SE_VIDEO_INTERNAL_UPLOAD=true
      - SE_UPLOAD_DESTINATION_PREFIX= s3://bucket-name/${pipelinePrefix}/ \${LEAF_TEST_NAME}
      - RCLONE_CONFIG_S3_TYPE=s3
      - RCLONE_CONFIG_S3_PROVIDER=AWS
      - RCLONE_CONFIG_S3_ENV_AUTH=true
      - RCLONE_CONFIG_S3_REGION=us-west-2
      - RCLONE_CONFIG_S3_LOCATION_CONSTRAINT=us-west-2
      - RCLONE_CONFIG_S3_ACL=private
      - RCLONE_CONFIG_S3_SERVER_SIDE_ENCRYPTION=AES256
      - RCLONE_CONFIG_S3_NO_CHECK_BUCKET=true
20:33:04
@_slack_seleniumhq_U06RMT5SJCE:matrix.orgManoj Kumar versions used should be ~1/2 month old 20:33:37
@_slack_seleniumhq_U06RMT5SJCE:matrix.orgManoj Kumar pls let me know if you need anything else. We have leaf jobs with test xmls and each of them runs in a single container. We see timeout error randomly which doesn't recover even after the retry. We tried increasing the session timeout from 5 to 10 mins with no luck. 21:17:21
@john_qwe:matrix.orgJohn joined the room.21:18:38
@john_qwe:matrix.orgJohnRedacted or Malformed Event21:33:16
@_slack_seleniumhq_U0BHPTPDY:matrix.orgtitusfortner what is the exact timeout are you seeing? There are a lot of different things that can time out in different places. I don't really do docker things, so I might not be the best person to help, but start by updating your version (6.11 is > 6 months old now) next step would be to turn on logging to see if something is happening prior to the error 21:37:08
@john_qwe:matrix.orgJohnRedacted or Malformed Event21:49:31
@_slack_seleniumhq_U06RMT5SJCE:matrix.orgManoj Kumar after updating session timeout to 10 mins, this is what we see,
12:42:29.897 INFO [LocalNode.newSession] - Session created by the Node. Id: d199482fff1549a1e24020d954568468, Caps: Capabilities {acceptInsecureCerts: true, browserName: chrome, browserVersion: 120.0.6099.109, chrome: {chromedriverVersion: 120.0.6099.109 (3419140ab66..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress:localhost:40051}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: Proxy(), se:bidiEnabled: false, se:build: 16.0.0-236, se:cdp:  ws://172.18.0.4:4444/sessio ..., se:cdpVersion: 120.0.6099.109, se:name: DACLevelPickerOnSheetOvervi..., se:recordVideo: true, se:testFileNameTemplate: 8276ef62345346cfb6bcf91c7cd..., se:vnc:  ws://172.18.0.4:4444/sessio ..., se:vncEnabled: true, se:vncLocalAddress:  ws://172.18.0.4:7900 , setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: accept, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
12:53:21.047 INFO [LocalNode.stopTimedOutSession] - Session id d199482fff1549a1e24020d954568468 timed out, stopping...
12:53:21.243 INFO [SessionSlot.stop] - Stopping session d199482fff1549a1e24020d954568468
22:43:36
@_slack_seleniumhq_U06RMT5SJCE:matrix.orgManoj Kumar and then it never recovers, creates new session after timeout and then waits for 10 mins again. 22:44:00
@_slack_seleniumhq_U06RMT5SJCE:matrix.orgManoj Kumar But sure, I will use the latest version and see if things change 22:44:15
@_slack_seleniumhq_U0BHPTPDY:matrix.orgtitusfortner Increasing the timeout value is rarely the right answer, and it can often make things worse. You need to understand why you get that error, which means looking at the logs. 23:18:06
19 Jun 2024
@_slack_seleniumhq_U01V337MCUQ:matrix.orgDeepak Gunasekaran Hello, Could some one please chime in if the chart version 0.27.0 is compatible with EKS v1.28 03:49:29
@_slack_seleniumhq_U078P7364KX:matrix.orgChetan joined the room.05:18:31
@memefi:matrix.orgwar changed their display name from memefi to war.05:26:37
@_slack_seleniumhq_U078P7364KX:matrix.orgChetan changed their display name from _slack_seleniumhq_U078P7364KX to Chetan.05:37:42
@_slack_seleniumhq_U078P7364KX:matrix.orgChetan set a profile picture.05:37:43
@_slack_seleniumhq_U078P7364KX:matrix.orgChetan Hello Everyone, I am facing an issue with UnreachableBrowserException with the docker container. We are running Selenium with version 4.21 Chrome browser version 126 and Java version 17. We are working on a Web crawlering project using Selenium after some 4-5k pages were crawled it is giving started issue with Unreachable browserException. Could you please help with this issue to resolve. org.openqa.selenium.remote.UnreachableBrowserException: Error communicating with the remote browser. It may have died. Build info: version: '4.21.0', revision: '79ed462ef4' system info: os.name: 'Linux', os.arch: 'amd64', os.version: '6.4.10-dirty', java.version: '17' Driver info: org.openqa.selenium.remote.RemoteWebDriver Command: [2f296e9334a1cbe7f3684c9d68a29c32, getPageSource []] Capabilities {acceptInsecureCerts: true, browserName: chrome-headless-shell, browserVersion: 126.0.6478.62, chrome: {chromedriverVersion: 126.0.6478.61 (8dc092df54ce..., userDataDir: /opt/}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:40705}, networkConnectionEnabled: false, pageLoadStrategy: eager, platformName: linux, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: accept, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true} Session ID: 2f296e9334a1cbe7f3684c9d68a29c32 for url https://example.aspx 05:37:43
@_slack_seleniumhq_U012QTT1KPC:matrix.orgPallavi Something to do with the .xlsx file you are passing. It is raising an IOException. Please check your file type. The error is not of selenium. But Java . 05:48:44
@robrubhere:matrix.org@robrubhere:matrix.org joined the room.06:55:58
@robrubhere:matrix.org@robrubhere:matrix.org left the room.06:56:19
@_slack_seleniumhq_U06440ZQPMZ:matrix.orgvietnd96 yes, it is compatible 07:34:31
@_slack_seleniumhq_U078SH46RL3:matrix.org_slack_seleniumhq_U078SH46RL3 joined the room.07:37:42
@john_qwe:matrix.orgJohnRedacted or Malformed Event08:09:02
@_slack_seleniumhq_U4WHRRY6Q:matrix.orgdiemol Probably the processes are out of memory and the browser crashed. 09:25:31
@_slack_seleniumhq_U078P7364KX:matrix.orgChetan I have checked CPU utilization as well but it is below 50% 10:13:13
@_slack_seleniumhq_U4WHRRY6Q:matrix.orgdiemol How are you monitoring the host system? What cpu and memory are being used when the crash happens? 12:25:01
@_slack_seleniumhq_U078P7364KX:matrix.orgChetan We are running on GCP cloud run job 14:11:16
@_slack_seleniumhq_U078P7364KX:matrix.orgChetan cloud run job i can monitor CPU and memory utilization 14:11:32

There are no newer messages yet.


Back to Room ListRoom Version: 6