hw-1

Loading .onion on device "The Internet connection appears to be offline"

Loading .onion on device “The Internet connection appears to be offline”

for some reason this bubbled to the top of the thread list today, so I thought I’d post a quick summary of what I’ve since learnt about the issue.

First, RFC 7686 explains that

1
.onion

names are special, in the sense defined by RFC 6761.

By default, iOS has a policy that blocks all traffic associated with that domain, and it’s this policy that’s causing the

1
NSURLErrorNotConnectedToInternet

(-1009) error.

It’s possible to disable this policy deeper in the system [1], but it’s not possible to disable it within a specific app. I haven’t yet come to a conclusion as to whether there’s a solution for lsease’s high-level problem.

Share and Enjoy

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

let myEmail = “eskimo” + “1” + “@apple.com”

[1] Specifically, if you configure a VPN interface with a

SupplementalMatchDomains

property that includes

1
onion

, the policy is disabled for just that interface. See Configuration Profile Reference for more about

1
SupplementalMatchDomains

link:https://developer.apple.com/forums/thread/116033