Issues with external Postgres DB
When I run Coder with the internal DB, it works flawlessly. As soon as I try with an external Postgres database, I get 401 errors such as "the API key is invalid" and 404 errors such as "Resource not found or you do not have access to this resource". Template creation fails with
logs: decode body: invalid character '<' looking for beginning of value
.
The only difference between a working and non working implementation is the CODER_PG_CONNECTION_URL
line.2 Replies
When trying to create a template:
Ok so this is actually solved. I was going through a L2 switch instead of a L3 and somehow even though pfSense is configured the right way, something was blocking 'some' packets. Routed on the L3 switch, it's flawless.
Weird!
Happy you got it solved! I was confused, because we don't have "request_id" in any of our payloads!