Unable to join the network "ssid" even after successful connection to the network through NEHotspotConfiguration network

In our application we are triggering auto connection to a network through NEHotspotConfiguration , even though after auto connect success and without any error we are getting pop up saying Unable to join the network "ssid" .What can be the reason for this behaviour?
One non-obvious issue with NEHotspotConfigurationManager is that the error passed to your completion handler tells you whether NEHotspotConfigurationManager accepted your request, it doesn’t tell you whether you actually managed to join the network. You’re not the first person to be bitten by this, and you should feel free to file a bug about it.

Given that reality, the behaviour you’re seeing is expected. The obvious next question is why the network join failed. If you try the same join using Settings \> Wi-Fi, does it work?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
I am able to join network through NEHotspotConfigurationManager but still sometimes see this pop-up.Same with Settings \> Wi-Fi. It does connect to the network but still sometimes show unable to join network "".

Thanks,
RS

Same with Settings > Wi-Fi.

If Settings > Wi-Fi fails in the same way then this clearly isn’t a problem with your NEHotspotConfigurationManager code but rather an incompatibility between iOS and the Wi-Fi access point. There isn’t much you can do to fix this on the iOS side, although than file a bug.

If you do file a bug:
  • Attach Wi-Fi debugging information, per the Wi-Fi for iOS instructions on our Bug Reporting > Profiles and Logs page.

  • Post the bug number here, just for the record.

Is this access point something you control? Like a Wi-Fi accessory built by your company? Or something you got from a fourth party?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
Unable to join the network "ssid" even after successful connection to the network through NEHotspotConfiguration network
 
 
Q