Hi All,
we encountered a strange issue that is causing headaches to our clients.
We configure the hotspot radius service within a Custom HTML directory and at the first iOs SSID join, a device shows the customised CNA. That’s great, but now the problem.
Once a user comes back again and rejoins the same SSID, no CNA is popped up.
Android seems to work every time.
We have done several tests, even trying what apple calls “Modern Captive portal” https://developer.apple.com/news/?id=q78sq5rv introducing the DHCP Option 114 but without luck.
We tried to remove HTTPS redirect and use HTTP, no fix.
We tried to use local users (no radius), but no fix.
The only way to popup the CNA every time a user needs to join the hotspot is to remove the custom HTML, and this seems to work.
Is it possible to Fix this even on a customized HTML directory? It seems a clear bug to us.
Thank you all.
PS
I forgot to mention that we tried ROS 6.48.6 Long-term and 6.49.6 Stable
Just a quick update, we found that the main cause of this was due to the old HTML template used.
We reset the HTML inside the Mikrotik and with the basic one it works.
We are working to “migrate” our template with the new schema.
Enjoy.
We finally found the cause of all headaches.
There is a file called api.json inside the new standard hotspot folder, that triggers the Apple Cna.
With it, it pops up.
Without it doesn’t.
Please document this in the guides guys, otherwise, engineers like us will get sick.
I can confirm that this is the solution for the latest Apple device login problems.
Just add the api.json (in my case from ros 7.6) to the root of your (custom) hotspot folder.
I have configured the hotspot on the mikrotik with the api.json file.
The mikrotik sends in the DHCP process, the url https://“dns name”/api.
But I don’t see the device (iphone) make an API query to the mikrotik.
In no way can I get the captive portal to jump on some Iphones.
It doesn’t work for me, i’ve reset the hotspot html, then copied the API.Json file to my customized hotspot folder, then copied the customized folder to my routerboard but still apple devices don’t popup the captive portal ?