New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iPhone/iPad authentication problem with latest iOS version #432
Comments
Possible causes for this problem is resp.challenge is null。 Trace file /www/ChilliLibrary.js at line 248. if ( typeof (resp.challenge) != 'string' ) { |
Hi, I don't use the embedded mini-portal (I'm using the CGI script)... Is ChilliLibrary.js used with this UAM? Looking on the changes to ChilliLibrary.js, I've find a modification 10 months ago that I don't have (I'm using the 1.4 stable version): |
I've tested the fix in ChilliLibrary.js with no luck. I guess we have to wait and hope that Apple fixes this bug quickly |
exec |
Having similar problems, on IOS 11.4.1. After logging in, the IOS device never gets to the point where it can use the wifi. @sunyitao, I'm not sure what you mean by your last statement. |
I mean, check the user status on the command line, whether it is authorized to pass |
The user is authorized to pass. I've tested several accounts. Still hangs at authentication where other devices are able to get through. |
I do not understand。If the user status is passed, there is no reason to have this problem. |
I agree. Yet iOS hangs. |
Hi, Other captive portals don't have this issue (pfsense for exemple), so there must be a reason for this behaviour and maybe a fix on Coova's side |
No news. I've given up on Coova resolving it. |
Hi, I've been digging on this issue and I found something realy strange about Access-Request packets!
And here's what I see when my Android phone is hitting the "login" button:
As you can see, Service-Type is not th same! It looks like iOS try a MAC authentication request instead of sending username and password. I'm sure this is why iOS devices can't connect using the built-in popup, but I don't know what can cause the issue: bug in iOS, problem with Freeradius, Coova Chilli or the hotspotlogin.php code. |
Hi again, Here's what the debug of Coova Chilli shows when I hit the "login" utton on my iPad:
And what it looks like on my Android phone:
I guess the problem is on Coova Chilli's side, but I can't go further alone as I'm not a developper |
I finally found the problem! I use daloradius' builtin UAM (hotspotlogin.php) and the file js/hotspotlogin.js seems to be the problem because when I empty this file iOS devices are working again! So to fix the problem, I've added a test in index.php
And then I've added a test in js/hotspotlogin.js to bypass the file if it's an iOS device
There is the same problem with Coova Chilli's built-in CGI script, so this fix might also work. |
I tried this method, and it still does not work with iOS devices. Do you think this is due to the fact that CoovaChilli version currently is 1.5 and it uses SSL? How do I debug this? Update, the UAMlisten IP address in Safari can do a login. Not the default login page that pops up. |
Hi,
I'm experiencing authentication problems on latest iOS version (iPhone and iPad):
System is running on Debian with Coova Chilli 1.4.
Works OK with any other devices (tested on Windows, Ubuntu, Android, blackberry, etc.)...
So everything was working very well. With Apple's latest iOS version, it seems broken.
Am I alone or is there a known problem with latest iOS?
Is there any workaround?
Thanks
The text was updated successfully, but these errors were encountered: