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


#223

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?


#224

yes you should wait until you’re fully synchronised


#225

@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…


#226

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


#227

does peercoind getinfo say anything?


#228

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


#229

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


#230

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


#231

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?


#232

im testing it now


#233

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?


#234

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:


#235

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


#236

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…


#237

are you running it on a raspberry zero?


#238

Nope, a Raspberry Pi Model B


#239

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


#240

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.


#241

Replacement for Peerbox project will be pushed very soon.


#242

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