{"action":"opened","issue":{"url":"https://api.github.com/repos/ethereum/wiki/issues/35","labels_url":"https://api.github.com/repos/ethereum/wiki/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/ethereum/wiki/issues/35/comments","events_url":"https://api.github.com/repos/ethereum/wiki/issues/35/events","html_url":"https://github.com/ethereum/wiki/issues/35","id":114908609,"number":35,"title":"JSON-RPC serve examples don't work","user":{"login":"dbabits","id":2488222,"avatar_url":"https://avatars.githubusercontent.com/u/2488222?v=3","gravatar_id":"","url":"https://api.github.com/users/dbabits","html_url":"https://github.com/dbabits","followers_url":"https://api.github.com/users/dbabits/followers","following_url":"https://api.github.com/users/dbabits/following{/other_user}","gists_url":"https://api.github.com/users/dbabits/gists{/gist_id}","starred_url":"https://api.github.com/users/dbabits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbabits/subscriptions","organizations_url":"https://api.github.com/users/dbabits/orgs","repos_url":"https://api.github.com/users/dbabits/repos","events_url":"https://api.github.com/users/dbabits/events{/privacy}","received_events_url":"https://api.github.com/users/dbabits/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-03T20:59:59Z","updated_at":"2015-11-03T20:59:59Z","closed_at":null,"body":"I am always getting one of these 2 errors below no matter which RPC function i try.\r\nWhat am i doing wrong?\r\n\r\nroot@58fe424912ee:/# geth --datadir /tmp/eth/42 --port 30303 --password <(echo -n notsosecret) --unlock 0 --rpcport 8545 &\r\n\r\n[ec2-user@ip-172-31-38-111 download]$ curl -X POST --data '{\"jsonrpc\":\"2.0\",\"method\":\"eth_accounts\",\"params\":[],\"id\":1}' http://127.0.0.1:8545\r\ncurl: (56) Recv failure: Connection reset by peer\r\n\r\n[ec2-user@ip-172-31-38-111 bank.js]$ curl -X POST --data '{\"jsonrpc\":\"2.0\",\"method\":\"net_version\",\"params\":[],\"id\":1}' http://127.0.0.1:8545                                                                                                 \r\ncurl: (52) Empty reply from server"}}