{"action":"created","issue":{"url":"https://api.github.com/repos/oesmith/puffing-billy/issues/43","repository_url":"https://api.github.com/repos/oesmith/puffing-billy","labels_url":"https://api.github.com/repos/oesmith/puffing-billy/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/oesmith/puffing-billy/issues/43/comments","events_url":"https://api.github.com/repos/oesmith/puffing-billy/issues/43/events","html_url":"https://github.com/oesmith/puffing-billy/issues/43","id":30029495,"number":43,"title":"page.driver.debug not working","user":{"login":"mrbrdo","id":167990,"avatar_url":"https://avatars.githubusercontent.com/u/167990?v=3","gravatar_id":"","url":"https://api.github.com/users/mrbrdo","html_url":"https://github.com/mrbrdo","followers_url":"https://api.github.com/users/mrbrdo/followers","following_url":"https://api.github.com/users/mrbrdo/following{/other_user}","gists_url":"https://api.github.com/users/mrbrdo/gists{/gist_id}","starred_url":"https://api.github.com/users/mrbrdo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrbrdo/subscriptions","organizations_url":"https://api.github.com/users/mrbrdo/orgs","repos_url":"https://api.github.com/users/mrbrdo/repos","events_url":"https://api.github.com/users/mrbrdo/events{/privacy}","received_events_url":"https://api.github.com/users/mrbrdo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2014-03-24T12:31:26Z","updated_at":"2016-10-25T02:59:12Z","closed_at":"2016-05-06T03:47:15Z","body":"I'm using this with Poltergeist and Capybara, and the proxy seems to be working. However, first, after I make a request, I cannot do `Billy.proxy.port` anymore, I get:\r\n\r\n`RuntimeError: eventmachine not initialized: evma_get_sockname from /x/gems/puffing-billy-0.2.3/lib/billy/proxy.rb:32:in get_sockname`\r\n\r\nThen, when I use `page.driver.debug`, it will open my browser as normal but it is then not able to connect to the server and immediately shows the could not connect page.\r\n\r\nIt works fine if I don't set the proxy for Poltergeist."},"comment":{"url":"https://api.github.com/repos/oesmith/puffing-billy/issues/comments/255923084","html_url":"https://github.com/oesmith/puffing-billy/issues/43#issuecomment-255923084","issue_url":"https://api.github.com/repos/oesmith/puffing-billy/issues/43","id":255923084,"user":{"login":"ronwsmith","id":4006875,"avatar_url":"https://avatars.githubusercontent.com/u/4006875?v=3","gravatar_id":"","url":"https://api.github.com/users/ronwsmith","html_url":"https://github.com/ronwsmith","followers_url":"https://api.github.com/users/ronwsmith/followers","following_url":"https://api.github.com/users/ronwsmith/following{/other_user}","gists_url":"https://api.github.com/users/ronwsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/ronwsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ronwsmith/subscriptions","organizations_url":"https://api.github.com/users/ronwsmith/orgs","repos_url":"https://api.github.com/users/ronwsmith/repos","events_url":"https://api.github.com/users/ronwsmith/events{/privacy}","received_events_url":"https://api.github.com/users/ronwsmith/received_events","type":"User","site_admin":false},"created_at":"2016-10-25T02:59:12Z","updated_at":"2016-10-25T02:59:12Z","body":"@adamlangsner your setup seems like overkill.\r\n\r\nYou can just set up billy in your initializer and then skip the later two code sections you mentioned.\r\n\r\nTo do that, pass in the options block from https://github.com/oesmith/puffing-billy/blob/master/lib/billy/browsers/capybara.rb#L27-L32 with your `js_errors` flag."}}
{"actor":{"display_login":"ronwsmith"}}