Skip to content
This repository was archived by the owner on Apr 17, 2026. It is now read-only.
This repository was archived by the owner on Apr 17, 2026. It is now read-only.

[WD12.1.8] Update gecko returns statusCode=403 because cURL get a redirect from GitHub #507

Open

Description

@tispokes

If i run webdriver-manager update --verbose --chrome false --standalone false --gecko true i get this return:

E/downloader - tunneling socket could not be established, statusCode=403

I investigated a bit in the downloader.js and extracted the URL for the download request.
The computed request options linking to this URL https://github.com/mozilla/geckodriver/releases/download/v0.30.0/geckodriver-v0.30.0-win64.zip

If I cURL this URL I only get HTML back with a redirect:
curl https://github.com/mozilla/geckodriver/releases/download/v0.30.0/geckodriver-v0.30.0-win64.zip

<html><body>You are being <a href="https://objects.github.com/github-production-release-asset-2e65be/25354393/bf86d4a4-84af-4963-987c-26da13b9dfc9?X-Amz-Algorithm=AWS4-HMAC-SHA256&amp;X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220118%2Fus-east-
1%2Fs3%2Faws4_request&amp;X-Amz-Date=20220118T172304Z&amp;X-Amz-Expires=300&amp;X-Amz-Signature=0b26bf0fb48cf652cdf4bfbb1d78a1cad4fc411350477efe3b3c592e76321ff2&amp;X-Amz-SignedHeaders=host&amp;actor_id=0&amp;key_id=0&amp;repo_id=25354393&amp;response-co
ntent-disposition=attachment%3B%20filename%3Dgeckodriver-v0.30.0-win64.zip&amp;response-content-type=application%2Foctet-stream">redirected</a>.</body></html>

Sure, same with -o option in cURL command. Setting proxy does not affect anything.

Any suggestions here? Expect manually download and unzip geckodriver ;-)

Activity

  1. changed the title [-]Update gecko returns statusCode=403 because cURL get a redirect from GitHub[/-] [+][WD12.1.8] Update gecko returns statusCode=403 because cURL get a redirect from GitHub[/+] on Jan 18, 2022
  2. tispokes commented on Jan 18, 2022

    @tispokes
    Author

    The update component logs a "file exists" but it is not the correct file. It just contains the redirect html block.
    image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions