Maybe you can post your config.json file in entirety, maybe you're missing a comma somewhere.
Here's mine and it's working for reference.
{
"threads": 2,
"proxy": {
"listen": "0.0.0.0:8546",
"clientTimeout": "3m",
"blockRefreshInterval": "500ms"
},
"frontend": {
"listen": "0.0.0.0:80"
},
"upstreamCheckInterval": "5s",
"upstream": [
{
"name": "main",
"url": "http://127.0.0.1:8545",
"timeout": "10s"
},
{
"name": "backup",
"url": "http://127.0.0.2:8545",
"timeout": "10s"
}
],
"newrelicEnabled": false,
"newrelicName": "MyEtherProxy",
"newrelicKey": "SECRET_KEY",
"newrelicVerbose": false
}
It's not working. I tell you 192.168.1.X:8080/stats shows json formated info so that part is ok, 192.168.1.X:8080 show the text "404 page not found" on white background i posted screen before that even not standard output from the browser when real page not found, and tells us that it's part working also but not properly.
I believe that output is exception from javascript, am i right ? But i can't find this in code from here https://github.com/sammy007/ether-proxy/tree/v0.0.1/www
So this is not a real problem for me, cause i got experience with json format and already make simple refresher on java using Json library. And in the end could anybody explain what the hell is this in conf file ?
"proxy": {
"listen": "0.0.0.0:8546",
And this is working.