Author

Topic: cpuminer return 500 internal server error (Read 207 times)

sr. member
Activity: 1249
Merit: 297
May 27, 2020, 02:05:01 AM
#2
Hi, not sure what is wrong, but

try losing the spaces "rpcuser=user"

If the wallet is on the same PC as the miner use "rpcallowip=127.0.0.1"
any additional PC used for mining can also be allow using "rpcallowip=192.168.0.139"

I don't understand these 3 lines
"netstat -anp |grep 8486
127.0.0.1:8486 -listen
0 ::1:8486 -listen"


I would re-write the config like this
rpcuser=user
rpcpassword=pass
server=1
daemon=1
listen=1
port=8486
rpcport=8487
rpcallowip=127.0.0.1
# rpcallowip=192.168.0.139 any additional mining PCs you want to point at the 1 wallet
addnode=192.168.0.139

then
./minerd -0 127.0.0.1:8487 -u user -p pass -a sha256d --no-longpoll --no-getwork --no-stratum --coinbase-addr =3E~~~~~ -t 4


Hope that helps
J




first sorry about my english

i'm study bitcoin

so develop my own altcoin basic bitcoin

in my virtualbox use ubuntuA, ubuntuB

my altcoin.conf
rpcuser = user
rpcpassword=pass
addnode=192.168.0.139
rpcallowip=192.168.0.0/16

netstat -anp |grep 8486
127.0.0.1:8486 -listen
0 ::1:8486 -listen

8486 is my port

and use cpuminer

./minerd -0 127.0.0.1:8486 -u user -p pass -a sha256d --no-longpoll --no-getwork --no-stratum --coinbase-addr =3E~~~~~ -t 4

and return

4 miner threads started using sha256d algorithm
binding thread 0 to cpu0
binding thread 1 to cpu1
binding thread 2 to cpu2
binding thread 3 to cpu3

HTTP request failed the requested url returned error : 500 internal server error
json_rpc_call failed retry after 30 seconds

ㅠㅠ i want make my first genesisblock.. and make my own altcoin.. please help me..
newbie
Activity: 1
Merit: 0
first sorry about my english

i'm study bitcoin

so develop my own altcoin basic bitcoin

in my virtualbox use ubuntuA, ubuntuB

my altcoin.conf
rpcuser = user
rpcpassword=pass
addnode=192.168.0.139
rpcallowip=192.168.0.0/16

netstat -anp |grep 8486
127.0.0.1:8486 -listen
0 ::1:8486 -listen

8486 is my port

and use cpuminer

./minerd -0 127.0.0.1:8486 -u user -p pass -a sha256d --no-longpoll --no-getwork --no-stratum --coinbase-addr =3E~~~~~ -t 4

and return

4 miner threads started using sha256d algorithm
binding thread 0 to cpu0
binding thread 1 to cpu1
binding thread 2 to cpu2
binding thread 3 to cpu3

HTTP request failed the requested url returned error : 500 internal server error
json_rpc_call failed retry after 30 seconds

ㅠㅠ i want make my first genesisblock.. and make my own altcoin.. please help me..
Jump to: