movementlabsxyz / movement

The Movement Network is a Move-based L2 on Ethereum.
Apache License 2.0
82 stars 65 forks source link

Failure to create indexer DB client #843

Closed andygolay closed 1 week ago

andygolay commented 1 week ago

Describe the bug In the bridge process compose log, the following warning appears:

WARN bridge_service: Failed to create indexer db client:
Failed to connect to postgresql instance: missing "=" after ""postgresql://
postgres:password@localhost:5432"" in connection info string

This results in events and actions not being indexed:

WARN bridge_service: No indexer db client found. Event not indexed
WARN bridge_service: No indexer db client found. Action not indexed

To Reproduce

CELESTIA_LOG_LEVEL=FATAL CARGO_PROFILE=release CARGO_PROFILE_FLAGS=--release  nix develop --extra-experimental-features nix-command --extra-experimental-features flakes --command bash  -c "just bridge native build.setup.eth-local.celestia-local.bridge.bridge-indexer --keep-tui"

Expected behavior

0xmovses commented 1 week ago

I believe there is a PR for this one moment

0xmovses commented 1 week ago

https://github.com/movementlabsxyz/movement/pull/824 will merge this

l-monninger commented 1 week ago

The above logs are valid behavior, but you should not include quotes around your connection string. Both were already addressed in #821 and should be on main.

l-monninger commented 1 week ago

Confirmed, closing.