Bitcoin Forum

Other => Beginners & Help => Topic started by: Kvist1987 on November 23, 2011, 08:37:55 AM



Title: HTTP request failed: The requested URL returned error: 500
Post by: Kvist1987 on November 23, 2011, 08:37:55 AM
Hey i try to setup a bitcoin pool, but, i have som problem with my puspool or bitcoind, i keep getting
HTTP request failed: The requested URL returned error: 500

hope for help,

i run it on a debian 6

My bitcoin.conf

#testnet=1
server=1
rpcuser=*****
rpcpassword=****
rpctimeout=30
rpcallowip=127.0.0.1
rpcport=8555
gen=0
# Use SSE instructions to try to generate bitcoins faster.
#4way=1
allowreceivebyip=1

and my server.json

{
        # network ports
        "listen" : [
                { "port" : 8342 },

                { "port" : 8341, "protocol" : "http-json" },

                { "port" : 8344, "protocol" : "http-json",
                  "proxy" : "pool.diskokvist.dk" },

                { "host" : "127.0.0.1", "port" : 8338, "protocol" : "binary" }
        ],

        # database settings
        "database" : {
                "engine" : "mysql",
                "host" : "localhost",
                "port" : 3306,
                "name" : "****",
                "username" : "******",
                "password" : "******",
                "sharelog" : true,
                "stmt.pwdb":"SELECT `password` FROM `pool_worker` WHERE `username` = ?",
                "stmt.sharelog":"INSERT INTO shares (rem_host, username, our_result, upstream_result, reason, solution) VALU$

        },

        # cache settings
        "memcached" : {
                "servers" : [
                        { "host" : "127.0.0.1", "port" : 11211 }
                ]
        },

        "pid" : "/tmp/pushpoold.pid",

        # overrides local hostname detection
        # "forcehost" : "localhost.localdomain",

        "log.requests" : "/tmp/request.log",
        "log.shares" : "/tmp/shares.log",

        # the server assumes longpolling (w/ SIGUSR1 called for each blk)
        "longpoll.disable" : false,

        # length of time to cache username/password credentials, in seconds
        "auth.cred_cache.expire" : 75,

        # RPC settings | Notice how this ISN'T port number 8332 this is becuase the same port number should not becuase inco$
        "rpc.url" : "http://127.0.0.1:8555",
        "rpc.user" : "****",
        "rpc.pass" : "***",

        # rewrite returned 'target' to difficulty-1?
        "rpc.target.rewrite" : true
}


Title: Re: HTTP request failed: The requested URL returned error: 500
Post by: carlosgarciaq on February 17, 2012, 01:33:43 PM
Any update on this? I am having the same problem :(


Title: Re: HTTP request failed: The requested URL returned error: 500
Post by: arruah on April 10, 2012, 05:10:23 PM
I have same problem too.


Title: Re: HTTP request failed: The requested URL returned error: 500
Post by: bitsforcoins.com on April 10, 2012, 07:26:34 PM
I believe the problem in the original post is that the line that reads:

Code:
              { "host" : "127.0.0.1", "port" : 8338, "protocol" : "binary" }

should be using port 8555 instead, since that's the assigned rpc port according to the original poster's bitcoin.conf.

Setting up a pool isn't for the faint of heart :)


Title: Re: HTTP request failed: The requested URL returned error: 500
Post by: arruah on May 08, 2012, 04:48:42 AM
It is finished :) I started my pool in Kazakhstan alvarez.sfek.kz:8332


Title: Re: HTTP request failed: The requested URL returned error: 500
Post by: serg771 on April 22, 2013, 08:09:25 AM
guys,  how did you resolve this problem?   i have the same issue   and absolutely have no any idea what to do.