Wasp

W

Wasp

Join the community to ask questions about Wasp and get answers from other members.

Join

Deploying a Wasp app to a VPS

Hey! I'm trying to deploy the Wasp backend app on Hetzner using Caddy, following these guidelines https://gist.github.com/infomiho/80f3f50346566e39db56c5e57fefa1fe. However, my reverse proxy doesn’t seem to be working. I checked with netstat inside the Docker container, and it looks like no ports are being exposed. Do you have any idea what might be going wrong?...

fly deploy error

i destroyed my fly db app and created another one and attached the db app to my server app. when i run wasp deploy fly deploy i get an error saying that i dont have a database url on the server app but the secret is there. whats causing this? } ] 🚀 Your server app does not have a DATABASE_URL secret set. Perhaps you need to create or attach your database? ...

Automatic Restart by AI Agent and zombie processes

I am a beginner. I use Linux Mint. I understand that the Wasp server restarts with every change. I also know about the wasp clean command, but I’ve been running into a problem: when AI agents reboot the server, it seems to leave zombie processes alive, and the server never properly reboots—it hangs with an error. What is the fix? It requires logging out and logging back in. In short, this removes all zombie processes. However, this is not a practical solution. I have two dangerous commands that can stop the Wasp servers because Ctrl-C is disabled and won't stop the server manually:...

Remove/destroy Wasp Fly.io deployment

I created a simple Wasp app and tested deploying it to Fly.io and it all worked great. As it was just a silly experiment, I'd like to now take down (decommission) the deployment. Is this something I can do through the Wasp CLI, or do I need to use the fly cli directly to do this? Any guidance would be greatly appreciated. Thanks!

CSP Header Issue with Railway Deployment - Need Help with blob: URLs

Hey Wasp team! I'm deploying to Railway using wasp deploy railway and running into a Content-Security-Policy issue. Problem: • When users drag/drop images into my canvas app, browser creates blob: URLs...

api error

im getting a cors error in the browser console. the api is for fetching blog posts. Access to fetch at 'http://localhost:3001/posts' from origin 'http://localhost:3000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.Understand this error service-worker.js:22 Uncaught (in promise) TypeError: Failed to fetch at service-worker.js:22:32Understand this error Access to fetch at 'http://localhost:3001/posts' from origin 'http://localhost:3000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.Understand this error service-worker.js:22 Uncaught (in promise) TypeError: Failed to fetch...

Where is the latest and greatest GCP Cloud Run steps?

Hi all. I see a bunch of guides on how to deploy to various providers like Heroku, Flyio, etc. However, I want to use GCP Cloud run, and I want to deploy to it using GitHub Actions. Where is the latest and greatest documetnation for deploying a wasp app to Cloud Run?...

Is wasp auth really a better alternative when compared with supabase or clerk auth ?

I am finally setting up auth and everyone is either using clerk or supabase for auth. Is there an advantage to using those platforms for auth or wasp auth is just good enough secure enough and stable enough ?

no datasource in schema and schema.prisma empty in .wasp

hi, I've been trying to get wasp to compile with just fresh starter projects or the saas template. However, for the last three days I have been running into the same error and it's driving me insane! I have tried: different version of wasp, of node; fresh installs of wasp and running wasp new; sqlite and postgresql. I have used wasp before and deployed using fly.io especially using version 0.16.0 and wanted to check out 0.18.0 before doing a migration. once again after starting the db by running "wasp start db" it runs using postgresql next when I run "wasp db migrate-dev" or "wasp compile" I get the following output:...

A cleaner web experience for this forum

Hey! I saw this forum uses AnswerOverflow to sync Discord threads to the web. I’m building Paladin, a smoother, cleaner alternative that makes Discord forums easier to browse on the web. It’s free to use and can run alongside AnswerOverflow, so you don’t have to switch anything to try it out. If it’s helpful, I can spin up a version of Paladin on your forum so you can see how it looks for your community. Is there anything about your current setup you’d like improved? I’d love to see if Paladin can help. 😀 Example Paladin preview attached...
No description

Connecting opensaas with Claude Code.

Every time claude code makes some changes, I have to run wasp start again and again to see what changes it actually made. It takes a while and honestly breaks the flow. Is there any better way where changes are instant and I wont have to run wasp db migrate-dev and wasp start 15 times in a day ? PS : I am a pure vibe coder. Before Ai, I could only code print hello world lol. Be kind...

How to make SEO tags different for different pages?

I am wondering how we can make the main.wasp file more context aware? I see my meta titles and descriptions are the same on all of my pages. I recognize we can't change that on a page by page basis, but is there a way to set certain pages to noindex so we aren't penalized for say our login, terms page, etc. having the same meta tags? wasp version is 0.18.0 Thank you!...

How to handle scheduled jobs in a load-balanced Wasp deployment?

Hi Wasp community! 👋 I'm deploying my Wasp application with load balancing using Nginx, and I have a question about scheduled jobs (using PgBoss). My setup:...

wasp deploy fly deploy fail

#14 259.7 npm notice #14 259.7 npm ERR! code ERR_SOCKET_TIMEOUT #14 259.7 npm ERR! network Socket timeout ...

DATABASE_URL not found in fly during deployment

Bug?? wasp deploy fly deploy fails with DATABASE_URL error even though secret exists (v0.15.2) I'm getting a deployment blocker where wasp deploy fly deploy fails with:...

Cannot import a fresh <saas> project.

I am using commands wasp new then it prompts me to add a name. then it says select 1,2,3,4 1 (basic) template works fine but 3 just doesnt loads. Its basically a blank black screen....

Railway Deployment fails with `operation timed out`

Trying to run wasp deploy railway deploy [project-name]. It ends up failling because of a railway failures by the looks of it. Followed the steps to deploy manually and it worked output: ``` ... ✅ --- Database successfully set up. ----------------------------------------------...

http://localhost:3001/auth/me is constantly pending

http://localhost:3001/auth/me is constantly pending and i can't debug that as no errors show in the console

Auth in browser extension

Hello, I'm trying to authenticate my user in browser extension. How is thould be handled. Do we have any docs how to create custom auth like this? Thanks
Next