BitShares Forum
Main => Technical Support => Topic started by: tmbp on September 25, 2014, 05:24:56 pm
-
Hello there!
I have compiled and setup a node to behave like a daemon on my remote server, I have compiled bitshares-ptsd and used the following configs:
server=1
rpcuser=user1
rpcpassword=pass4
rpcport=6003
port=5003
rpcssl=0
When I issue a simple command I get an error:
./bitshares-ptsd getblockcount
error: incorrect rpcuser or rpcpassword (authorization failed)
-
Try:
./bitshares-ptsd -rpcuser=user1 -rpcpassword=pass4 -rpcport=6003 getblockcount
-
you need to kill and restart the pts daemon if you changed the config file AFTER executing the deamon!
-
Try:
./bitshares-ptsd -rpcuser=user1 -rpcpassword=pass4 -rpcport=6003 getblockcount
Nope, still the same
you need to kill and restart the pts daemon if you changed the config file AFTER executing the deamon!
Already tried restarting multiple times
-
you are surely using the right config file? please check if there is another one? .. strange though
-
you are surely using the right config file? please check if there is another one? .. strange though
nano ~/.bitshares-pts/bitshares-pts.conf
server=1
rpcuser=user1
rpcpassword=pass4
rpcport=6003
port=5003
rpcssl=0
What am I missing?
-
you are surely using the right config file? please check if there is another one? .. strange though
nano ~/.bitshares-pts/bitshares-pts.conf
server=1
rpcuser=user1
rpcpassword=pass4
rpcport=6003
port=5003
rpcssl=0
What am I missing?
Try to add in conf file:
rpcallowip=127.0.0.1
-
you are surely using the right config file? please check if there is another one? .. strange though
nano ~/.bitshares-pts/bitshares-pts.conf
server=1
rpcuser=user1
rpcpassword=pass4
rpcport=6003
port=5003
rpcssl=0
What am I missing?
looks about right .. could you try with only these three lines:
server=1
rpcuser=user1
rpcpassword=pass4
-
It seems that I had another daemon listening on the same port despite having specified a different port and rpcport in the file for that daemon.
tl:dr I goofed up
-
tl:dr I goofed up
I know what you mean .. happens to me all the time .. as long as it does burn money its worth learning from the errors :)