Giter VIP home page Giter VIP logo

Comments (8)

sashimi-ash avatar sashimi-ash commented on May 26, 2024 1

Right now, the problem happens again.

from 3ds-rpc.

MCMi460 avatar MCMi460 commented on May 26, 2024

According to the server's logs, this is only happening to some users. I'm still unaware of why as of yet.

from 3ds-rpc.

MCMi460 avatar MCMi460 commented on May 26, 2024

I believe the reason why would be flask_limiter.util.get_remote_address() returning 127.0.0.1 (have not yet tested to prove), which means that all user-specific IP ratelimits get grouped together for all users using the service, therefore if there is more than one person using the app at any one time, then the rate limit barrier easily gets hit quickly.

from 3ds-rpc.

MCMi460 avatar MCMi460 commented on May 26, 2024

Can confirm – all remote addresses lump to 127.0.0.1.

from 3ds-rpc.

MCMi460 avatar MCMi460 commented on May 26, 2024

An upgrade to flask-limiter==3.1.0 did not work.

from 3ds-rpc.

MCMi460 avatar MCMi460 commented on May 26, 2024

I've figured out the issue and a fix will be committed shortly. The server was, indeed, failing to receive the proper remote addresses of users due to some proxy thing that I pretty much died inside trying to work out, but a phone call and a minor alteration to my nginx file later and it's working now, so that's all that matters, I suppose.
I have been conscious for over sixteen hours now. This should be considered a crime.

from 3ds-rpc.

ItzSwirlz avatar ItzSwirlz commented on May 26, 2024

Still happening for me with 1.0

from 3ds-rpc.

MCMi460 avatar MCMi460 commented on May 26, 2024

Still happening for me with 1.0

This particular issue refers to a problem in which flask limiter (or, as better aptly described, my server) would aggregate all users into one IP, causing almost instantaneous rate limits.

Your problem is likely that you have multiple instances of the app open at once. I suggest checking your system tray and quitting them before waiting for a minute and re-opening the app a singular time.

Please update me if this is not the case, however.

from 3ds-rpc.

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.