Closed Fr33sson closed 5 months ago
I can't create a server, the password doesn't match. Here are the steps: git clone https://github.com/Zondax/namadexer.git cd namadexer make postgres (By changing the external port to 5435 in the Makefile)
postgres: docker run --name postgres -e POSTGRES_PASSWORD=wow -e POSTGRES_DB=blockchain -p 5435:5432 -d postgres:14
make run_server with the config:
[database] host = "localhost" user = "postgres" password = "Wowow" dbname = "blockchain" port = 5435 # Optional field to configure a timeout if database connection # fails. connection_timeout = 20 create_index = true [server] serve_at = "0.0.0.0" port = 30303 cors_allow_origins = [] [indexer] tendermint_addr = "http://127.0.0.1" port = 26657
Outputs:
Error: DB(Database(PgDatabaseError { severity: Fatal, code: "28P01", message: "password authentication failed for user \"postgres\"", detail: None, hint: None, position: None, where: None, schema: None, table: None, column: None, data_type: None, constraint: None, file: Some("auth.c"), line: Some(335), routine: Some("auth_failed") })) make: *** [Makefile:52: run_server] Error 1
What could be the problem?
You made a typo in your config file. You put password = "Wowow" when it should be password = "wow"
password = "Wowow"
password = "wow"
I can't create a server, the password doesn't match. Here are the steps: git clone https://github.com/Zondax/namadexer.git cd namadexer make postgres (By changing the external port to 5435 in the Makefile)
make run_server with the config:
Outputs:
What could be the problem?