Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Failed with exception [WebDriverException] when using docker #8

Open
yandong01 opened this issue Sep 29, 2022 · 3 comments
Open

Failed with exception [WebDriverException] when using docker #8

yandong01 opened this issue Sep 29, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@yandong01
Copy link

Describe the bug

Follow the guide using Docker, I got the error "Failed with exception [WebDriverException]" when post to crest.

Reproduction steps

  1. The post info:
    post: http://xxxx:3000/crest/api/perceivable/cc-transcript
    {
    "url": "https://www.google.com",
    "reporttype": 3

}

  1. The docker logs:
    see the screenshot.
    docker_log_screenshot

  2. The response:
    {
    "status": {
    "error": "Failed with exception [WebDriverException]",
    "success": "False"
    }
    }

Expected behavior

The response should return 200

Additional context

No response

@yandong01 yandong01 added the bug Something isn't working label Sep 29, 2022
cavedon added a commit to cavedon/crest that referenced this issue Apr 6, 2023
Install the latest chrome browser and chrome webdriver when creating the
crest docker image.
Group all commands to install chrome and webdriver in a single RUN
line (to reduce Docker layers).
Cleanup APT indexes after installing chrome (to reduce Docker layer
size).
Use only curl (instead of mixing curl and wget).

Bug number: vmware-archive#8
cavedon added a commit to cavedon/crest that referenced this issue Apr 6, 2023
Install the latest chrome browser and chrome webdriver when creating the
crest docker image.
Group all commands to install chrome and webdriver in a single RUN
line (to reduce Docker layers).
Cleanup APT indexes after installing chrome (to reduce Docker layer
size).
Use only curl (instead of mixing curl and wget).

Bug number: vmware-archive#8

Signed-off-by: Ludovico Cavedon <[email protected]>
@cavedon
Copy link
Contributor

cavedon commented May 2, 2023

This should be now resolved in #9

@yandong01
Copy link
Author

The error "Failed with exception [WebDriverException]" is still reproduced with latest codes when post the request to the main API "/crest/api/all".

@yandong01
Copy link
Author

yandong01 commented Nov 17, 2023

@cavedon Please help to look at this issue.

The error "Failed with exception [WebDriverException]" is still reproduced with latest codes when post the request to the main API "/crest/api/all".

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants