{"action":"created","issue":{"url":"https://api.github.com/repos/technomancy/leiningen/issues/2202","repository_url":"https://api.github.com/repos/technomancy/leiningen","labels_url":"https://api.github.com/repos/technomancy/leiningen/issues/2202/labels{/name}","comments_url":"https://api.github.com/repos/technomancy/leiningen/issues/2202/comments","events_url":"https://api.github.com/repos/technomancy/leiningen/issues/2202/events","html_url":"https://github.com/technomancy/leiningen/issues/2202","id":176145479,"node_id":"MDU6SXNzdWUxNzYxNDU0Nzk=","number":2202,"title":"lein repl fails on internet in China","user":{"login":"jiangts","id":4052045,"node_id":"MDQ6VXNlcjQwNTIwNDU=","avatar_url":"https://avatars1.githubusercontent.com/u/4052045?v=4","gravatar_id":"","url":"https://api.github.com/users/jiangts","html_url":"https://github.com/jiangts","followers_url":"https://api.github.com/users/jiangts/followers","following_url":"https://api.github.com/users/jiangts/following{/other_user}","gists_url":"https://api.github.com/users/jiangts/gists{/gist_id}","starred_url":"https://api.github.com/users/jiangts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiangts/subscriptions","organizations_url":"https://api.github.com/users/jiangts/orgs","repos_url":"https://api.github.com/users/jiangts/repos","events_url":"https://api.github.com/users/jiangts/events{/privacy}","received_events_url":"https://api.github.com/users/jiangts/received_events","type":"User","site_admin":false},"labels":[{"id":6659331,"node_id":"MDU6TGFiZWw2NjU5MzMx","url":"https://api.github.com/repos/technomancy/leiningen/labels/usability","name":"usability","color":"d7e102","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-10T01:09:18Z","updated_at":"2018-11-30T10:33:03Z","closed_at":null,"author_association":"NONE","body":"Trying `lein repl` fails when in China(!!).\n\nJust got off the plane and tried to start a new repl session and got this baffling error message.\n\n```\nException in thread \"main\" java.net.ConnectException: Connection refused, compiling:(/private/var/folders/sn/1n8d3s9s6r158gt5rzv0xz080000gp/T/form-init5622892525702900564.clj:1:125)\n    at clojure.lang.Compiler.load(Compiler.java:7391)\n    at clojure.lang.Compiler.loadFile(Compiler.java:7317)\n    at clojure.main$load_script.invokeStatic(main.clj:275)\n    at clojure.main$init_opt.invokeStatic(main.clj:277)\n    at clojure.main$init_opt.invoke(main.clj:277)\n    at clojure.main$initialize.invokeStatic(main.clj:308)\n    at clojure.main$null_opt.invokeStatic(main.clj:342)\n    at clojure.main$null_opt.invoke(main.clj:339)\n    at clojure.main$main.invokeStatic(main.clj:421)\n    at clojure.main$main.doInvoke(main.clj:384)\n    at clojure.lang.RestFn.invoke(RestFn.java:421)\n    at clojure.lang.Var.invoke(Var.java:383)\n    at clojure.lang.AFn.applyToHelper(AFn.java:156)\n    at clojure.lang.Var.applyTo(Var.java:700)\n    at clojure.main.main(main.java:37)\nCaused by: java.net.ConnectException: Connection refused\n    at java.net.PlainSocketImpl.socketConnect(Native Method)\n    at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)\n    at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)\n    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)\n    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)\n    at java.net.Socket.connect(Socket.java:589)\n    at java.net.Socket.connect(Socket.java:538)\n    at java.net.Socket.<init>(Socket.java:434)\n    at java.net.Socket.<init>(Socket.java:211)\n    at clojure.tools.nrepl$connect.invokeStatic(nrepl.clj:184)\n    at clojure.tools.nrepl$connect.doInvoke(nrepl.clj:174)\n    at clojure.lang.RestFn.invoke(RestFn.java:421)\n    at clojure.tools.nrepl.ack$send_ack.invokeStatic(ack.clj:47)\n    at clojure.tools.nrepl.ack$send_ack.invoke(ack.clj:45)\n    at clojure.tools.nrepl.server$start_server.invokeStatic(server.clj:157)\n    at clojure.tools.nrepl.server$start_server.doInvoke(server.clj:121)\n    at clojure.lang.RestFn.invoke(RestFn.java:619)\n    at user$eval17285.invokeStatic(form-init5622892525702900564.clj:1)\n    at user$eval17285.invoke(form-init5622892525702900564.clj:1)\n    at clojure.lang.Compiler.eval(Compiler.java:6927)\n    at clojure.lang.Compiler.eval(Compiler.java:6917)\n    at clojure.lang.Compiler.eval(Compiler.java:6917)\n    at clojure.lang.Compiler.load(Compiler.java:7379)\n    ... 14 more\n```\n\nTried everything I could think of, and finally tried turning off the internet and trying it again, and voila, it worked! First, wondering what `lein repl` is trying to request on the network, and second, a graceful failure/helpful error message would save others lots of time\n"},"comment":{"url":"https://api.github.com/repos/technomancy/leiningen/issues/comments/443161802","html_url":"https://github.com/technomancy/leiningen/issues/2202#issuecomment-443161802","issue_url":"https://api.github.com/repos/technomancy/leiningen/issues/2202","id":443161802,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MzE2MTgwMg==","user":{"login":"winks","id":44402,"node_id":"MDQ6VXNlcjQ0NDAy","avatar_url":"https://avatars3.githubusercontent.com/u/44402?v=4","gravatar_id":"","url":"https://api.github.com/users/winks","html_url":"https://github.com/winks","followers_url":"https://api.github.com/users/winks/followers","following_url":"https://api.github.com/users/winks/following{/other_user}","gists_url":"https://api.github.com/users/winks/gists{/gist_id}","starred_url":"https://api.github.com/users/winks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/winks/subscriptions","organizations_url":"https://api.github.com/users/winks/orgs","repos_url":"https://api.github.com/users/winks/repos","events_url":"https://api.github.com/users/winks/events{/privacy}","received_events_url":"https://api.github.com/users/winks/received_events","type":"User","site_admin":false},"created_at":"2018-11-30T10:33:03Z","updated_at":"2018-11-30T10:33:03Z","author_association":"COLLABORATOR","body":"This is very unfortunate, but it seems GitHub uses Amazon behind the scenes to host the release artifacts.\r\nI might be remembering this incorrectly but I recall @technomancy saying we don't want to host on 2 different URLs, e.g. on leiningen.org. So unless we'd get a second (semi-)official mirror I don't see a way out here."}}
{"actor":{"display_login":"winks"}}