Multiwoven / multiwoven

🔥🔥🔥 Open Source Alternative to Hightouch, Census, and RudderStack - Reverse ETL & Customer Data Platform (CDP)
https://squared.ai/multiwoven-reverse-etl
GNU Affero General Public License v3.0
721 stars 41 forks source link

CORS error when deploying on Linode (Docker Compose) #188

Closed jdbohrman closed 1 week ago

jdbohrman commented 1 month ago

Describe the bug

I'm following the steps to try and deploy with Docker Compose but I keep running into a perpetual CORS error on Linode:

Access to XMLHttpRequest at 'http://172.105.151.110/:3000/api/v1/signup' from origin 'http://172.105.151.110:8000' 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.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'http://172.105.151.110:8000/sign-up'
  2. Try to sign up
  3. Inspect the page
  4. See error

Expected behavior You get logged in Screenshots

Screenshot 2024-06-14 at 11 03 52 PM

** Cloud

Linode Debian VM

linear[bot] commented 1 month ago

BE-195 CORS error when deploying on Linode (Docker Compose)

AngeloB-AIS commented 4 weeks ago
Screenshot 2024-06-17 at 12 41 53 PM

Hi @jdbohrman , there is a forward slash between the IP address and the port in your VITE_API_HOST variable. Try removing that wherever you are setting it, most likely in the .env file, and redeploy the docker-compose file.