"Vpn connection please enter your authentication information." Comes on every restart of device.

I have created a small app that connects to a VPN server. It is working as expected. I have kept "Connect On Demand" enabled. It is working fine but when I reboot the iPhone,a pop-up message comes with "vpn connection please enter your authentication information" and it asks for the password. When I click on cancel in the pop-up it connects to VPN also on entering wrong password or any text it gets connected. This senario is happening on Carrier data network for me. Can anyone please provide me the solution to get rid of this pop-up as this is bothering me.

Replies

when I reboot the iPhone,a pop-up message comes with "vpn connection please enter your authentication information" and it asks for the password.

Does the iPhone has a passcode set on it? If so, temporarily remove the passcode and let us know what behaviour you see then.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"