Are there connection rate limits for self-hosted instances?

Hey,
I am trying to run load tests on my self-hosted instances. I use Grafana K6’s browser extension to perform an E2E-Test and evaluate performance over multiple iterations.
Unfortunately, after a few iterations my embedded test application doesn’t load anymore, and I get the error “This site can’t be reached”. After the test times out and reloads the page, everything works fine for the next few iterations.

I have already monitored resource usage by the docker containers. The tests don’t max out my available resources, and there is a lot of headroom the containers could use.

Is there a connection limit in place which rejects the connection attempts?
My UB instance and the tests all run locally, so the connection limit has to be imposed by the Ui Bakery gateway.

Hi @milan.theiss,

Looks like you need to configure the rate limits. Please check this guide for your reference.

Hey @Kate,
thanks for the reply. Unfortunately, setting rate limits via the mentioned env variables didn’t fix my problem. I still get “ERR_CONNECTION_RESET” errors.
Also, the docu says that by default there is no limit on these options.
Could there be a limit imposed by Nginx (Base for UB gateway)?

@milan.theiss
Let me double-check this with the dev team. I’ll get back to you shortly with an answer

Hi @milan.theiss

Could you please send us the backed logs for analysis? You can send them to my email kate@uibakery.io