-
Hey and GOD bless, first of all i want to say thank you for your help, its much appreciated, i have been stuck on this issue for a while now, just deployed to vercel and also included the ability to work with a deployed version of the db, i am using a mongo client wrapper called Papr js for models and connection, it seems like everything is fine hen i connect to the local db on my machine but as soon as i try to connect to atlas i start getting cors errors this weird because i am using next js and my hono backend is in the same repo as my front end
and my db connection
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
@thendodev Please provide more information and, if possible, screenshots of the errors you're getting. |
Beta Was this translation helpful? Give feedback.
@thendodev I guess there's something on the server side that delays server response. It might be a timeout, database issues, etc.
If you have set a timeout for Axios's HTTP client, try to make it longer.
Also, check the process of logging in from the server side, it might have a delay or something else.