Coder Social home page Coder Social logo

Comments (5)

Bornblack avatar Bornblack commented on May 19, 2024 5

Add this to your code:
import ssl
ssl._create_default_https_context = ssl._create_unverified_context

And uncheck SSL connection from Preferences under system at Windows Device Portal.
Thats my solution!

from hololens2forcv.

kysucix avatar kysucix commented on May 19, 2024

hi @murrdpirate I wasn't able to reproduce your issue. Please try the fix proposed by megansage and let me know if that's fixing your problem.

from hololens2forcv.

murrdpirate avatar murrdpirate commented on May 19, 2024

Unchecking the SSL connection as @MeganSage suggested made it so I can access the recordings via recorder_console.py. And this actually worked immediately - before I attempted to add the 2 lines of code. I still cannot download via the Device Portal, but this is enough for me. Thank you!

from hololens2forcv.

ylsislove avatar ylsislove commented on May 19, 2024

I solved the SSL error according to the above method, but I still cannot download the StreamRecorder data via recorder_console.py. I got the following error: urllib.error.HTTPError: HTTP Error 401: Unauthorized. I checked my username and password to make sure it was correct when I ran recorder_console.py, but I still got Error 401: Unauthorized. My Python version is 3.7.5.

Any idea what is causing the issue? Any help is appreaciated!

from hololens2forcv.

ylsislove avatar ylsislove commented on May 19, 2024

I solved it. I noticed that the IP address for the HoloLens Device Portal in recorder_console.py is 127.0.0.1:10080, but I entered http://127.0.0.1:10080 in the browser, it will be redirected to https://127.0.0.1:10443/. So I changed the self.url in the script to https://127.0.0.1:10443/, and it worked. Now I can download the StreamRecorder data from Hololens! perfect!

My problem may be caused by using USB connection to download data. Maybe connecting Hololens Device Portal with WiFi will not cause my problem.

from hololens2forcv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.