alvr-org / alvr-org/alvr-visionos

Server not found when running on device due to lack of multicast entitlement

Open
#4 6 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
Swift
Stars
531
Forks
57
PR merge metrics
No merged PRs in 30d

Description

Having some really weird behavior when trying to run on device. Logs look like this:

```
ALVR v20.6.1
hostname: 9977.client.alvr
IP: 10.0.0.189

Cannot connect to the internet
```

Over and over again. Manually adding the device by name and IP from the Windows side does nothing, it never connects. I've confirmed with nmap that the port is open randomly, it seems to only stay open when discovery is happening which is for a few milliseconds. I'm sometimes able to connect like this:

```
robbiet480@Roberts-MBP ALVR % nmap 10.0.0.189
Starting Nmap 7.94 ( https://nmap.org ) at 2024-02-05 23:37 PST
Nmap scan report for AppleVisionPro (10.0.0.189)
Host is up (0.0067s latency).
Not shown: 997 closed tcp ports (conn-refused)
PORT STATE SERVICE
9943/tcp open unknown
49152/tcp open unknown
62078/tcp open iphone-sync

Nmap done: 1 IP address (1 host up) scanned in 5.53 seconds
robbiet480@Roberts-MBP ALVR % telnet 10.0.0.189 9943
Trying 10.0.0.189...
telnet: connect to address 10.0.0.189: Connection refused
telnet: Unable to connect to remote host
robbiet480@Roberts-MBP ALVR % telnet 10.0.0.189 9943
Trying 10.0.0.189...
Connected to applevisionpro.
Escape character is '^]'.
Connection closed by foreign host.
```

I've tried everything to get the local network prompt to pop on device, so far no dice. I even attempted to run a simple HTTP request to a totally unrelated service on the same box running ALVR but it worked fine. The Settings app doesn't show local network access granted. I do get the popup on iOS but only after the app crashes out from a black screen.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.