{"action":"created","issue":{"url":"https://api.github.com/repos/lightbody/browsermob-proxy/issues/281","labels_url":"https://api.github.com/repos/lightbody/browsermob-proxy/issues/281/labels{/name}","comments_url":"https://api.github.com/repos/lightbody/browsermob-proxy/issues/281/comments","events_url":"https://api.github.com/repos/lightbody/browsermob-proxy/issues/281/events","html_url":"https://github.com/lightbody/browsermob-proxy/issues/281","id":95733273,"number":281,"title":"Proxy Sets Random Port","user":{"login":"jsl303","id":11588295,"avatar_url":"https://avatars.githubusercontent.com/u/11588295?v=3","gravatar_id":"","url":"https://api.github.com/users/jsl303","html_url":"https://github.com/jsl303","followers_url":"https://api.github.com/users/jsl303/followers","following_url":"https://api.github.com/users/jsl303/following{/other_user}","gists_url":"https://api.github.com/users/jsl303/gists{/gist_id}","starred_url":"https://api.github.com/users/jsl303/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsl303/subscriptions","organizations_url":"https://api.github.com/users/jsl303/orgs","repos_url":"https://api.github.com/users/jsl303/repos","events_url":"https://api.github.com/users/jsl303/events{/privacy}","received_events_url":"https://api.github.com/users/jsl303/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-17T20:02:50Z","updated_at":"2015-07-25T23:16:38Z","closed_at":null,"body":"I use BMP 2.1.0-beta-2-SNAPSHOT and selenium-firefox-driver 2.46.0.\r\nEven if I set \r\nproxy.setHttpProxy(\"localhost:4397\");\r\nAfter it opens the Firefox, if I go to options - advance - network - proxy settings\r\n\"Both http and ssl are set to one random port.\r\nThen if I go to site with ssl, I get\r\n400 The plain HTTP request was sent to HTTPS port\r\n400 Bad Request\r\nThe plain HTTP request was sent to HTTPS port\r\nnginx/1.4.2\r\nIs this BMP problem or selenium?\r\nThanks,"},"comment":{"url":"https://api.github.com/repos/lightbody/browsermob-proxy/issues/comments/124912210","html_url":"https://github.com/lightbody/browsermob-proxy/issues/281#issuecomment-124912210","issue_url":"https://api.github.com/repos/lightbody/browsermob-proxy/issues/281","id":124912210,"user":{"login":"jekh","id":9272923,"avatar_url":"https://avatars.githubusercontent.com/u/9272923?v=3","gravatar_id":"","url":"https://api.github.com/users/jekh","html_url":"https://github.com/jekh","followers_url":"https://api.github.com/users/jekh/followers","following_url":"https://api.github.com/users/jekh/following{/other_user}","gists_url":"https://api.github.com/users/jekh/gists{/gist_id}","starred_url":"https://api.github.com/users/jekh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jekh/subscriptions","organizations_url":"https://api.github.com/users/jekh/orgs","repos_url":"https://api.github.com/users/jekh/repos","events_url":"https://api.github.com/users/jekh/events{/privacy}","received_events_url":"https://api.github.com/users/jekh/received_events","type":"User","site_admin":false},"created_at":"2015-07-25T23:16:38Z","updated_at":"2015-07-25T23:16:38Z","body":"When you use ClientUtil.createSeleniumProxy, you don't need to set the proxy ports explicitly. Have you tried following the example in the readme that I referred to earlier? Does that work?"}}