Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

curl_easy_perform() failed: Unsupported protocol (WSS) #13677

Closed
Lifeda92 opened this issue May 16, 2024 · 1 comment
Closed

curl_easy_perform() failed: Unsupported protocol (WSS) #13677

Lifeda92 opened this issue May 16, 2024 · 1 comment
Labels
build not-a-curl-bug This is not a bug in curl WebSocket

Comments

@Lifeda92
Copy link

Lifeda92 commented May 16, 2024

I did this

  1. Downloaded .ZIP from: " https://curl.se/download/curl-8.7.1.zip "
  2. Builded using x86 Native Tools Command Prompt for VS 2019

set RTLIBCFG=static
nmake /f Makefile.vc mode=static vc=15 debug=yes

set RTLIBCFG=static
nmake /f Makefile.vc mode=static vc=15 debug=no

  1. Added all dependends in project in properties.

  2. Try using example code from: " https://curl.se/libcurl/c/websocket.html "

  3. Got error: curl_easy_perform() failed: Unsupported protocol

I expected the following

Success using WSS protocol.

curl/libcurl version

libcurl version libcurl/8.7.1 Schannel WinIDN

operating system

Windows 10

@vszakats
Copy link
Member

WebSocket support is not yet enabled by default.

An option is coming up in 8.8.0 to enable it with this build method:
eb4fe6c #13232

Another way is the option -DENABLE_WEBSOCKETS=ON with CMake.

@bagder bagder added build not-a-curl-bug This is not a bug in curl labels May 16, 2024
@bagder bagder closed this as completed May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build not-a-curl-bug This is not a bug in curl WebSocket
Development

No branches or pull requests

3 participants