Connection refused on signup auth
I have generated app using usemage.ai but when I tried to signup in local development it is not working.
I am getting this error
5 Replies
Hi @akg. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
Based on the information provided in the knowledge sources, it appears you're experiencing a common issue when trying to run a Wasp app generated by usemage.ai (Mage). Several users have reported similar problems with authentication and connection errors. Here's what we can gather from the available information:
1. Database Connection: The error you're seeing might be related to a database connection issue. Make sure you have a running database. You can start a managed dev database by running
wasp start db
Discord support thread (https://discord.com/channels/686873244791210014/1215223623271321661).
2. Docker Requirement: Wasp needs Docker with PostgreSQL to run. If you haven't installed Docker, you'll need to do so Discord support thread (https://discord.com/channels/686873244791210014/1215223623271321661).
3. Generated Code Issues: Sometimes, the AI-generated code from Mage might contain mistakes or incorrect imports, leading to errors Discord support thread (https://discord.com/channels/686873244791210014/1213958217537814640).
4. Environment Variables: Ensure you've set up the correct environment variables, especially if you're using a non-local environment like Gitpod Discord support thread (https://discord.com/channels/686873244791210014/1217758453326680095).
5. Wasp Version: Check your Wasp version by running wasp version
in the terminal. The latest version mentioned in the sources is 0.12.4 Discord support thread (https://discord.com/channels/686873244791210014/1217758453326680095).
To troubleshoot further:
1. Check your terminal for any server errors.
2. Verify that nothing else is running on port 3001.
3. If you're using Gitpod or a similar service, make sure you've properly configured the environment variables and opened the necessary ports.
If you continue to face issues, it would be helpful to share:
- The specific error message you're seeing
- Your Wasp version
- The contents of your terminal when running the app
- The generated app code (you can share it using the "Share" option on usemage.ai)
With this additional information, the Wasp community would be better equipped to assist you in resolving the issue.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------
Sorry @akg, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist:
Perhaps try again in 15mins?It is not working
I think this is CORS ORIGIN error. How to resolve this ?
@akg in the terminal check server logs -> likely server is throwing some errors, and that is why client can't connect.
Make sure you have a .env server file
Wohooo @Bruno Njeru, you just became a Waspeteer level 2!