Pylons / waitress

Waitress - A WSGI server for Python 3
https://docs.pylonsproject.org/projects/waitress/en/latest/
Other
1.44k stars 164 forks source link

Warning 434 HTTPTooManyRequests #422

Closed Hasirchi closed 11 months ago

Hasirchi commented 11 months ago

I receive the warning 434 I use waitress.serve(app=falcon_app, host="0.0.0.0", port=7021, threads=100) and i get the following warning:

C:\ProgramData\Miniconda3\envs\API\lib\site-packages\waitress\task.py:434: DeprecatedWarning: Calls to HTTPTooManyRequests.init(...) with positional args are deprecated. Please specify them as keyword arguments instead. app_iter = self.channel.server.application(environ, start_response)

Can you tell me how to fix it?

mmerickel commented 11 months ago

I think you've clipped out some of the stacktrace here, the HTTPTooManyRequests code is not coming from waitress - you need to track down the usage of this object in your app or a different dependency and fix it.