• Forum has been upgraded, all links, images, etc are as they were. Please see Official Announcements for more information

Sentinel issue

ArbiK

New member
Hello,

I recently updated to 12.1 following the moocowmoo's tutorial 'Updating to 12.1'.

When I am running venv/bin/python bin/sentinel.py it returns the following error message:

Traceback (most recent call last):
File "bin/sentinel.py", line 244, in <module>
main()
File "bin/sentinel.py", line 145, in main
dashd = DashDaemon.from_dash_conf(config.dash_conf)
File "lib/dashd.py", line 36, in from_dash_conf
config_text = DashConfig.slurp_config_file(dash_dot_conf)
File "lib/dash_config.py", line 17, in slurp_config_file
for line in f:
File "/home/ubuntu/.dashcore/sentinel/venv/lib/python2.7/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xef in position 0: ordinal not in range(128)


Does anyone can help with this issue?

Thanks.
 
Make sure your rpc username/password in dash.conf doesn't contain any special characters.
Stop daemon, change username/password accordingly, start daemon, let it sync and then try running sentinel again.
 
Make sure your rpc username/password in dash.conf doesn't contain any special characters
0
Thank you for your answer.

I checked my rpc username and Password do not contain any special characters.

Here is the issue I still face after a full reinstall via dashman:
~/.dashcore/sentinel$ venv/bin/python bin/sentinel.py
-342: non-JSON HTTP response with '401 Unauthorized' from server
Cannot connect to dashd. Please ensure dashd is running and the JSONRPC port is open to Sentinel.

Here is dashman status while still syncing:
~$ ./dashman/dashman status
hostname : XXXXXXXXX
host uptime/load average : 3 days, 1.20 0.89 0.60
dashd bind ip address : XXXXXXXXX
dashd version : 0.12.1.3
dashd up-to-date : YES
dashd running : YES
dashd uptime : 0 days, 0 hours, 02 mins, 44 secs
dashd responding (rpc) : YES
dashd listening (ip) : YES
dashd connecting (peers) : YES
dashd port open : YES
dashd connection count : 8
dashd blocks synced : NO
last block (local dashd) : 182949
(chainz) : 633519
(dash.org) : 633519
(dashwhale) : 633519
(masternode.me) : 633519 - no forks detected
dashd current difficulty : 3277.537677282977
masternode started : NO
masternode visible (local) : NO
masternode visible (ninja) : YES
masternode address : XXXXXXXXX
masternode funding txn : XXXXXXXXX
masternode queue/count : 0/0
masternode mnsync state : MASTERNODE_SYNC_SPORKS
masternode network state :
masternode last payment : XXXXXXXXX
masternode balance : 1000.000000000
Exiting.


Here is my config:
ubuntu@XXXXXXXX:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.2 LTS"


Thanks you.
 
Back
Top