Bitcoin Forum
May 04, 2024, 04:25:50 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: cpuminer return 500 internal server error  (Read 170 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..
1714839950
Hero Member
*
Offline Offline

Posts: 1714839950

View Profile Personal Message (Offline)

Ignore
1714839950
Reply with quote  #2

1714839950
Report to moderator
"In a nutshell, the network works like a distributed timestamp server, stamping the first transaction to spend a coin. It takes advantage of the nature of information being easy to spread but hard to stifle." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714839950
Hero Member
*
Offline Offline

Posts: 1714839950

View Profile Personal Message (Offline)

Ignore
1714839950
Reply with quote  #2

1714839950
Report to moderator
minerja
Sr. Member
****
Offline Offline

Activity: 1248
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!