Skip to content

Conversation

nmathew98
Copy link
Contributor

Describe your changes

Ensure Mongo connection is established before anything and retry if connection fails

The source of buffering timed out seems to be the connection, I think this will fix it

Related: https://www.mongodb.com/community/forums/t/mongooseerror-operation-users-insertone-buffering-timed-out-after-10000ms/143993

Screenshots - If Any (Optional)

Issue ticket number and link - If Any

Checklist before requesting a review

  • I have performed a self-review of my code.

  • Followed the repository's Contributing Guidelines.

  • I ran the app and tested it locally to verify that it works as expected.

  • I have starred the repository.

Additional Information (Optional)

Copy link
Member

@devarshishimpi devarshishimpi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting. The code looks well, I hope this fixes it in production.

@devarshishimpi devarshishimpi merged commit 673af5c into bytemakers:main Oct 9, 2022
@devarshishimpi devarshishimpi added bug Something isn't working v2.0-roadmap Version 2.0 Roadmap hacktoberfest Hacktoberfest hacktoberfest-accepted Hacktoberfest Accepted hacktoberfest2022 Hacktoberfest 2022 labels Oct 9, 2022
@devarshishimpi devarshishimpi added this to the v2.0-roadmap milestone Oct 9, 2022
@devarshishimpi
Copy link
Member

devarshishimpi commented Oct 9, 2022

@nmathew98 It fixed everything including login and all pages of recycle bin and account reset password. But now it's stuck on the notes page. Navigating to other pages works exactly fine.
image

@nmathew98 nmathew98 deleted the 66-stuck-recycling branch October 9, 2022 09:54
@nmathew98
Copy link
Contributor Author

@nmathew98 It fixed everything including login and all pages of recycle bin and account reset password. But now it's stuck on the notes page. Navigating to other pages works exactly fine. image

Ah ok this is a CORS issue I think

@devarshishimpi
Copy link
Member

Also, have shifted the domain name here https://noteslify.stonecss.com
The new changes are running in production.

@devarshishimpi
Copy link
Member

@nmathew98 It fixed everything including login and all pages of recycle bin and account reset password. But now it's stuck on the notes page. Navigating to other pages works exactly fine. image

Ah ok this is a CORS issue I think

Could you help with the fix faster since it's running in production?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working hacktoberfest Hacktoberfest hacktoberfest2022 Hacktoberfest 2022 hacktoberfest-accepted Hacktoberfest Accepted v2.0-roadmap Version 2.0 Roadmap
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants