Bitcoin Forum
December 14, 2024, 05:32:45 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: cpuminer return 500 internal server error  (Read 208 times)
youngseok (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
May 18, 2020, 06:37:39 AM
 #1

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..
minerja
Sr. Member
****
Offline Offline

Activity: 1249
Merit: 297


View Profile
May 27, 2020, 07: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..
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!