browserstack / browserstack-local-java

Java bindings for BrowserStack Local
https://www.browserstack.com
MIT License
18 stars 34 forks source link

Facing BrowserStackLocal binary is corrupt while running in java docker container #71

Open akshaybadgujarjs opened 1 year ago

akshaybadgujarjs commented 1 year ago

Expected Behavior

BrowserStackLocal Server should starts

Actual Behavior

Facing BrowserStackLocal binary is corrupt

Steps to Reproduce the Problem

  1. Create docker container with browserstack-local-java
  2. Try to create the local server.
  3. Facing binary corrupt issue with docker added or automatic downloaded binary.

browserstack local arguments

Screenshot 2023-04-28 at 5 14 54 PM

Platform details

  1. browserstack-local-java version: 1.0.3
  2. java version: 8
  3. os type and version: Ubuntu 20 LTS 64

Details

When trying to start local server in docker container facing this binary corrupt issue. Please let me know if more information is requried.

image

grandEL007 commented 1 year ago

Hey,

Please confirm the location of the binary.

As a debugging measure please try out the following

1.)cd into the ~./browserstack folder where the *.exe file of Browserstack local 2) run this command "rm BrowserStackLocal.exe" post which trigger the test and let the script re-install and connect again from language bindings. 3.) If the download is automated please make sure the binary is in the same location.

Thanks.