Git Product home page Git Product logo

Comments (4)

fitrah-firdaus avatar fitrah-firdaus commented on August 20, 2024

Mas @zainfathoni aku tertarik untuk bagian ini, let me know the detail ya, thanks 🙏

from kelas.rumahberbagi.com.

zainfathoni avatar zainfathoni commented on August 20, 2024

Mas @zainfathoni aku tertarik untuk bagian ini, let me know the detail ya, thanks 🙏

Got it, Mas @fitrah-firdaus. I'll let you know the details by tomorrow. 😉
Thanks a lot for offering your help. 😁 🙏
This is the biggest challenge I have had so far due to my lack of experience in preparing a production-ready database environment. 😅

from kelas.rumahberbagi.com.

fitrah-firdaus avatar fitrah-firdaus commented on August 20, 2024

Mas @zainfathoni, I forgot about this issue🙏 any update from you about the details?

from kelas.rumahberbagi.com.

zainfathoni avatar zainfathoni commented on August 20, 2024

Mas @zainfathoni, I forgot about this issue🙏 any update from you about the details?

I am also sorry for not letting you know, Mas @fitrah-firdaus. I have been putting this task aside until I was rushed to deploy it earlier this week. So I spent some sleepless nights doing it myself manually. 😅
Currently, I'm hosting the app on Vercel with a PlanetScale integration for accessing the production database. However, I've been getting this error notification a few times a day. I think it happens whenever the Vercel serverless function needs to start a new connection with PlanetScale.

500 [kelas.rumahberbagi.com/dashboard/profile?_data=routes%2Fdashboard%2Fprofile%2Findex](http://kelas.rumahberbagi.com/dashboard/profile?_data=routes%2Fdashboard%2Fprofile%2Findex)
2022-03-02T23:52:19.509Z		ERROR	Unhandled Promise Rejection 	{"errorType":"Runtime.UnhandledPromiseRejection","errorMessage":"Error: Can't reach database server at `pi0hy2bratek.ap-southeast-2.psdb.cloud`:`3306`\n\nPlease make sure your database server is running at `pi0hy2bratek.ap-southeast-2.psdb.cloud`:`3306`.","reason":{"errorType":"Error","errorMessage":"Can't reach database server at `pi0hy2bratek.ap-southeast-2.psdb.cloud`:`3306`\n\nPlease make sure your database server is running at `pi0hy2bratek.ap-southeast-2.psdb.cloud`:`3306`.","clientVersion":"3.6.0","errorCode":"P1001","stack":["Error: Can't reach database server at `pi0hy2bratek.ap-southeast-2.psdb.cloud`:`3306`","","Please make sure your database server is running at `pi0hy2bratek.ap-southeast-2.psdb.cloud`:`3306`.","    at /var/task/output/server/pages/node_modules/@prisma/client/runtime/index.js:36261:21"]},"promise":{},"stack":["Runtime.UnhandledPromiseRejection: Error: Can't reach database server at `pi0hy2bratek.ap-southeast-2.psdb.cloud`:`3306`","","Please make sure your database server is running at `pi0hy2bratek.ap-southeast-2.psdb.cloud`:`3306`.","    at process. (/var/runtime/index.js:35:15)","    at process.emit (events.js:412:35)","    at process.emit (/var/task/output/server/pages/node_modules/@remix-run/node/node_modules/source-map-support/source-map-support.js:516:21)","    at processPromiseRejections (internal/process/promises.js:245:33)","    at processTicksAndRejections (internal/process/task_queues.js:96:32)"]}
Unknown application error occurred

Do you happen to know how we can resolve such an issue using this architecture?
Or do you have any other solution proposal to avoid this kind of issue from happening in the first place?

from kelas.rumahberbagi.com.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.