Giter VIP home page Giter VIP logo

Comments (8)

kenryu42 avatar kenryu42 commented on July 19, 2024 1

I noticed that FormData was consuming more memory than expected.
To address this, I removed the form-data package and switched to the native Node.js v18 FormData API in version 1.0.6.

As a result, the memory usage was reduced almost by half. Make sure you are now using Node.js version 18 or higher.

If you encounter any issues, please feel free to reach out.

from ethereum-nft-sales-bot.

nazariyv avatar nazariyv commented on July 19, 2024

Just noticed a new error in there:

Fontconfig error: Cannot load default config file: No such file: (null)

Adding a step to install fontconfig to dockerfile.

from ethereum-nft-sales-bot.

nazariyv avatar nazariyv commented on July 19, 2024

Nope, that wasn't it. Same errors around FormData.

from ethereum-nft-sales-bot.

kenryu42 avatar kenryu42 commented on July 19, 2024

Thanks for taking the time to report this issue.

I suspect it's because of the retry in your library, that tries to post the embed to discord multiple times.

Do you have duplicate discord notifications? retry only attempts to post if it has previously failed.

Also, as the readme states, fontconfig is a prerequisite. It is not an error.

I will look into the FormData warning.

from ethereum-nft-sales-bot.

nazariyv avatar nazariyv commented on July 19, 2024

Do you have duplicate discord notifications? retry only attempts to post if it has previously failed.

nope, it does not post anything to discord if ran on ecs. However, it does post to twitter when ran on ecs.

When ran locally, it posts both to discord and twitter.

from ethereum-nft-sales-bot.

nazariyv avatar nazariyv commented on July 19, 2024

updated the traceback with some more details. It starts off with event warnings, and then with a socket hang up after a while.

from ethereum-nft-sales-bot.

nazariyv avatar nazariyv commented on July 19, 2024

feel free to close this, I think it has something to do with ecs networking config...

I just tried this same bot on ec2 instances, and everything works fine.

from ethereum-nft-sales-bot.

nazariyv avatar nazariyv commented on July 19, 2024

Brilliant, thank you!

from ethereum-nft-sales-bot.

Related Issues (14)

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.