Hotspot with many users Resource Temporarily Unavailable

Hello,

i am setting up a hotspot/captive portal with >1000 users on a CHR running 7.3.1 and a trial P10 License. With few users inside, everything works as expected, but when I let the mass join the hotspot VLAN, I get an error instead of the captive portal page:

ERROR: Not found
While trying to retrieve the URL http://bla.com

  • Resource temporarily unavailable

[…] Generated […] by MikrotikHttpProxy

I already increased the max. concurrent querys in the DNS config, and the max client/server connections in the web proxy settings.
CPU/RAM Resources on the Hypervisor and the CHR are OK and available

I am surely hitting a limit in the Proxy configuration that generates the captive portal, but I can’t find any settings for that.

Does anyone have any ideas? Thank you!

Nico

Hi Nico, I saw that you commented in my post, and we have a similar problem hehe.
So I am trying a lot of configs without success, the max concurrent clients on hotspot with trial mode that I achieve was is about 1600, but the captive portal response become very slow for about 1000 users. I am installing a CHR and see it was hardware limitations, if I get some results I will post here too.

Only one doubt,
how did you do that? —>. “I am surely hitting a limit in the Proxy configuration that generates the captive portal…”

Hi @camilobom, I have a Support Ticket with Mikrotik regarding this issue and already tested two patches without success. I got confirmed that the developers are still working on a solution.
The Error I get from the Captive Portal webserver is: “Resource Temporarily Unavailable” so I assume that I am filling the reserved RAM either for the Webserver or for Iptables, and that is the Resource that becomes unavailable. But it is just guessing, there is nothing on the logs of the device. My CHR is dying much earlier, with <600 dhcp leases. If I have news to share, I’ll also post here.

Finally I solve my problem!!

I install a CHR on a dedicated server with an intel Xeon Processor and 32 GB RAM. The users now is around 3000!! and keep raising. The captive portal is not slow anymore!

The only explanation that I could imagine, its the CCR has some limitations for specific services like hotspot, where they reserve a hardware limit. I hope mikrotik fix this limitation for their boxes.
I appreciate your help! Thanks.

I Made a Support Ticket and the issue was solved very quickly. Thank you Mikrotik!

Just don’t tell anyone. Keep it your secret.

1 Like

Hi! How you solved this?

Ah, sorry for the misunderstanding, mikrotik made a patch and routeros no longer shows this crash. Running 7.19.2 atm with ~10k hotspot users in peaktime.

Thanks for the answer.

Our client uses a CCR2004-16G-2S+ with firmware 7.20. The problem is persistent. Restarting the router helps temporarily.

I didn't see a solution to this problem in the official changelog for 7.19.x .

Let's try downgrading to 7.18 or 7.19.

Hi,

we run a CHR. The issue was solved in december 2022, this was the last info I got from support:

The particular fix will be included into 7.7 or 7.8!
Sergejs B.

If you need to create a case, you can mention SUP-87508, that is were they fixed that for me.

Good luck!