Trying to self host in Kubernetes #118

Closed
opened 2026-02-04 17:17:52 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @vitobotta on GitHub (Jul 23, 2021).

Hi! I am trying to set Planka up because it looks awesome :)

I'm using a Postgres instance created with Zalando operator which works fine with several other apps.

But the Planka container doesn't start and throws this error:

/app/node_modules/pg-protocol/dist/parser.js:278
            : new messages_1.DatabaseError(messageValue, length, name);
              ^

error: pg_hba.conf rejects connection for host "10.244.5.122", user "planka", database "planka", SSL off
    at Parser.parseErrorMessage (/app/node_modules/pg-protocol/dist/parser.js:278:15)
    at Parser.handlePacket (/app/node_modules/pg-protocol/dist/parser.js:126:29)
    at Parser.parse (/app/node_modules/pg-protocol/dist/parser.js:39:38)
    at Socket.<anonymous> (/app/node_modules/pg-protocol/dist/index.js:10:42)
    at Socket.emit (node:events:369:20)
    at addChunk (node:internal/streams/readable:313:12)
    at readableAddChunk (node:internal/streams/readable:288:9)
    at Socket.Readable.push (node:internal/streams/readable:227:10)
    at TCP.onStreamRead (node:internal/stream_base_commons:190:23) {
  length: 160,
  severity: 'FATAL',
  code: '28000',
  detail: undefined,
  hint: undefined,
  position: undefined,
  internalPosition: undefined,
  internalQuery: undefined,
  where: undefined,
  schema: undefined,
  table: undefined,
  column: undefined,
  dataType: undefined,
  constraint: undefined,
  file: 'auth.c',
  line: '433',
  routine: 'ClientAuthentication'
}

I'm not familiar with nodejs so I am not sure of how to investigate. Any suggestions? Thanks!

Originally created by @vitobotta on GitHub (Jul 23, 2021). Hi! I am trying to set Planka up because it looks awesome :) I'm using a Postgres instance created with Zalando operator which works fine with several other apps. But the Planka container doesn't start and throws this error: ``` /app/node_modules/pg-protocol/dist/parser.js:278 : new messages_1.DatabaseError(messageValue, length, name); ^ error: pg_hba.conf rejects connection for host "10.244.5.122", user "planka", database "planka", SSL off at Parser.parseErrorMessage (/app/node_modules/pg-protocol/dist/parser.js:278:15) at Parser.handlePacket (/app/node_modules/pg-protocol/dist/parser.js:126:29) at Parser.parse (/app/node_modules/pg-protocol/dist/parser.js:39:38) at Socket.<anonymous> (/app/node_modules/pg-protocol/dist/index.js:10:42) at Socket.emit (node:events:369:20) at addChunk (node:internal/streams/readable:313:12) at readableAddChunk (node:internal/streams/readable:288:9) at Socket.Readable.push (node:internal/streams/readable:227:10) at TCP.onStreamRead (node:internal/stream_base_commons:190:23) { length: 160, severity: 'FATAL', code: '28000', detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'auth.c', line: '433', routine: 'ClientAuthentication' } ``` I'm not familiar with nodejs so I am not sure of how to investigate. Any suggestions? Thanks!
Author
Owner

@vitobotta commented on GitHub (Jul 23, 2021):

Solved by setting PGSSLMODE to no-verify. Thanks :)

@vitobotta commented on GitHub (Jul 23, 2021): Solved by setting PGSSLMODE to no-verify. Thanks :)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/planka#118