microsoft / HoloLens2ForCV

Sample code and documentation for using the Microsoft HoloLens 2 for Computer Vision research.
MIT License
479 stars 144 forks source link

Recorder Console - GetAddrFailed #111

Closed danhugs closed 2 years ago

danhugs commented 2 years ago

Hey all. Using the following command:

python recorder_console.py --dev_portal_address 192.168.10.64 --dev_portal_username dandandan --dev_portal_password dandandan --workspace_path output

Returns error urllib.error.URLError: <urlopen error [Errno 11001] getaddrinfo failed>

Other listed usage does not specify using the dev portal address (as per the documentation here) suggests using the below commands: python StreamRecorderConverter/recorder_console.py --workspace_path <output_folder> --dev_portal_username <user> --dev_portal_password <password>

However, this returns an issue - target machine actively refused the request. Any insights here?

danhugs commented 2 years ago

Resolved this myself:

In recorder_console.py I hardcoded the URL to the device portal URL (In my case, "https://192.168.10.64". I then ran the second usage scenario (path, output, username, password) - and it worked well!

GLARKI commented 1 year ago

That (inserting the IP) solved it partially. Thereafter I got an SSL Certification error. But if you just connect it (HL2) via usb-c, it works like a charm. I no this is a workaround, but I could not fix the certification error and happy it's working. For HL2 and recorder_console, this should suffice.