Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RPC username and password syntax #1212

Open
SergioXII12 opened this issue Sep 13, 2022 · 2 comments
Open

RPC username and password syntax #1212

SergioXII12 opened this issue Sep 13, 2022 · 2 comments

Comments

@SergioXII12
Copy link

SergioXII12 commented Sep 13, 2022

Once install and fully synced on Windows 10 with the following config file:

server=1
miningaddress=xxxxmywalletxxx
rpcbind=127.0.0.1:8766
rpcuser=myuser
rpcpassword=mypass
rpcallowip=127.0.0.1
rpcport=8766

it never allows to connect to it. I tried following miner softwares on this PC (T-Rex, NBminer, TTminer):

t-rex.exe -a kawpow -o stratum+tcp://127.0.0.1:8766 -u xxxxmywalletxxx.rigname -p mypass

nbminer -a kawpow -o stratum+tcp://127.0.0.1:8766 -u xxxxmywalletxxx.rigname:mypass

TT-Miner -a kawpow -luck -log -logpool -P http://myuser:[email protected]:8766 /

But none of them able to connect to Raven Core for solo mining.

T-Rex response with:

ERROR: No connection with 127.0.0.1:8766, retry after 10 seconds
WARN: failed to stratum2-subscribe on 127.0.0.1:8766: can't parse json: HTTP/1.1 400 Bad Request

  • Line 1, Column 1
    Syntax error: value, object or array expected.

NBMiner response with:
Failed to login mining pool, please check mining pool username.

Machine specs:

  • OS: Wind 10
  • CPU: 12600K
  • RAM: 16 DDR4
  • Disk size: 2TB
  • Disk Type (HD/SDD): SSD
  • Video: Auros 3090
@Seal-Clubber
Copy link

@lsji07
Copy link
Contributor

lsji07 commented May 2, 2023

Hi, most miners stripped out the code to build blocks etc and connect to a wallet directly for mining. Most miner programs are setup ONLY to connect to a stratum connection of a mining pool.

The above comment and link is pointing you to a stratum interface or proxy between the local Ravencoin node and your mining software.

This specific issue should be closed as is not something that is an error or issue with the core wallet or RPC username and password syntax. I use them daily and the user/password syntax is fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants