Search Unity

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

Bug Curl error 1: Protocol "wss" not supported or disabled in libcurl

Discussion in 'Editor & General Support' started by Blenderik, Dec 6, 2023.

  1. Blenderik

    Blenderik

    Joined:
    May 14, 2013
    Posts:
    144
    Curl error 1: Protocol "wss" not supported or disabled in libcurl
    I get this message 1-2 times when connecting to a websocket. The connection works fine, but the error message is annoying and I want to ship an asset, so users get confused.
    I found the same issue with https in the forums, but not wss and the most recent issue was 2018, they said it was fixed.
     
  2. Aurimas-Cernius

    Aurimas-Cernius

    Unity Technologies

    Joined:
    Jul 31, 2013
    Posts:
    3,710
    UnityWebRequest does not support web sockets.
     
  3. Blenderik

    Blenderik

    Joined:
    May 14, 2013
    Posts:
    144
    I am not using webrequests for wss, I am using:
    using System.Net.WebSockets;
    As I said, it works, but I still get the error message, which is annoying.