Hi!
I have faced an issue while implementing Network Extension via Packet Tunnel Provider. When the provider tries to create UDP session using createUDPSession method with a server which runs on the same machine, it always got session state as failed. I have tried to host a server on a separate machine. But still the same result.
I have watched the extension logs in Console.
And found next lines:
Could it be problem with entitlements? Do I need some additional configurations to be able to create session with a server.
Thank you for any help!
I have faced an issue while implementing Network Extension via Packet Tunnel Provider. When the provider tries to create UDP session using createUDPSession method with a server which runs on the same machine, it always got session state as failed. I have tried to host a server on a separate machine. But still the same result.
I have watched the extension logs in Console.
And found next lines:
Code Block swift nw_socket_connect [C1:1] connectx failed (fd 5) [1: Operation not permitted] nw_socket_connect connectx failed [1: Operation not permitted] nw_connection_report_state_with_handler_on_nw_queue [C1] reporting state failed error Operation not permitted
Could it be problem with entitlements? Do I need some additional configurations to be able to create session with a server.
Thank you for any help!