{"action":"closed","issue":{"url":"https://api.github.com/repos/sitespeedio/sitespeed.io/issues/778","repository_url":"https://api.github.com/repos/sitespeedio/sitespeed.io","labels_url":"https://api.github.com/repos/sitespeedio/sitespeed.io/issues/778/labels{/name}","comments_url":"https://api.github.com/repos/sitespeedio/sitespeed.io/issues/778/comments","events_url":"https://api.github.com/repos/sitespeedio/sitespeed.io/issues/778/events","html_url":"https://github.com/sitespeedio/sitespeed.io/issues/778","id":117288524,"number":778,"title":"a way to bypass the google ga-audiences call","user":{"login":"une6","id":5037159,"avatar_url":"https://avatars.githubusercontent.com/u/5037159?v=3","gravatar_id":"","url":"https://api.github.com/users/une6","html_url":"https://github.com/une6","followers_url":"https://api.github.com/users/une6/followers","following_url":"https://api.github.com/users/une6/following{/other_user}","gists_url":"https://api.github.com/users/une6/gists{/gist_id}","starred_url":"https://api.github.com/users/une6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/une6/subscriptions","organizations_url":"https://api.github.com/users/une6/orgs","repos_url":"https://api.github.com/users/une6/repos","events_url":"https://api.github.com/users/une6/events{/privacy}","received_events_url":"https://api.github.com/users/une6/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2015-11-17T05:55:54Z","updated_at":"2016-10-28T09:32:56Z","closed_at":"2016-10-28T09:32:56Z","body":"Hi,\r\n\r\nsorry i've been emailing directly since i got this weird error when submitting an issue, logging out, etc in github. hope it works now.\r\n\r\nbut my issue would be that i'm running sitespeed.io using docker on a china box. and i'm getting the ConnectTimeoutException from BrowserMobProxy. i tried to modify the /etc/hosts to point www.google.com to 127.0.0.1 but unfortunately BrowserMobProxy doesn't seem to be looking at /etc/hosts.. I visited BrowserMobProxy's github page and unfortunately they're using a new version now but they have this option allowNativeDnsFallback. \r\n\r\nor if there's a way to totally turn off anything google related in the sitespeed run.. that would be much better as google is totally blocked in china.. i searched through sitespeed.io, browsertime, browsermob-proxy but couldn't see where this google calls are being done at all :(\r\n\r\ni'm using this command to run docker now, but the --add-hosts doesn't really help. the new ip for www.google.com is still ignored:\r\n```\r\nsudo docker run --add-host=\"www.google.com:127.0.0.1\" --privileged --rm -v /root:/sitespeed.io sitespeedio/sitespeed.io sitespeed.io -b firefox -n 3 --connection cable -r ./temps -u http://www.sitespeed.io --graphiteHost 45.114.117.27 --graphiteNamespace sitespeed.io.china--seleniumServer http://127.0.0.1:4444/wd/hub\r\n```\r\nError log (browsermobproxy.log):\r\n\r\n2015-11-17T02:27:35.442Z - error: stderr:INFO 11/17 02:27:35 n.l.b.p.h.BrowserMo~ - org.apache.http.conn.ConnectTimeoutException: Connect to www.google.com:443 [www.google.com/216.58.221.68] failed: Connection timed out when requesting https://www.google.com/ads/ga-audiences?v=1&aip=1&t=sr&_r=4&tid=UA-36116321-1&cid=567229463.1447727127&jid=1231009400&_v=j40&z=1601173305\r\n\r\n2015-11-17T02:27:35.761Z - error: stderr:WARN 11/17 02:27:35 n.l.b.p.BrowserMobP~ - IOException while trying to report an HTTP error\r\njava.io.IOException: closed\r\n        at net.lightbody.bmp.proxy.jetty.http.HttpOutputStream.prepareOutput(HttpOutputStream.java:444)\r\n        at net.lightbody.bmp.proxy.jetty.http.HttpOutputStream.write(HttpOutputStream.java:413)\r\n        at net.lightbody.bmp.proxy.jetty.http.HttpOutputStream.write(HttpOutputStream.java:406)\r\n        at net.lightbody.bmp.proxy.BrowserMobProxyHandler.reportError(BrowserMobProxyHandler.java:312)\r\n        at net.lightbody.bmp.proxy.BrowserMobProxyHandler.access$200(BrowserMobProxyHandler.java:26)\r\n        at net.lightbody.bmp.proxy.BrowserMobProxyHandler$1.reportError(BrowserMobProxyHandler.java:265)\r\n        at net.lightbody.bmp.proxy.http.BrowserMobHttpClient.execute(BrowserMobHttpClient.java:832)\r\n        at net.lightbody.bmp.proxy.http.BrowserMobHttpClient.execute(BrowserMobHttpClient.java:591)\r\n        at net.lightbody.bmp.proxy.http.BrowserMobHttpRequest.execute(BrowserMobHttpRequest.java:149)\r\n        at net.lightbody.bmp.proxy.BrowserMobProxyHandler.proxyPlainTextRequest(BrowserMobProxyHandler.java:269)\r\n        at net.lightbody.bmp.proxy.selenium.SeleniumProxyHandler.handle(SeleniumProxyHandler.java:185)\r\n        at net.lightbody.bmp.proxy.jetty.http.HttpContext.handle(HttpContext.java:1509)\r\n        at net.lightbody.bmp.proxy.jetty.http.HttpContext.handle(HttpContext.java:1461)\r\n        at net.lightbody.bmp.proxy.jetty.http.HttpServer.service(HttpServer.java:892)\r\n        at net.lightbody.bmp.proxy.jetty.http.HttpConnection.service(HttpConnection.java:815)\r\n        at net.lightbody.bmp.proxy.jetty.http.HttpConnection.handleNext(HttpConnection.java:981)\r\n        at net.lightbody.bmp.proxy.jetty.http.HttpConnection.handle(HttpConnection.java:832)\r\n        at net.lightbody.bmp.proxy.jetty.http.SocketListener.handleConnection(SocketListener.java:245)\r\n        at net.lightbody.bmp.proxy.jetty.util.ThreadedServer.handle(ThreadedServer.java:357)\r\n        at net.lightbody.bmp.proxy.jetty.util.ThreadPool$PoolThread.run(ThreadPool.java:534)\r\n\r\n2015-11-17T02:27:35.762Z - error: stderr:INFO 11/17 02:27:35 n.l.b.p.h.BrowserMo~ - EOFException(java.net.SocketException: Broken pipe) when requesting https://mozorg.cdn.mozilla.net/media/img/firefox/favicon.dc6635050bf5.ico\r\n\r\n2015-11-17T02:27:35.762Z - error: stderr:WARN 11/17 02:27:35 n.l.b.p.j.h.HttpCon~ - Invalid length: Content-Length=8318 written=8192 for https://mozorg.cdn.mozilla.net/media/img/firefox/favicon.dc6635050bf5.ico\r\n\r\n2015-11-17T02:27:36.084Z - error: stderr:INFO 11/17 02:27:36 n.l.b.p.j.h.SocketL~ - Started SocketListener on 0.0.0.0:49182\r\n\r\n2015-11-17T02:27:37.759Z - error: stderr:INFO 11/17 02:27:37 n.l.b.p.j.h.SocketL~ - Started SocketListener on 0.0.0.0:44312\r\n\r\n2015-11-17T02:27:37.984Z - error: stderr:INFO 11/17 02:27:37 n.l.b.p.j.h.SocketL~ - Started SocketListener on 0.0.0.0:36877\r\n\r\n2015-11-17T02:27:38.157Z - error: stderr:INFO 11/17 02:27:38 n.l.b.p.j.h.SocketL~ - Started SocketListener on 0.0.0.0:36250\r\n\r\n2015-11-17T02:27:38.258Z - error: stderr:INFO 11/17 02:27:38 n.l.b.p.j.h.SocketL~ - Started SocketListener on 0.0.0.0:34853\r\n\r\n2015-11-17T02:27:41.250Z - info: Stopped proxy process.\r\n\r\n\r\nkindly advise."}}
{"actor":{"display_login":"soulgalore"}}