Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Can not connect using websockets example.
Qt 6.11 is out! See what's new in the release blog

Can not connect using websockets example.

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 606 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • mstothM Offline
    mstothM Offline
    mstoth
    wrote on last edited by
    #1

    I'm having trouble with QWebSocket. I am using the client/server websockets example in Qt 5.6 straight out of the box. When I run the server it listens on port 1234 but the client fails to connect. I'm not using the SSL example but the non-SSL case. Below is the output of the client.

    I added a statement to print the error property. I think the qt.network.ssl messages are warnings. (I'm not using ssl, i don't know why it's complaining about that)

    qt.network.ssl: QSslSocket: cannot resolve SSLv2_client_method
    qt.network.ssl: QSslSocket: cannot resolve SSLv2_server_method
    Socket Closed: "Connection refused"

    If anyone has some insight to this I'd love to get some pointers. I have checked other messages about this but haven't found anything that solves my problem yet.

    Thanks, Michael

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved