'IOS uses the networkextension framework to connect to OpenVPN. The prompt is invalid

I want to connect through OpenVPN. I am using the framework of network extension I configure the request to start connecting and then automatically disconnect. I checked all the groups, but it didn't help

Please help me!

Xcode Version:Version 13.3.1 (13E500a)

iOS Version:iOS 12.4.8

At first, I thought there was a problem with my ovpn configuration file, but I used it on Android PC through this configuration file. VPN can be used normally, so I don't think it's an ovpn configuration problem

This is the output from my console:

enter image description here

enter image description here

enter image description here

enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source