microsoft / HoloLens2ForCV

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

Can not connect and download via recorder_console.py of StreamRecorderConverter #118

Closed friederwC closed 2 years ago

friederwC commented 2 years ago

I can access my Holoelens 2 via WiFi and the Windows Device Portal in the browser. This way I can download the recordings of StreamRecorder. However, the provided script for automatic data download does not work.

This is the command I use, with the ip address (172.16.11.158), username and password which works with Windows Device Portal via the browser. For the port number (9000) I tried also with 10080

python recorder_console.py --dev_portal_address '172.16.11.158:9000' --dev_portal_username 'username' --dev_portal_password 'password' --workspace_path 'C:\example'

The error message is:

`Connecting to HoloLens Device Portal...

[...]

TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

[...]

urllib.error.URLError: <urlopen error [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond> ` I also tested with a turned of requirement for SSL (Device Portal - > System -> Preferences) but I get the same error message.

evia100 commented 2 years ago

Try without the port number, It worked for me.

friederwC commented 2 years ago

Removing the port number worked. Thank you!