Need Help with Relay Configurations in My App

Hi,

I’m urgently seeking assistance with an issue in my app development.

The app allows users to control which domains are routed through my relay servers (six server URLs).

However, I’ve encountered a problem: When a single relay configuration (for a single server URL) contains more than 70 domains, only one configuration can be active at a time. If I manually activate another relay configuration (for another server URL), the previously activated one automatically deactivates.

Is there a way to overcome this limitation? Also, is there a maximum amount of domains that can exist across the per-app relays?

I’m referencing the Apple documentation here: https://developer.apple.com/documentation/networkextension/relays

Any guidance or insights into resolving this issue would be greatly appreciated!

Thank you in advance :)

Accepted Answer
When a single relay configuration (for a single server URL) contains more than 70 domains, only one configuration can be active at a time.

We’re not aware of any fixed limits in the NE relay subsystem.

The only thing that rings any bells here is that you can’t activate two different relays that match the same domain. Are you sure that your relays are non-overlapping?

If so, then it’s possible that you’re hitting something that we’re not aware of. My advice in that case is to file a bug with the details. I recommend that you include:

  • A small test project that illustrates the issue

  • A sysdiagnose log taken shortly after reproducing the issue

  • … on a machine with VPN (Network Extension) debugging enabled, as described on our Bug Reporting > Profiles and Logs page

If you do file a bug, please post your bug number, just for the record.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Need Help with Relay Configurations in My App
 
 
Q