Selenium: The selenium-server-standalone-3.8.0.jar is corrupted?

Created on 29 Nov 2017  ·  14Comments  ·  Source: SeleniumHQ/selenium

Meta -

Steps to reproduce:

  1. Go to https://selenium-release.storage.googleapis.com/
  1. Check file size in XML for the selenium-server-standalone-3.8.0.jar:
<Contents>
<Key>3.8/selenium-server-standalone-3.8.0.jar</Key>
<Generation>1511989263546495</Generation>
<MetaGeneration>1</MetaGeneration>
<LastModified>2017-11-29T21:01:03.491Z</LastModified><ETag>"1455d5d756bf0574d1ca3dbc458aff37"</ETag>
<Size>235</Size>
</Contents>

Its size is 235 bytes.

  1. Try to download the file and run it:
curl -O https://selenium-release.storage.googleapis.com/3.8/selenium-server-standalone-3.8.0.jar
java -jar selenium-server-standalone-3.8.0.jar
Error: Invalid or corrupt jarfile selenium-server-standalone-3.8.0.jar

du -b selenium-server-standalone-3.8.0.jar
235     selenium-server-standalone-3.8.0.jar

Most helpful comment

Can confirm, same problem in our projects.

All 14 comments

My team is reproducing this issue (using webdriver-manager).

$ webdriver-manager start
webdriver-manager: using local installed version 12.0.6
[14:15:51] I/start - java -Dwebdriver.chrome.driver=/Users/USER/code/olp-pipelines/node_modules/webdriver-manager/selenium/chromedriver_2.33 -Dwebdriver.gecko.driver=/Users/USER/code/olp-pipelines/node_modules/webdriver-manager/selenium/geckodriver-v0.19.1 -jar /Users/USER/code/olp-pipelines/node_modules/webdriver-manager/selenium/selenium-server-standalone-3.8.0.jar -port 4444
[14:15:51] I/start - seleniumProcess.pid: 98365
Error: Invalid or corrupt jarfile /Users/USER/code/PROJECT/node_modules/webdriver-manager/selenium/selenium-server-standalone-3.8.0.jar
[14:15:52] I/start - Selenium Standalone has exited with code 1

Can confirm, same problem in our projects.

Same here as well.

Workaround if you're using webdriver-manager:

webdriver-manager update --versions.standalone=3.7.1

👍 This is blocking for us

I also had to downgrade to 3.7 for our CI system today. I did not get the "corrupted" messages -- for me webdriver-manager is perfectly happy to start but protractor fails to connect to the selenium server that's running. Selenium-webdriver outputs only this basic info:

```[17:09:44] I/launcher - Running 1 instances of WebDriver
[17:09:44] I/local - Starting selenium standalone server...
[17:09:45] E/launcher - Error: Error: Server terminated early with status 1
at Error (native)
at earlyTermination.catch.e (/Users/tomwiltzius/Documents/welkin/dugong/node_modules/selenium-webdriver/remote/index.js:252:52)
at process._tickCallback (internal/process/next_tick.js:109:7)

[17:09:45] E/launcher - Process exited with error code 100```

After updating to Selenium standalone 3.8.0, I get the same err as above.

Running webdriver-manager start --versions.standalone=3.7.1 will start the server, but my protractor don't run and return err:
Unable to create new service: ChromeDriverService

Node Version: v8.9.0
Protractor Version: Version 5.2.0
Operating System and Version: Windows 10
Chrome Driver Version: 2.33

@Lilly2016 a work around I had for this was to download the 3.7.1 version and rename it to 3.8.0

Same in our project too.

Same problem here is as well.

Sorry. Our upload script by mistake attempted to upload files in text mode instead of binary.
This has been just fixed and correct files have been uploaded.

Thank you!
On Wed, Nov 29, 2017 at 10:16 PM Alexei Barantsev notifications@github.com
wrote:

Closed #5142 https://github.com/SeleniumHQ/selenium/issues/5142.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/SeleniumHQ/selenium/issues/5142#event-1364994554, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAO97ZTcoP2iC6cdgc0qbuF9fp8TI2ouks5s7kg3gaJpZM4Qvsft
.

Thank you

All WebDriver files are corrupted in version 3.8.1 (Release date 2017-12-01). The downloads are at path: https://selenium-release.storage.googleapis.com/index.html?path=3.8/

Was this page helpful?
0 / 5 - 0 ratings