Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question [2022.3.5f1] Curl 7 error occurs when running an app using OpenXR Plugin on Quest 2

Discussion in 'VR' started by gtk2k, Jul 28, 2023.

  1. gtk2k

    gtk2k

    Joined:
    Aug 13, 2014
    Posts:
    284
    (I don't know where to post this issue, so I'll post it on the VR forums)
    When I build and run the app with his OpenXR plugin for Unity XR plugin made with Unity 2022.1.7f1 on Quest 2, UnityWebRequest works fine (I can connect to internet). However, when I update this project to Unity 2022.3.5f1 and build and run it on Quest 2 as well, I get
    "curl error 7: Failed to connect to localhost port 443"
    I get an error that I can't connect to the internet.
    Has anyone experienced a similar phenomenon?
    If anyone knows how to deal with this issue please let me know.
     
  2. apkdev

    apkdev

    Joined:
    Dec 12, 2015
    Posts:
    277
    I keep getting this error in the middle of my editor log on CI builds, no stack trace (probably direct console write instead of an engine log). Incredibly frustrating.

    Curl error 7: Failed to connect to localhost port 443 after 2231 ms: Connection refused


    Exact same Unity version, so I'm assuming this is related.

    Note that my app does not use any VR/XR features.
     
    Last edited: Aug 19, 2023