Issues with RPC authentication in Bitcoin Core for Spectre

3 replies 369 views
markstakeMember
Posts: 4 · Reputation: 62
#1Dec 5, 2018, 06:32 PM
Hey folks, I've been struggling to get Spectre linked up with Bitcoin Core for a few hours now. I've set rpcpassword=b and rpcuser=a in my config file. But when I try to connect through Spectre, it keeps rejecting those credentials. I can't figure out what’s going wrong, seems like I might be missing something. I'm pretty sure the user and password in the config match what I'm putting into Spectre. Not sure what my next steps should be. Is there a bug or something?
5 Reply Quote Share
markstakeMember
Posts: 4 · Reputation: 62
#2Dec 6, 2018, 12:02 AM
I reinstalled the bitcoin using the default paths, keeping the data folder on a separate hdd. Spectre automatically detected the software. Everything is working fine. The password/username's being rejected probably has something to do not installing bitcoin core in the default installation paths. I would recommend installing bitcoin core in the default installation path. Once installed, from within the software change the directory of the data folder to your alternative hdd. This way Spectre still automatically detects bitcoin core and you dont fill up your sdd or m2 card with the blockchain. Maybe this helps someone new, like myself, when installing and connecting these programs for the first time.
2 Reply Quote Share
gr3g.0rbitHero Member
Posts: 1025 · Reputation: 2646
#3Dec 6, 2018, 02:56 AM
I don't know why that worked-out for you but I've tried to reproduce this by using Bitcoin Core installed on a non-default directory and Spectre connected to it just fine. My best guess is it had something to do with your previous installation's setup Like for example, if you haven't set a custom data directory in the welcome screen but set rpcuser and rpcpassword to the bitcoin.conf file in the custom datadir instead of the one in the default data dir. But since its GUI settings are now overwritten by the reinstall, we don't have a way to confirm if that's the case.
4 Reply Quote Share
markstakeMember
Posts: 4 · Reputation: 62
#4Dec 6, 2018, 04:58 AM
Nothing about my problem made sense to me. I originally installed it in F://bitcoin wherein there was two independent bitcoin.conf files. One in the install path and the other in the data directory. I did edit both during those few hours I was trying to figure out the issue. The config file opened through the gui was the one in the data directory. The password and user was the same as spectre. Spectre did not automatically detect, nor did it accept my password or user info. Yeah maybe there is no way to tell exactly what the problem was or why this solved it since technically I have two copies of bitcoin core installed. The newer installation, now located on my C drive which just points to the data directory on my F.
4 Reply Quote Share

Related topics