alvr-org / alvr-org/alvr-visionos

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

Đang mở
#4 6 bình luận 0 reaction 0 người được giao Xem trên GitHub
feature
Ngôn ngữ chính
Swift
Star
531
Fork
57
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.