Skip to content

iroh-net: dns resolver issue: "No such file or directory" error on iOS, when running on real hardware #1436

@b5

Description

@b5

iroh works fine in the simulator with the latest stuff, but crashes on an actual iPhone for any iroh-ffi build that references a commit after 93147ac on main

The error I see:

thread 'main-runtime' panicked at 'unable to create DNS resolver: ResolveError { kind: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" }) }', /Users/b5/.cargo/git/checkouts/iroh-6b78e5b19f41ff57/33cf40b/iroh-net/src/dns.rs:5:50

I've stepped through the commits, and have confirmed the issue is introduced in 93147ac, the prior commit is fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingc-irohFunctionality of the core iroh crate.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    ✅ Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions