Bitcoin Forum
December 14, 2024, 09:51:12 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: RPC authentication with Bitcoin Core failed (spectre)  (Read 94 times)
conquest1287 (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 1


View Profile
May 07, 2024, 02:35:26 AM
Merited by nc50lc (1)
 #1

Hey, i've been trying to connect spectre to bitcoin core for a few hours now. The rpcpassword=b and rpcuser=a in my config file. On spectre these credentials are rejected when attempting to connect. I cannot understand why, perhaps i am missing something. I am 99% certain the password and user info in the config file is identical to the inputs on spectre.

I'm not sure what else to try. If there is some bug?
conquest1287 (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 1


View Profile
May 07, 2024, 03:24:03 AM
 #2

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.
nc50lc
Legendary
*
Offline Offline

Activity: 2632
Merit: 6512


Self-proclaimed Genius


View Profile
May 07, 2024, 05:48:42 AM
 #3

The password/username's being rejected probably has something to do not installing bitcoin core in the default installation paths.
-snip-
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.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
conquest1287 (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 1


View Profile
May 07, 2024, 07:50:48 AM
 #4

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.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!