linus625
linus625
WWasp
Created by linus625 on 4/12/2025 in #đŸ™‹questions
Using ssl cert references in DATABASE_URL leads to pgBoss requiring custom cert env data
Im providing a custom ssl cert to the wasp app for postgre connections, which works fine with prisma. The issue arise when pgBoss needs to connect with custom ssl cert, as it is not configurable via the DATABASE_URL like prisma, but instead requires the environment variable PG_BOSS_NEW_OPTIONS to be set with a specific json structure containing binary cert data. This is not secure, and frankly unmanagable. How can this be worked around professionally (without having to manually edit pgBoss.ts file in production)?
16 replies
WWasp
Created by linus625 on 4/12/2025 in #đŸ™‹questions
Wasp app behind reverse proxy does not request correct server url
Im using a custom docker stack with two containers, one node and one nginx with static app files and they are properly built and setup inside their respective containers with all necessary environment variables etc and this setup works for a locally built app with the proper backend urls - like so: https://internaldomain.com/srv/. When deploying to an external host, the frontend static files want to connect to http://waspbackend/auth/me which is the upstream internal target host. I'm curious why my backend seem to provide its internal host name to the frontend, when I have clearly set the url with REACT_APP_API_URL during the build step of the wasp node app. As my current deployment method is seemingly unusual, maybe there is something Im doing wrong here? Please advice.
11 replies
WWasp
Created by linus625 on 3/10/2025 in #đŸ™‹questions
email verification
Hi, I have a wasp + open saas setup with a sendgrid api key to handle email verification, but I do not see any confirmation of emails being sent in the wasp terminal, nor do I see any emails in my inbox. I have setup the sendgrid account according to instructions. I also can't see that the sendgrid::setApiKey() is being called anywhere. I'm running the website locally in dev mode (wasp start). The question is where do I begin checking for errors? For example, am I missing configuration?
14 replies