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.githubusercontent.com/github-production-release-asset-2e65be/25354393/bf86d4a4-84af-4963-987c-26da13b9dfc9?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220118%2Fus-east-
1%2Fs3%2Faws4_request&X-Amz-Date=20220118T172304Z&X-Amz-Expires=300&X-Amz-Signature=0b26bf0fb48cf652cdf4bfbb1d78a1cad4fc411350477efe3b3c592e76321ff2&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=25354393&response-co
ntent-disposition=attachment%3B%20filename%3Dgeckodriver-v0.30.0-win64.zip&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 ;-)
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 URLhttps://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
Sure, same with
-o
option in cURL command. Setting proxy does not affect anything.Any suggestions here? Expect manually download and unzip geckodriver ;-)