How to: Peerbox Support Thread (Updated to v0.6.1)

Ok thanks, I’ve exported the .dat from the GUI Peercoin program and put it under that folder.

Restarted peerbox but now if I do -health it tells:

EDIT: Had error on -balance, I guess it just needs more time to update all the blocks

pi@peerbox:~ $ peerbox -health

Checking if we are on the right chain…
Using peercoin.mintr.org as reference.

(“error: Can’t reach remote API server!”, ConnectionError(ProtocolError(‘Connection aborted.’, gaierror(-2, ‘Name or service not known’)),))
Traceback (most recent call last):
File “/usr/bin/peerbox”, line 443, in
health_check()
File “/usr/bin/peerbox”, line 278, in health_check
r = _check()
File “/usr/bin/peerbox”, line 246, in _check
remote = _remote()
File “/usr/bin/peerbox”, line 222, in _remote
a = requests.get(“https://peercoin.mintr.org/api/block/latest”, timeout=3, verify=False).json()
File “/usr/lib/python2.7/dist-packages/requests/api.py”, line 60, in get
return request(‘get’, url, **kwargs)
File “/usr/lib/python2.7/dist-packages/requests/api.py”, line 49, in request
return session.request(method=method, url=url, **kwargs)
File “/usr/lib/python2.7/dist-packages/requests/sessions.py”, line 457, in request
resp = self.send(prep, **send_kwargs)
File “/usr/lib/python2.7/dist-packages/requests/sessions.py”, line 569, in send
r = adapter.send(request, **kwargs)
File “/usr/lib/python2.7/dist-packages/requests/adapters.py”, line 407, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: (‘Connection aborted.’, gaierror(-2, ‘Name or service not known’))

Looks like a 404 URL, does it matter to anything?

yes you should wait until you’re fully synchronised

@irritant Hi, after that I managed to get everything synchronized and started minting. It went on for a day and I checked it regularly via ssh. This morning I find this error: i’m unable to restart it and I’m stuck in this loop, what can I do? I have already rebooted, restarted, killed the process…

Waiting changes nothing, even rebooting or killing the process and restarting… It can also show up python error stacks for connection error. Does anyone else get this issue? I can only safe mint at random times

does peercoind getinfo say anything?

“peercoind get info” command doesn’t work, did you mean peerbox - info or another param?

maybe ppcoind getinfo
i will try to reproduce your error, when i have a bit more time (soonish)

It now started working again, so the output is quite the same of “peerbox - info”, as soon as it will start showing the “wait some seconds” error I’ll try again and post the output here

Any news in that?
Queetion: is it possibile to see the coin day / probability to mind as it can be seen on the Peerunity GUI client?

im testing it now

i just installed on fresh jessie image and it seems to work fine

wget -O - http://peerbox.me/repo/peerbox.gpg.key | sudo apt-key add -
sudo sh -c "echo 'deb http://peerbox.me/repo jessie main' >> /etc/apt/sources.list.d/peerbox.list"
sudo apt-get update && sudo apt-get install peerbox
peerbox -start

for the coin day / probability you could use the GUI client starting it with
sudo systemctl start ppcoin-qt@pi.service
and look at the minting tab

no problems on this side
can you check the steps you did to install and start peerbox?

They’re precisely the ones stated in the OP, the only thing i did more is to put my wallet.dat and started it

OK for the GUI tab to watch, hoped there was something callable from the terminal, as my RaspberryPI is an headless device with just a network cable connected on :slight_smile:

idk why peerbox -info doesnt work but ppcoind getinfo does, maybe you started ppcoind instead of peerbox? when you start peerbox with peerbox -start it should work, dont know why it is failing for you, ill keep it running for a while to see if it starts bugging

Nope, I’ve killed everything from the processes and started peerbox -start as for documentation, nothing else. But it goes on these random “unresponsive” status where idk what to do, if it’s actually working…

are you running it on a raspberry zero?

Nope, a Raspberry Pi Model B

i think there is an issue with peerbox -info where it tries to reach mintr.org which is offline
ppcoind getinfo still works and minting still works, there probably needs to be made an update for the mintr.org thing

Hey guys,

I’m really sorry for not joining the conversation. For some reason the peertalk mails have all been redirected to the spam folder.

I already implemented a bugfix for the peerbox -info issue and checked it into the github repo, but the fix hasn’t been released right now. I guess it will be deployed with the new strech-ready version of peerbox. I had already started testing the new peercoin version on my pi and it seems to be running quite well. But unfortunately it seems that I have to make some changes in the peerbox script. I hope I have the chance to take care about this topic within the next few weeks.

1 Like

Replacement for Peerbox project will be pushed very soon.

means it doesn’t make sense putting any further effort into it?