browserup / browserup-proxy

BrowserUp Proxy is a free utility to watch, test, and manipulate web application network traffic and performance.
https://browserup.com
Apache License 2.0
164 stars 41 forks source link

2.1.0 can't start in standalone mode #263

Closed doublemarket closed 4 years ago

doublemarket commented 4 years ago

Describe the bug

With the 2.1.0 zip file, browserup-proxy can't start with the following error:

$ java -version
java version "1.8.0_77"
Java(TM) SE Runtime Environment (build 1.8.0_77-b03)
Java HotSpot(TM) 64-Bit Server VM (build 25.77-b03, mixed mode)

$ uname -a
Darwin MacBook-Pro-2.local 19.4.0 Darwin Kernel Version 19.4.0: Wed Mar  4 22:28:40 PST 2020; root:xnu-6153.101.6~15/RELEASE_X86_64 x86_64

$ cd browserup-proxy-2.1.0/bin

$ ./browserup-proxy
Running BrowserUp Proxy, powered by LittleProxy.
[INFO  2020-05-21T16:06:25,046 com.browserup.bup.proxy.Main] (main) Starting BrowserUp Proxy version ${project.version}
[INFO  2020-05-21T16:06:25,137 org.eclipse.jetty.util.log] (main) Logging initialized @6091ms to org.eclipse.jetty.util.log.Slf4jLog
[INFO  2020-05-21T16:06:25,290 org.eclipse.jetty.server.Server] (main) jetty-9.4.26.v20200117; built: 2020-01-17T12:35:33.676Z; git: 7b38981d25d14afb4a12ff1f2596756144edf695; jvm 1.8.0_77-b03
[INFO  2020-05-21T16:06:25,317 org.eclipse.jetty.server.session] (main) DefaultSessionIdManager workerName=node0
[INFO  2020-05-21T16:06:25,317 org.eclipse.jetty.server.session] (main) No SessionScavenger set, using defaults
[INFO  2020-05-21T16:06:25,320 org.eclipse.jetty.server.session] (main) node0 Scavenging every 660000ms
May 21, 2020 4:06:25 PM org.glassfish.jersey.internal.inject.Providers checkProviderRuntime
WARNING: A provider io.swagger.v3.jaxrs2.integration.resources.OpenApiResource registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint c
onfiguration problems the provider io.swagger.v3.jaxrs2.integration.resources.OpenApiResource will be ignored.
[INFO  2020-05-21T16:06:26,075 org.hibernate.validator.internal.util.Version] (main) HV000001: Hibernate Validator 6.0.17.Final
May 21, 2020 4:06:26 PM org.glassfish.jersey.internal.Errors logErrors
WARNING: The following warnings have been detected: WARNING: Unknown HK2 failure detected:
MultiException stack 1 of 1
java.lang.NoSuchMethodError: javax.validation.BootstrapConfiguration.getClockProviderClassName()Ljava/lang/String;

(refer to the attached bup.log for the detail)

To Reproduce Steps to reproduce the behavior:

  1. Download the zip
  2. Extract it
  3. Start by running ./browserup-proxy in the bin directory
  4. See error

Expected behavior

It should start without errors.

Screenshots If applicable, add screenshots to help explain your problem.

Please complete the following information:

Additional context

I also tried with the following environments (all are with official images on Docker Hub) but on all of them, browserup-proxy doesn't start with the same error:

I also tried to create an archive from the code with the tag v2.1.0 by running gradlew build --info but using the archive, browserup-proxy doesn't start with the same error as well.

PAVITHRA001 commented 4 years ago

Getting the same issue as above

thiagotrentin commented 4 years ago

Same issue here, although running on windows environment Previous version still working fine

erickubenka commented 4 years ago

Same issue here. Not running on windows or linux as well. :(

dpowell commented 4 years ago

This should be fixed now for Java 8 - 13, please let us know if you continue to have issues.

dkbarn commented 3 years ago

Fixed how? The linked PR shows a number of changes being made in files that are not present in either the 2.1.1 or 2.1.2 releases. Those releases contain an incomplete set of .jar files, and it's unclear how to properly integrate those .jar's into the 2.1.0 release. From what I can tell, 2.1.1 and 2.1.2 are unusable without building from source.