-
Notifications
You must be signed in to change notification settings - Fork 216
Description
Hello,
I'm trying to set up a minimal manual setup on a Windows machine. I have Bitcoin node running successfully but cannot get NBXplorer running with default settings.
settings.config says
####If Bitcoin Core is running with default settings, you should not need to modify this file#### <-- not true anymore
NBXplorer is defaulting to port 39383 and postgres default port is 5432, which one to use?
When I run simple "dotnet run" I get a message
Unhandled exception. Npgsql.NpgsqlException (0x80004005): No password has been provided but the backend requires one (in SASL/SCRAM-SHA-256)
A password was required by postgres.
Then I run the command
dotnet run --chains=btc --network=regtest --postgres "User ID=postgres;Password=postgres;Host=127.0.0.1;Port=39383;Database=nbxplorer"
Getting error
info: NBXplorer.DatabaseSetup: Postgres services activated
fail: NBXplorer.Indexer.BTC: Unhandled exception in the indexer, retrying in 0 seconds
System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
at System.Net.Sockets.Socket.g__WaitForConnectWithCancellation|285_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
I already tried to follow the extended deployment instructions at https://docs.btcpayserver.org/Deployment/ManualDeploymentExtended/
But the postgres instructions are invalid.
Can anybody tell what's wrong? The current instructions are outdated.