hcengineering / hcengineering/huly-selfhost

account service unable to connect to database

Open
#213 24 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
3.5k
Forks
469
PR merge metrics
No merged PRs in 30d

Description

Hi, when wanting to try out Huly for me and my team i followed the steps in the tutorial and did not really change anything (except for adding the print & love service - and setting up OIDC). However i am unable to log in nor sign up as i get a bad gateway error from the /_account service. After inspecting some logs i found out the account container is not able to connect to cockroach.

```
Error while initializing postgres account db PostgresError: password authentication failed for user selfhost
at ErrorResponse (/usr/src/app/bundle.js:67331:31)
at handle (/usr/src/app/bundle.js:67088:11)
at Socket.data (/usr/src/app/bundle.js:66897:13)
at Socket.emit (node:events:518:28)
at addChunk (node:internal/streams/readable:561:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
at Readable.push (node:internal/streams/readable:392:5)
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
severity_local: 'ERROR',
severity: 'ERROR',
code: '28P01',
file: 'auth.go',
line: '395',
routine: 'NewErrPasswordUserAuthFailed'
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.