Skip to content

NetBox v4.0.7 start fails with: "connection failed: connection to server at <ip>, port 5432 failed: session is read-only" #17026

Closed Locked Answered by ngotzmann
ngotzmann asked this question in Help Wanted!
Discussion options

You must be logged in to vote

I fixed the problem with setting externalDatabase.targetSessionAttrs: any.
So my database configurations look like this:

externalDatabase:
  ...
  connMaxAge: 300
  disableServerSideCursors: true
  targetSessionAttrs: any

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ngotzmann
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant