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

Worker pod is crashing #12

Open
xak47d opened this issue Sep 10, 2024 · 3 comments
Open

Worker pod is crashing #12

xak47d opened this issue Sep 10, 2024 · 3 comments

Comments

@xak47d
Copy link

xak47d commented Sep 10, 2024

The worker app keeps crashing with this error:

System.NotSupportedException: Authentication method not supported (Received: 10)
   at Npgsql.NpgsqlConnector.ParseServerMessage(ReadBuffer buf, BackendMessageCode code, Int32 len, DataRowLoadingMode dataRowLoadingMode, Boolean isPrependedMessage)
   at Npgsql.NpgsqlConnector.DoReadMessage(DataRowLoadingMode dataRowLoadingMode, Boolean isPrependedMessage)
   at Npgsql.NpgsqlConnector.ReadMessageWithPrepended(DataRowLoadingMode dataRowLoadingMode)
   at Npgsql.NpgsqlConnector.HandleAuthentication(String username, NpgsqlTimeout timeout)
   at Npgsql.NpgsqlConnector.Open(NpgsqlTimeout timeout)
   at Npgsql.ConnectorPool.Allocate(NpgsqlConnection conn, NpgsqlTimeout timeout)
   at Npgsql.NpgsqlConnection.OpenInternal()
   at Worker.Program.OpenDbConnection(String connectionString) in /code/src/Worker/Program.cs:line 78
   at Worker.Program.Main(String[] args) in /code/src/Worker/Program.cs:line 19

The image uses the Npgsql postgres client that is unable to authenticate to the database, apparently due to authentication method.

@Vincent990413
Copy link

Vincent990413 commented Sep 10, 2024 via email

@jhonnyV-V
Copy link

check this issue #2

@Blaze27
Copy link

Blaze27 commented Nov 1, 2024

Upgrade the version to v2. Should work.
image: kodekloud/examplevotingapp_worker:v2

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

4 participants