Re: BrowserMob Proxy with HTTPS sites result in "Error code: ssl_error_internal_error_alert".

4,926 views
Skip to first unread message
Message has been deleted
Message has been deleted

Michael

unread,
Sep 19, 2013, 3:18:04 PM9/19/13
to browserm...@googlegroups.com
When I try to run the tests with the BrowserMob Proxy active I end up with the following error when the site is an HTTPS site wit ha "self-signed" certificate:

Secure Connection Failed
An error occurred during a connection to ...
Peer reports it experienced an internal error.
(Error code: ssl_error_internal_error_alert)
The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
Please contact the website owners to inform them of this problem. Alternatively, use the command found in the help menu to report this broken site.

Is there something I can do, when starting the proxy for instance, that could get around this issue?

I am running with:

BrowserMob Proxy 2.0-beta-6
Selenium/WebDriver v2.35
FireFox v23.0

Michael.

Patrick Lightbody

unread,
Sep 19, 2013, 6:47:47 PM9/19/13
to browserm...@googlegroups.com
Michael,

Please share the URL and/or Selenium test you're using. Thanks.

Patrick

--
 
---
You received this message because you are subscribed to the Google Groups "BrowserMob Proxy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to browsermob-pro...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Michael

unread,
Sep 20, 2013, 7:53:46 AM9/20/13
to browserm...@googlegroups.com
Hello, Patrick.

Well the URL is internal so you will not have access.

As for the test all it does, basically, is start the proxy and then open the URL. If I don't start the proxy the page comes up fine. But when I do I get the error I mentioned earlier.

Here is the code that starts the proxy:

    public static boolean startProxy(FirefoxProfile pProfile, DesiredCapabilities pCapabilities, boolean pLog)
    {
        boolean result = false;
       
        try
        {
            // Note: To create a new Proxy using a dynamically selected port use "new ProxyServer(0)".
            proxyServer = new ProxyServer(9090);
            proxyServer.start();
            proxyServer.setCaptureHeaders(true);
            proxyServer.setCaptureContent(true);

            Proxy proxy = proxyServer.seleniumProxy();
            if (pProfile != null)
            {
                // Allowing untrusted certificates.
                pProfile.setAcceptUntrustedCertificates(true);
                pProfile.setAssumeUntrustedCertificateIssuer(false);

                pProfile.setProxyPreferences(proxy);
            }
           
            pCapabilities.setCapability(CapabilityType.PROXY, proxy);
           
            if (pLog)
            {
                Log.insert("A Proxy has been started.", Log.TYPE_NONE);
            }
           
            result = true;
        }
        catch (Exception e)
        {
            proxyServer = null;
           
            if (pLog)
            {
                StackTraceElement[] stackTrace = e.getStackTrace();
                StringBuffer buffer = new StringBuffer();
                for (StackTraceElement element: stackTrace)
                {
                    buffer.append("<br>" + element.toString());
                }
               
                Log.insert("An attempt to start a Proxy was made but it has failed - " +
                    "Network traffic capturing will not be possible: " + e.getMessage() +
                    Log.writeOnCollapseDiv(buffer.toString(), false), Log.TYPE_WARN);
            }
        }
       
        return result;
    }

Michael

unread,
Sep 23, 2013, 3:16:49 PM9/23/13
to browserm...@googlegroups.com
I've been slaving at this a little more, trying to find a way for it to work, and so far all that I have discovered is that I can get it to work with FireFox v19.x if it (FireFox) is setup to use "SSL 3.0"

Note: This is available via "Tools -> Options -> Advanced -> Encryption -> Protocols".

But we don't have the "Encrytion" tab when in v23.x so I have yet to get it working with this version.

Michael

Patrick Lightbody

unread,
Sep 30, 2013, 12:41:44 AM9/30/13
to browserm...@googlegroups.com
Sounds like the server is sending back SSL in a way that BMP might not be compatible for. The best thing would be if you could reproduce the server environment as close as possible since you can't share the internal URL. For example, could you get me the Nginx or Apache configure and distill it down to the bare minimum? Basically, the more you can help me reproduce the problem the better chance I have at helping you fix the core issue.


--

Michael

unread,
Oct 2, 2013, 9:38:27 AM10/2/13
to browserm...@googlegroups.com
Actually, I was able to reproduce this problem using the following site:

Perhaps you could give that a try and see if you get this same error.

Michael

unread,
Oct 7, 2013, 7:34:26 AM10/7/13
to browserm...@googlegroups.com
Hello, Patrick.

So? Where you able to reproduce the problem with the Google site?

Michael.

Patrick Lightbody

unread,
Oct 7, 2013, 7:35:13 AM10/7/13
to browserm...@googlegroups.com
Haven't even looked -- real life is taking it's toll. It's 4:30am and I got up early to try to tackle some of this stuff. We'll see.

Michael

unread,
Oct 18, 2013, 7:17:33 AM10/18/13
to browserm...@googlegroups.com
Hello, Patrick.

So? Has life left you a few minutes these past few weeks to look a little more at this issue?

Michael

Patrick Lightbody

unread,
Oct 18, 2013, 12:23:13 PM10/18/13
to browserm...@googlegroups.com
Not yet :( My day job (New Relic) has a big user conference next week so been heads down on that too. But I am very annoyed that I have 30+ emails in my personal inbox all related to BMP so I am hoping to knock a bunch out this weekend. Wish me luck! (or send patches!)

Patrick Lightbody

unread,
Oct 28, 2013, 12:23:17 AM10/28/13
to browserm...@googlegroups.com
Michael,

Finally got a chance to try this out and it's working fine. I checked in a test (see SslTest.java) and also manually verified it works with Firefox. The manual steps were:

1) Start up BMP on the command line


3) Open Firefox, ensure CyberVillians CA is installed, and configure to use proxy localhost:9090

4) Go to google.ca

Where in these steps does it break down for you?

Patrick

Michael

unread,
Oct 28, 2013, 10:04:36 AM10/28/13
to browserm...@googlegroups.com
Hello, Patrick.

Well, in my case it fails when I try to get into "https://www.google.ca" but I am not doing it manually - I am doing it via Selenium/WebDriver.
Perhaps the problem only occurs when WebDriver is attempting to access an https site with a "self-signed" certificate via the proxy.

Well, if you are able to try it this way then great. Otherwise... thanks anyway.

Michael

Patrick Lightbody

unread,
Oct 28, 2013, 10:10:03 AM10/28/13
to browserm...@googlegroups.com
Sounds like maybe the browser that Selenium is launching isn't using the CyberVillians CA. Maybe pause the test midway through and manually check the browser preferences? 

Sent from my iPhone
--

Michael

unread,
Oct 29, 2013, 7:31:07 AM10/29/13
to browserm...@googlegroups.com
No. I've checked that. While my test is running (and failing to load the pages) I brought up the View -> Options menu and went into Certificates -> View Certificates -> Servers and "CyberVillians.com" was the very first one listed.

But... I came across a machine where it works... FireFox 23, Windows 7, the proxy is active and it has no problem bringing up the sites I have been testing with and which fail on all other machines. So I'm thinking that there is something configured differently on this baby that allows the test to get around the problem. An add-on perhaps (even if I had already tested that theory a few weeks ago).

Anyway, at least now I have a possibility of finding something that could make it work. Wish me luck.

:)

Michael

Michael

unread,
Oct 29, 2013, 11:31:38 AM10/29/13
to browserm...@googlegroups.com
Hello, Patrick.

I have discovered more data concerning this problem...

When the proxy is not running I can always bring up the following page:

    https://www.google.ca

But, when it is enabled/loaded this site is only accessible when:

    FireFox is v19.x.
    FireFox is v23.x AND the JRE used is jre6 (version 1.6.0_33-b03).

When the JRE is jre7 (version 1.7.0_09) and the FireFox being used is v23.x than the site fails to come up when the proxy is active.

Perhaps with this you will be able to reproduce something similar. With jre7 being used, have the proxy active and bring up "https://www.google.ca" in FireFox v23.0.
Ideally all of this (the loading of the proxy and the loading of the URL) would be done via Selenium like what I'm doing...

 :)

Anyway, let me know if this helps at all.

Michael.

Michael

unread,
Nov 8, 2013, 3:54:33 PM11/8/13
to browserm...@googlegroups.com
Hello, Patrick.

So? Have you had any time to look into this? Does it work for ya or have you been able to reproduce the problem I am describing?

Let me know.

Thanks.

Michael.

Patrick Lightbody

unread,
Nov 16, 2013, 7:25:28 PM11/16/13
to browserm...@googlegroups.com
Michael,

I’m still unable to reproduce this. I’m using the very latest Firefox (25.0.1) and JRE 1.7.0_09 on my OS X Mavericks mac. Can you try checking out the latest source and running this command:

mvn test -Dtest=MailingListIssuesTest#googleCaSslNotWorkingInFirefox

Here is what my console shows:

[~/code/browsermob-proxy]$ java -version
java version "1.7.0_09"
Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
Java HotSpot(TM) 64-Bit Server VM (build 23.5-b02, mixed mode)
[~/code/browsermob-proxy]$ mvn test -Dtest=MailingListIssuesTest#googleCaSslNotWorkingInFirefox
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building BrowserMob Proxy 2.0-beta-9-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The artifact org.apache.commons:commons-io:jar:1.3.2 has been relocated to commons-io:commons-io:jar:1.3.2
[INFO] 
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ browsermob-proxy ---
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ browsermob-proxy ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 16 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ browsermob-proxy ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ browsermob-proxy ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/plightbo/code/browsermob-proxy/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ browsermob-proxy ---
[INFO] Compiling 1 source file to /Users/plightbo/code/browsermob-proxy/target/test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.10:test (default-test) @ browsermob-proxy ---
[INFO] Surefire report directory: /Users/plightbo/code/browsermob-proxy/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running net.lightbody.bmp.proxy.MailingListIssuesTest
INFO 11/17 00:22:00 n.l.b.p.j.u.Credent~ - Checking Resource aliases
INFO 11/17 00:22:00 n.l.b.p.j.h.HttpSer~ - Version Jetty/5.1.x
INFO 11/17 00:22:00 n.l.b.p.j.u.Contain~ - Started net.lightbody.bmp.proxy.jetty.jetty.servlet.ServletHandler@2916117f
INFO 11/17 00:22:00 n.l.b.p.j.u.Contain~ - Started ServletHttpContext[/echo,/echo]
INFO 11/17 00:22:00 n.l.b.p.j.u.Contain~ - Started HttpContext[/,/]
INFO 11/17 00:22:00 n.l.b.p.j.u.Contain~ - Started net.lightbody.bmp.proxy.jetty.jetty.servlet.ServletHandler@684aaace
INFO 11/17 00:22:00 n.l.b.p.j.u.Contain~ - Started ServletHttpContext[/cookie,/cookie]
INFO 11/17 00:22:00 n.l.b.p.j.u.Contain~ - Started net.lightbody.bmp.proxy.jetty.jetty.servlet.ServletHandler@3a1cd84e
INFO 11/17 00:22:00 n.l.b.p.j.u.Contain~ - Started ServletHttpContext[/jsonrpc,/jsonrpc]
INFO 11/17 00:22:00 n.l.b.p.j.h.SocketL~ - Started SocketListener on 0.0.0.0:8080
INFO 11/17 00:22:00 n.l.b.p.j.u.Contain~ - Started net.lightbody.bmp.proxy.jetty.jetty.Server@4f85aa63
INFO 11/17 00:22:01 n.s.u.i.d.DataBuild~ - No pattern available for 'Other'.
INFO 11/17 00:22:01 n.s.u.i.d.DataBuild~ - No pattern available for 'Personal computer'.
INFO 11/17 00:22:02 n.s.u.i.d.DataBuild~ - No pattern available for 'Other'.
INFO 11/17 00:22:02 n.s.u.i.d.DataBuild~ - No pattern available for 'Personal computer'.
INFO 11/17 00:22:02 n.l.b.p.j.h.HttpSer~ - Version Jetty/5.1.x
INFO 11/17 00:22:02 n.l.b.p.j.u.Contain~ - Started HttpContext[/,/]
INFO 11/17 00:22:02 n.l.b.p.j.h.SocketL~ - Started SocketListener on 0.0.0.0:8081
INFO 11/17 00:22:02 n.l.b.p.j.u.Contain~ - Started net.lightbody.bmp.proxy.jetty.jetty.Server@33931942
INFO 11/17 00:22:02 n.l.b.p.j.h.HttpSer~ - Version Jetty/5.1.x
INFO 11/17 00:22:02 n.l.b.p.j.u.Contain~ - Started HttpContext[/,/]
INFO 11/17 00:22:02 n.l.b.p.j.h.SocketL~ - Started SocketListener on 0.0.0.0:4444
INFO 11/17 00:22:02 n.l.b.p.j.u.Contain~ - Started net.lightbody.bmp.proxy.jetty.jetty.Server@14ea1f1d
INFO 11/17 00:22:17 n.l.b.p.j.h.SocketL~ - Started SocketListener on 0.0.0.0:62383
INFO 11/17 00:22:18 n.l.b.p.j.h.SocketL~ - Started SocketListener on 0.0.0.0:62391
INFO 11/17 00:22:18 n.l.b.p.j.h.SocketL~ - Started SocketListener on 0.0.0.0:62395
INFO 11/17 00:22:18 n.l.b.p.j.h.SocketL~ - Started SocketListener on 0.0.0.0:62398
INFO 11/17 00:22:19 n.l.b.p.j.h.SocketL~ - Started SocketListener on 0.0.0.0:62402
INFO 11/17 00:22:19 n.l.b.p.j.u.Threade~ - Stopping Acceptor [SSL: ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=62398]]
INFO 11/17 00:22:19 n.l.b.p.j.h.SocketL~ - Stopped SocketListener on 0.0.0.0:62398
INFO 11/17 00:22:19 n.l.b.p.j.u.Threade~ - Stopping Acceptor [SSL: ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=62391]]
INFO 11/17 00:22:19 n.l.b.p.j.h.SocketL~ - Stopped SocketListener on 0.0.0.0:62391
INFO 11/17 00:22:19 n.l.b.p.j.u.Threade~ - Stopping Acceptor [SSL: ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=62383]]
INFO 11/17 00:22:19 n.l.b.p.j.h.SocketL~ - Stopped SocketListener on 0.0.0.0:62383
INFO 11/17 00:22:19 n.l.b.p.j.u.Threade~ - Stopping Acceptor [SSL: ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=62402]]
INFO 11/17 00:22:19 n.l.b.p.j.h.SocketL~ - Stopped SocketListener on 0.0.0.0:62402
INFO 11/17 00:22:19 n.l.b.p.j.u.Threade~ - Stopping Acceptor [SSL: ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=62395]]
INFO 11/17 00:22:19 n.l.b.p.j.h.SocketL~ - Stopped SocketListener on 0.0.0.0:62395
INFO 11/17 00:22:19 n.l.b.p.j.u.Threade~ - Stopping Acceptor ServerSocket[addr=/0.0.0.0,port=0,localport=4444]
INFO 11/17 00:22:20 n.l.b.p.j.h.SocketL~ - Stopped SocketListener on 0.0.0.0:4444
INFO 11/17 00:22:20 n.l.b.p.j.u.Contain~ - Stopped HttpContext[/,/]
INFO 11/17 00:22:20 n.l.b.p.j.u.Contain~ - Stopped net.lightbody.bmp.proxy.jetty.jetty.Server@14ea1f1d
INFO 11/17 00:22:20 n.l.b.p.j.u.Threade~ - Stopping Acceptor ServerSocket[addr=/0.0.0.0,port=0,localport=8081]
INFO 11/17 00:22:20 n.l.b.p.j.h.SocketL~ - Stopped SocketListener on 0.0.0.0:8081
INFO 11/17 00:22:20 n.l.b.p.j.u.Contain~ - Stopped HttpContext[/,/]
INFO 11/17 00:22:20 n.l.b.p.j.u.Contain~ - Stopped net.lightbody.bmp.proxy.jetty.jetty.Server@33931942
INFO 11/17 00:22:20 n.l.b.p.j.u.Threade~ - Stopping Acceptor ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=8080]
INFO 11/17 00:22:20 n.l.b.p.j.h.SocketL~ - Stopped SocketListener on 0.0.0.0:8080
INFO 11/17 00:22:20 n.l.b.p.j.u.Contain~ - Stopped net.lightbody.bmp.proxy.jetty.jetty.servlet.ServletHandler@2916117f
INFO 11/17 00:22:20 n.l.b.p.j.u.Contain~ - Stopped ServletHttpContext[/echo,/echo]
INFO 11/17 00:22:20 n.l.b.p.j.u.Contain~ - Stopped HttpContext[/,/]
INFO 11/17 00:22:20 n.l.b.p.j.u.Contain~ - Stopped net.lightbody.bmp.proxy.jetty.jetty.servlet.ServletHandler@684aaace
INFO 11/17 00:22:20 n.l.b.p.j.u.Contain~ - Stopped ServletHttpContext[/cookie,/cookie]
INFO 11/17 00:22:20 n.l.b.p.j.u.Contain~ - Stopped net.lightbody.bmp.proxy.jetty.jetty.servlet.ServletHandler@3a1cd84e
INFO 11/17 00:22:20 n.l.b.p.j.u.Contain~ - Stopped ServletHttpContext[/jsonrpc,/jsonrpc]
INFO 11/17 00:22:20 n.l.b.p.j.u.Contain~ - Stopped net.lightbody.bmp.proxy.jetty.jetty.Server@4f85aa63
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.405 sec

Results :

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 24.031s
[INFO] Finished at: Sat Nov 16 16:22:20 PST 2013
[INFO] Final Memory: 15M/41M
[INFO] ------------------------------------------------------------------------
[~/code/browsermob-proxy]$ 


Michael

unread,
Nov 20, 2013, 1:33:20 PM11/20/13
to browserm...@googlegroups.com
Hello, Patrick.

I changed my project's POM file so that the BMP version used in no longer "2.0-beta-6" but rather "2.0-beta-7". Once I did that all appears to be back to working as expected again.

YES!

What is the latest version? You have some doc. that mentions "2.0-beta-9" but that doesn't seem available. I tried "2.0-beta-8" and that didn't seem available either.

Anyway, it works again so I am good for now. Thanks.

Michael.

Patrick Lightbody

unread,
Nov 21, 2013, 1:52:39 AM11/21/13
to browserm...@googlegroups.com
2.0-beta-9 is the latest. Check out http://bmp.lightbody.net it has the maven instructions. Also you can see it here:

Marcel Kowynia

unread,
Nov 22, 2013, 12:03:32 PM11/22/13
to browserm...@googlegroups.com
Patrick,
I have the same issue with a "self signed" certificate where using web driver without browsermob my certificate works just fine and webdriver loads the HTTPS url. If I go through browsermob I just get this in Firefox:

The connection was reset

The connection to the server was reset while the page was loading.

    The site could be temporarily unavailable or too busy. Try again in a few moments.
    If you are unable to load any pages, check your computer's network connection.
    If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.

I pause the test for a minute and can confirm that the certificate is installed.
Any thoughts?

Marcel Kowynia

unread,
Nov 22, 2013, 12:04:49 PM11/22/13
to browserm...@googlegroups.com
Just to add I'm running BrowserMob Proxy 2.0-beta-9, WebDriver 2.37.0 and Firefox 25.0.

Patrick Lightbody

unread,
Nov 22, 2013, 11:43:06 PM11/22/13
to browserm...@googlegroups.com
Marcel,

What is displayed in the browser really doesn't help me debug the problem. The logs in BMP + an actual working example site with a self-signed certificate that reproduces the issue is the best thing to help me fix it.

Patrick

Christian Schneider

unread,
Nov 23, 2013, 12:13:02 PM11/23/13
to browserm...@googlegroups.com

Hi,
I had the same problem when I specified apache http client 4.3.1 in maven. With 4.2.3 it worked fine.

Patrick Lightbody

unread,
Nov 23, 2013, 12:47:22 PM11/23/13
to browserm...@googlegroups.com
Yes SSL is completely broken in 4.3. It's a known issue. 

Sent from my iPhone

Dong Ming

unread,
Aug 14, 2014, 9:27:20 PM8/14/14
to browserm...@googlegroups.com
Can you elaborate on how we should fix this issue?  I get this issue consistently as well, see video: https://saucelabs.com/tests/10c97abf8af44e359d08537c8ddfa044 (it navigates to the first page fine but on login the connection resets).  The site is using a self signed cert.

I tried adding the following to my pom.xml and it gave a different runtime error (the test did not even start):
        <dependency>
            <groupId>org.apache.httpcomponents</groupId>
            <artifactId>httpclient</artifactId>
            <version>4.2.3</version>
        </dependency>

java.lang.NoClassDefFoundError: org/apache/http/conn/HttpClientConnectionManager
at org.openqa.selenium.remote.HttpCommandExecutor.<init>(HttpCommandExecutor.java:99)
at org.openqa.selenium.remote.HttpCommandExecutor.<init>(HttpCommandExecutor.java:82)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:153)
at com.paperg.webdrivertasklib.webdriver.WebDriverUtils.createSauceRemoteWebDriver(WebDriverUtils.java:62)
at com.paperg.webdrivertests.performance.PageLoadTest.startWebDriver(PageLoadTest.java:62)
at com.paperg.webdrivertests.TestBase.beforeClass(TestBase.java:92)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:564)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:138)
at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:175)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:107)
at org.testng.TestRunner.privateRun(TestRunner.java:767)
at org.testng.TestRunner.run(TestRunner.java:617)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:343)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:305)
at org.testng.SuiteRunner.run(SuiteRunner.java:254)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)
at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:125)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)
Caused by: java.lang.ClassNotFoundException: org.apache.http.conn.HttpClientConnectionManager
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 36 more


FYI I'm trying to run browsermob with webdriver remotely on SauceLabs.  I'm using 2.0.9-beta version of browsermob-proxy.

Thanks,
Dong

Patrick Lightbody

unread,
Aug 31, 2014, 12:41:16 PM8/31/14
to browserm...@googlegroups.com
Dong,

Can you go ahead and try to build from source (2.0-beta-10-SNAPSHOT) and see if that helps? We just got a great pull request that seems fix most of the known SSL issues.

Patrick

For more options, visit https://groups.google.com/d/optout.

Christian Schneider

unread,
Sep 1, 2014, 3:55:35 PM9/1/14
to browserm...@googlegroups.com
My issue got fixed.

Thanks

Satish Kumar

unread,
Nov 21, 2014, 6:08:41 AM11/21/14
to browserm...@googlegroups.com
Hello Christian,
How did you fix the issue and what version of selenium java are you currently using ?
I still face this issue.

Ramyak Bhattacharyya

unread,
Nov 25, 2014, 5:48:25 AM11/25/14
to browserm...@googlegroups.com
Hello Christian,
How did you fix the issue and what are the version of selenium java, BMP, Chrome driver  you are currently using ?
I still face this issue.Please help.

Charles Radley

unread,
Dec 4, 2014, 6:45:18 PM12/4/14
to browserm...@googlegroups.com

I experience this problem with Selenium 2.42.0 and later ... it works fine in Selenium 2.41.0 and earlier  ... any fix yet ?

This is in my POM.xml:

<dependency>
      <groupId>org.apache.httpcomponents</groupId>
        <artifactId>httpclient</artifactId>
       <version>4.3.6</version>
    </dependency>

I tried version:

4.3.5

same thing.


Christian Schneider

unread,
Dec 5, 2014, 12:58:08 PM12/5/14
to browserm...@googlegroups.com
Hi,
if i remember right, it was this pullrequest fixing those issues: https://github.com/lightbody/browsermob-proxy/pull/97

But i forgot with which Selenium version i tested it.

You should try to check it out by yourself and then run the current version (beta-10-snapshot). I don't know when lightbody releases it.

Best Regards,
Christian.

Reply all
Reply to author
Forward
0 new messages