Wednesday, 21 August 2013

browsermob-proxy throws a jetty 403 error when starting a simple proxy server

browsermob-proxy throws a jetty 403 error when starting a simple proxy server

In a simple test to set up a proxy I am getting a 403 Error after browsing
to my localhost and port which states "Forbidden for Proxy" and
"RequestURI=/"
<dependency>
<groupId>net.lightbody.bmp</groupId>
<artifactId>browsermob-proxy</artifactId>
<version>LATEST_VERSION (ex: 2.0-beta-8)</version>
<scope>test</scope>
</dependency>
and my test code is:
ProxyServer server = new ProxyServer(9090);
server.start();
What is causing the 403 when attempting to interact with the server?

No comments:

Post a Comment