Skip to content

Linux-based client will not resolve service #40

@robreuss

Description

@robreuss

I'm attempting to browse for a Bonjour service from a Linux client running on Raspbian Buster on a Raspberry Pi Zero W that is published by an iOS server . Although it finds the service, it does not resolve.

This delegate method is called:
public func netService(_ sender: NetService, didNotResolve errorDict: [String: NSNumber])

The error provided is:
["NSNetServicesErrorCode": -1, "NSNetServicesErrorDomain": 10]

I thought I had this Linux-based client browsing/resolution working under Linux about a year or two ago, although that was with Ubuntu Mate, and perhaps I made a configuration change to that install.

I used avahi-browse to look for the service and it is published:

`Server version: avahi 0.7; Host name: goose.local
E Ifce Prot Name Type Domain

  • wlan0 IPv6 RoverController _RemoteLogging._tcp local
  • wlan0 IPv4 RoverController _RemoteLogging._tcp local
    = wlan0 IPv6 RoverController _RemoteLogging._tcp local
    hostname = [Robs-iPad-Pro.local]
    address = [192.168.86.35]
    port = [63252]
    txt = []
    = wlan0 IPv4 RoverController _RemoteLogging._tcp local
    hostname = [Robs-iPad-Pro.local]
    address = [192.168.86.35]
    port = [63252]
    txt = []
    : Cache exhausted
    : All for now
    `

That same Linux host is itself running a service and iOS devices are able to connect to that no problem.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions