[Authentification] NetworkError when singin on a fresh install
Hello ,
I have an authentification NetworkError when I try to signin on a first use of the app. I wanted to explore the user/admin dashboard to see how it works but I don't have a clue why is generating this error. Also I don't know if there's a username:password for a dummy account I can use.
Note: I'm suspecting the connexion with that database is generating this problem but I read in the .env file it's not mandatory to add the postgres url if running
wasp start db
3 Replies
Hi @Nissou. 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 knowledge sources provided, it seems like you might be encountering a similar issue to what was discussed in the Discord support thread titled "Template Signup Network Error".
The issue might be related to your environment variables. In the
.env.server
and .env.client
files, you should have the correct URLs for your server and client. For example, in the Discord thread, a community member had to add the following to their .env.server
and .env.client
files:
Also, ensure that you have copied .env.server.example
to .env.server
. You can do this via the terminal with cp .env.server.example .env.server
.
If you're using a database, make sure it's running and accessible. In the Github issue titled "Realworld app returning Network Error", the user was unable to reach their database server at localhost:5432
. You might want to check if your database server is running and accessible at the specified location.
If you're still encountering issues, it would be helpful to know more details about the error messages you're seeing. This could help in diagnosing the problem.
Sources:
- Discord support thread: Template Signup Network Error (https://discord.com/channels/686873244791210014/1217758453326680095)
- Github Issue (closed): Realworld app returning Network Error (https://github.com/wasp-lang/wasp/issues/460)
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------
Sorry @Nissou, 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?I resolved the problem :
Because I'm using a virtual machin on my proxmox host to test 😉
I’m glad you figured it out 🙏